Merge lp:~danilo/charms/trusty/glance-simplestreams-sync/use-upstream-user-agent-support into lp:~landscape/charms/trusty/glance-simplestreams-sync/landscape
Status: | Merged |
---|---|
Merged at revision: | 64 |
Proposed branch: | lp:~danilo/charms/trusty/glance-simplestreams-sync/use-upstream-user-agent-support |
Merge into: | lp:~landscape/charms/trusty/glance-simplestreams-sync/landscape |
Diff against target: |
175 lines (+5/-119) 1 file modified
scripts/glance-simplestreams-sync.py (+5/-119) |
To merge this branch: | bzr merge lp:~danilo/charms/trusty/glance-simplestreams-sync/use-upstream-user-agent-support |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bogdana Vereha (community) | Approve | ||
Geoff Teale (community) | Approve | ||
Review via email: mp+293110@code.launchpad.net |
Description of the change
Drop the monkey-patching approach and use the built-in user-agent support in python-
Testing instructions:
1. Deploy OPL from lp:~danilo/landscape/gs3-simplestreams-from-ppa, enable openstack-
2. Note how everything still works, and even user agent is passed on (I override mirror_list to point at a URL I control [run apache on], and watch for user agent strings)
Note: You'll have to deploy the glance-
+1 Approve.