Support for branches and MPs as a ticket source

Bug #1312271 reported by Francis Ginther
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine

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": "", "revision": "123", "target": "lp:project-name", "target_revision": "120"}' http://localhost:8000/api/v1/updatemp/1/

The publisher can get the MPs and revisions from the fullticket API.

Related branches

description: updated
description: updated
description: updated
description: updated
Changed in uci-engine:
importance: Undecided → High
Evan (ev)
Changed in uci-engine:
assignee: nobody → Ursula Junque (ursinha)
Ursula Junque (ursinha)
Changed in uci-engine:
status: New → In Progress
Revision history for this message
Celso Providelo (cprov) wrote :

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.

Ursula Junque (ursinha)
Changed in uci-engine:
assignee: Ursula Junque (ursinha) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers