Add option to trigger snap builds when top-level branch changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Colin Watson |
Bug Description
We'd like to have an option to automatically trigger snap builds when the top-level branch changes. Evan asked for this in connection with the Jenkins snap, but it's come up before as well. At the moment the best we can offer is that people can automate this externally using the API, which isn't nothing, but it's a wart if we want to be able to give upstream developers something very easy to manage.
The reason I didn't include auto-build support initially was that it was prohibitively difficult to tell when any of the components that go into a snap have changed, and this is still true. But we probably shouldn't let the perfect be the enemy of the good here; we can always extend it later.
Related branches
- William Grant (community): Approve (db)
-
Diff: 22 lines (+18/-0)1 file modifieddatabase/schema/patch-2209-69-4.sql (+18/-0)
- William Grant (community): Approve (code)
-
Diff: 505 lines (+302/-17)5 files modifiedlib/lp/services/config/schema-lazr.conf (+4/-0)
lib/lp/snappy/interfaces/snap.py (+31/-0)
lib/lp/snappy/model/snap.py (+93/-8)
lib/lp/snappy/tests/test_snap.py (+159/-4)
lib/lp/testing/factory.py (+15/-5)
- William Grant (community): Approve (code)
-
Diff: 464 lines (+179/-18)15 files modifiedcronscripts/request_daily_builds.py (+7/-3)
database/schema/security.cfg (+7/-0)
lib/lp/code/configure.zcml (+3/-0)
lib/lp/code/interfaces/branch.py (+4/-1)
lib/lp/code/interfaces/gitrepository.py (+10/-2)
lib/lp/code/model/branch.py (+6/-2)
lib/lp/code/model/gitrepository.py (+7/-2)
lib/lp/code/model/tests/test_gitrepository.py (+38/-0)
lib/lp/code/scripts/tests/test_request_daily_builds.py (+31/-3)
lib/lp/code/subscribers/git.py (+1/-0)
lib/lp/codehosting/scanner/bzrsync.py (+5/-1)
lib/lp/codehosting/scanner/tests/test_bzrsync.py (+27/-0)
lib/lp/snappy/interfaces/snap.py (+7/-2)
lib/lp/snappy/model/snap.py (+5/-2)
lib/lp/snappy/tests/test_snap.py (+21/-0)
- Thomi Richards (community): Approve
- Launchpad code reviewers: Pending requested
-
Diff: 232 lines (+66/-19)4 files modifiedlib/lp/snappy/browser/widgets/snaparchive.py (+19/-7)
lib/lp/snappy/browser/widgets/tests/test_snaparchivewidget.py (+45/-12)
setup.py (+1/-0)
versions.cfg (+1/-0)
- Thomi Richards (community): Approve
- Launchpad code reviewers: Pending requested
-
Diff: 797 lines (+426/-43)10 files modifiedlib/lp/snappy/browser/snap.py (+58/-5)
lib/lp/snappy/browser/tests/test_snap.py (+77/-1)
lib/lp/snappy/configure.zcml (+2/-0)
lib/lp/snappy/help/snap-build-frequency.html (+42/-0)
lib/lp/snappy/javascript/snap.edit.js (+25/-6)
lib/lp/snappy/javascript/tests/test_snap.edit.html (+90/-1)
lib/lp/snappy/javascript/tests/test_snap.edit.js (+35/-2)
lib/lp/snappy/templates/snap-edit.pt (+36/-18)
lib/lp/snappy/templates/snap-index.pt (+25/-0)
lib/lp/snappy/templates/snap-new.pt (+36/-10)
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
r13481 in db-stable (http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ db-stable/ revision/ 13481) is part of this bug's fix.