-
Notifications
You must be signed in to change notification settings - Fork 7
Sourcery refactored develop branch #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -685,13 +685,13 @@ def build_virtualenv(): | |
| # and that sometimes precludes building python modules. | ||
| bcfile = "/usr/local/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/distutils.cfg" | ||
| vefile = env.venvpath + "/lib/python3.6/distutils/distutils.cfg" | ||
| sec = "build_ext" | ||
| if exists(bcfile): | ||
| brew_config = SafeConfigParser() | ||
| brew_config.read(bcfile) | ||
| venv_config = SafeConfigParser() | ||
| if exists(vefile): | ||
| venv_config.read(vefile) | ||
| sec = "build_ext" | ||
|
maparent marked this conversation as resolved.
|
||
| if (brew_config.has_section(sec) and | ||
| not venv_config.has_section(sec)): | ||
| venv_config.add_section(sec) | ||
|
|
@@ -955,14 +955,14 @@ def update_node(force_reinstall=False): | |
| Install node and npm to a known-good version | ||
| """ | ||
| node_version = '12.18.2' | ||
| npm_version = '6.14.5' | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Function
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. variable related to previous variable, refusing. |
||
| with settings(warn_only=True), hide('running', 'stdout'): | ||
| node_version_cmd_result = venvcmd("node --version") | ||
| if force_reinstall or "v"+node_version not in node_version_cmd_result.split(): | ||
| print(cyan('Upgrading node')) | ||
| #Because otherwise node may be busy | ||
| circus_process_stop('dev:webpack') | ||
| run("rm -rf "+join(env.venvpath, "lib/node_modules")) | ||
| npm_version = '6.14.5' | ||
| venvcmd(f"nodeenv --node={node_version} --npm={npm_version} --python-virtualenv assembl/static") | ||
| with cd(get_node_base_path()): | ||
| venvcmd("npm install --no-save reinstall -g", chdir=False) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -773,12 +773,6 @@ def add_facebook_source_id(inst_ctx, ctx): | |
| # post_id = data.get('post_id', None) | ||
| # fb_post_id = data.get('facebook_post_id', None) | ||
| raise NotImplementedError("TODO") | ||
| post_id = source.sink_post_id | ||
| cs = ContentSourceIDs(source=source, | ||
| post_id=post_id, | ||
| message_id_in_source=fb_post_id) | ||
| yield InstanceContext( | ||
| inst_ctx['pushed_messages'], cs) | ||
|
Comment on lines
-776
to
-781
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Function
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This code is indicative of eventual intent. Stet. |
||
|
|
||
| return (AllUsersCollection(cls), | ||
| AllPubFlowsCollection(cls), | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.