Allow configuring binary file retention period for live filesystems
Bug #1832477 reported by
Colin Watson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Colin Watson |
Bug Description
We have most of the pieces required to build base images (chroot tarballs and LXD images) for Launchpad builds in Launchpad itself. To make this more practical, it would be helpful to be able to configure the relevant livefs objects to have a longer binary file retention period than the current hardcoded value of one day; this will allow us to install builds that were built more than a day ago.
Related branches
lp:~cjwatson/launchpad/db-livefs-keep-binary-files-interval
- William Grant: Approve (db)
- Stuart Bishop: Pending (db) requested
-
Diff: 14 lines (+10/-0)1 file modifieddatabase/schema/patch-2210-04-0.sql (+10/-0)
lp:~cjwatson/launchpad/livefs-keep-binary-files-interval
- William Grant: Approve (code)
-
Diff: 322 lines (+116/-20)7 files modifiedlib/lp/scripts/garbo.py (+10/-6)
lib/lp/scripts/tests/test_garbo.py (+34/-4)
lib/lp/soyuz/browser/livefs.py (+8/-2)
lib/lp/soyuz/interfaces/livefs.py (+8/-1)
lib/lp/soyuz/model/livefs.py (+31/-4)
lib/lp/soyuz/tests/test_livefs.py (+21/-1)
lib/lp/testing/factory.py (+4/-2)
Changed in launchpad: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
r14098 in db-stable (http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ db-stable/ revision/ 14098) is part of this bug's fix.