Support for branches and MPs as a ticket source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
In Progress
|
High
|
Unassigned |
Bug Description
A ticket needs to track of MPs in addition to source packages. This includes the MP itself, the revision of the linked branch, the merge target and the merge target revision.
A ticket may contain multiple branches which could target different trunks (i.e. 3 MPs target lp:foo, 2 MPs target lp:bar/utopic, etc.)
The MPs will be submitted or updated through the UI. The revision and trunk branch info will come later via the branch source builder (it will take a 'snapshot' of the branch info when the build starts). The publisher will consume this information to determine if the contents have changed.
The branch source builder can get the set of MPs from the fullticket API. It will need an API to specify the remaining details per MP. Something like:
curl --dump-header - -H "Content-Type: application/json" -X PATCH --data '{"MP": "https:/
The publisher can get the MPs and revisions from the fullticket API.
Related branches
- Andy Doan (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Chris Johnston (community): Needs Information
-
Diff: 329 lines (+234/-15)3 files modifiedticket_system/ticket/migrations/0002_uce0.py (+110/-0)
ticket_system/ticket/models.py (+42/-2)
ticket_system/ticket/tests/test_models.py (+82/-13)
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in uci-engine: | |
importance: | Undecided → High |
Changed in uci-engine: | |
assignee: | nobody → Ursula Junque (ursinha) |
Changed in uci-engine: | |
status: | New → In Progress |
Changed in uci-engine: | |
assignee: | Ursula Junque (ursinha) → nobody |
BSB subornate charm was disabled (removed from j-d configs) temporarily because it was consuming a lot of time in deployments for no benefit.
It has to be re-enabled (re-designed really) as part of this task.