Merge lp:~jjo/charms/trusty/glance-simplestreams-sync/use-lockf-to-fix-stale-pidfiles_and_support-juju-proxy-settings into lp:charms/trusty/glance-simplestreams-sync
Proposed by
JuanJo Ciarlante
Status: | Merged |
---|---|
Merge reported by: | James Page |
Merged at revision: | not available |
Proposed branch: | lp:~jjo/charms/trusty/glance-simplestreams-sync/use-lockf-to-fix-stale-pidfiles_and_support-juju-proxy-settings |
Merge into: | lp:charms/trusty/glance-simplestreams-sync |
Diff against target: |
139 lines (+27/-16) 3 files modified
hooks/hooks.py (+6/-3) scripts/glance-simplestreams-sync.cron (+3/-0) scripts/glance-simplestreams-sync.py (+18/-13) |
To merge this branch: | bzr merge lp:~jjo/charms/trusty/glance-simplestreams-sync/use-lockf-to-fix-stale-pidfiles_and_support-juju-proxy-settings |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mike McCracken (community) | Disapprove | ||
charmers | Pending | ||
Review via email: mp+248958@code.launchpad.net |
To post a comment you must log in.
Thanks for the changes! Sorry this took so long to get to.
This charm is currently maintained on github, so I'm going to reject this MP and incorporate the changes there.
The lockf change will go in as-is.
I'm going to alter the change to support proxies though - I'd prefer to just have the python script look for the env file instead of adding another wrapper. I am surprised that the wrapper actually works as-is, because cron doesn't like dashes in names (see https:/ /github. com/Ubuntu- Solutions- Engineering/ glance- simplestreams- sync-charm/ commit/ c93f8b96e56de7a aa8e84a87c024f6 d091137a79 ).
Also, the wrapper as-is doesn't wrap the 'fastpoll' cron job, which still calls the python script directly and will not get the env.