lp:~hloeung/ubuntu-repository-cache/fix-initial-sync-perms
- Get this branch:
- bzr branch lp:~hloeung/ubuntu-repository-cache/fix-initial-sync-perms
Branch merges
- Paul Collins: Approve (lgtm)
- Canonical IS Reviewers: Pending requested
-
Diff: 39 lines (+5/-3)1 file modifiedlib/ubuntu_repository_cache/metadata_sync.py (+5/-3)
Related bugs
Bug #1680860: Initial metadata sync has bad permissions | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 276. By Haw Loeung
-
Fix metadata sync cron job
We rely on charm-env so the cron job can find dependent
libraries/modules. Unfortunately, with a unit with multiple charms
(subordinates), charm-env fails with 'Ambiguous possibilities for
JUJU_CHARM_DIR'. This fixes that by specifying we want the
'ubuntu-repository- cache' charm and the bundled libraries/modules. Reviewed-on: https:/
/code.launchpad .net/~hloeung/ ubuntu- repository- cache/metadata- sync-cron- charm-env- fixes/+ merge/387088
Reviewed-by: Paul Collins <email address hidden> - 272. By Haw Loeung
-
Remove charmhelpers and backoff
Reactive automatically installs charmhelpers. For backoff, we'll use wheelhouse to install it.
Reviewed-on: https:/
/code.launchpad .net/~hloeung/ ubuntu- repository- cache/charmhelp ers-and- backoff- be-gone/ +merge/ 383843
Reviewed-by: Tom Haddon <email address hidden> - 271. By Haw Loeung
-
Convert to reactive framework
Reviewed-on: https:/
/code.launchpad .net/~hloeung/ ubuntu- repository- cache/convert- to-reactive- framework/ +merge/ 383842
Reviewed-by: Tom Haddon <email address hidden> - 270. By Haw Loeung
-
lib/ubuntu_
repository_ cache: Switch to using unitdata.kv() for persistent storage rather than modifying config context Reviewed-on: https:/
/code.launchpad .net/~hloeung/ ubuntu- repository- cache/lib- unitdata- kv-for- persistent- storage/ +merge/ 383841
Reviewed-by: Tom Haddon <email address hidden> - 269. By Benjamin Allot
-
Reduce the threshold of cache_swap_min and max
Try to reclaim space in the cache more aggrssively, as this is the
main suspected culprit in having an overall cache size getting
higher than the cache_dir size parameter.Reviewed-on: https:/
/code.launchpad .net/~ballot/ ubuntu- repository- cache/cache_ swap/+merge/ 382215
Reviewed-by: Laurent Sesques <email address hidden>
Reviewed-by: Haw Loeung <email address hidden> - 268. By Benjamin Allot
-
Delete the old metadata items befoire syncing the new ones.
Reviewed-on: https:/
/code.launchpad .net/~ballot/ ubuntu- repository- cache/rsync_ before/ +merge/ 382205
Reviewed-by: Barry Price <email address hidden>
Reviewed-by: Haw Loeung <email address hidden>
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu-repository-cache/trunk