Merge lp:~codersquid/charms/trusty/python-django/pip-extra-args into lp:charms/python-django
Status: | Work in progress |
---|---|
Proposed branch: | lp:~codersquid/charms/trusty/python-django/pip-extra-args |
Merge into: | lp:charms/python-django |
Diff against target: |
93 lines (+13/-16) 2 files modified
config.yaml (+1/-1) hooks/hooks.py (+12/-15) |
To merge this branch: | bzr merge lp:~codersquid/charms/trusty/python-django/pip-extra-args |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cory Johns (community) | Needs Fixing | ||
Review Queue (community) | automated testing | Needs Fixing | |
charmers | Pending | ||
Review via email: mp+245785@code.launchpad.net |
Commit message
This change adds pip_extra_args functionality. hooks.py now uses the pip_extra_args config option. This allows people to specify useful things like --no-index and --find-links.
Based on the ability of a user to set pip_extra_args:.
* parameters that were getting passed to pip were removed, i.e. --upgrade, --use-mirrors, -b, --src.
* since --upgrade was a default in hooks.py, I set the config default to use --upgrade.
Description of the change
This change adds pip_extra_args functionality. hooks.py now uses the pip_extra_args config option. This allows people to specify useful things like --no-index and --find-links.
Based on the ability of a user to set pip_extra_args:.
* parameters that were getting passed to pip were removed, i.e. --upgrade, --use-mirrors, -b, --src.
* since --upgrade was a default in hooks.py, I set the config default to use --upgrade.
Unmerged revisions
- 35. By Sheila Miguez
-
pip install now uses the pip_extra_args settings from config.
with that in mind, --upgrade, --use-mirrors (which is deprecated), -b, and --src were all removed
Since --upgrade was set to True by default in hooks.py, I set the config default to '--upgrade'.
This items has failed automated testing! Results available here http:// reports. vapour. ws/charm- tests/charm- bundle- test-10877- results