~apw/+git/kteam-tools:swm/generalise-hold-promote-to-updates-blocks-cascade

Last commit made on 2022-07-06
Get this branch:
git clone -b swm/generalise-hold-promote-to-updates-blocks-cascade https://git.launchpad.net/~apw/+git/kteam-tools
Only Andy Whitcroft can upload to this branch. If you are Andy Whitcroft please log in for upload directions.

Branch merges

Branch information

Name:
swm/generalise-hold-promote-to-updates-blocks-cascade
Repository:
lp:~apw/+git/kteam-tools

Recent commits

ff754f4... by Andy Whitcroft

swm: wft/workflow -- generalise hold-promote-to-updates blocks cascade

Allow us to indicate that a source should actually block its parent
kernel in a similar manner to that in which a snap tracker blocks its
parental tracker.

Add a new kernel-series swm tag block-parent-release which allows us
to note that this is such a source.

Signed-off-by: Andy Whitcroft <email address hidden>

4f3187a... by Andy Whitcroft

swm: PPA blocks are less interesting than cycle blocks

We are more interested in deeper cycle blocks than simply being blocked
by the PPA being in use. Reorder detection and reporting to prioritise
these appropriately.

Signed-off-by: Andy Whitcroft <email address hidden>

5571aaa... by Andy Whitcroft

swm: wft/prepare-packages -- PPA blockage is less interesting than in cycle blockage

Signed-off-by: Andy Whitcroft <email address hidden>

d548135... by Andy Whitcroft

swm: package -- pull out ready_to_prepare for reuse

We have master_prepare_ready as a gate on preparation of a source. Pull
this out to the more appropriatly names ready_to_prepare and move it to
Package for later reuse.

Signed-off-by: Andy Whitcroft <email address hidden>

75746b2... by Andy Whitcroft

swm: wft/prepare-package -- PPA blockage is less interesting than in cycle blockage

If we are blocked by our parent we would be nice and quiet until that is
ready. We do not need the PPA because we cannot be built. Do not
report PPA in use until we are actually able to use it.

Signed-off-by: Andy Whitcroft <email address hidden>

8e7a819... by Andy Whitcroft

swm: common source blocks (and add jira blocks)

We have a bunch of places where we check the same tags which indicate
holds on the source preparation; these include manual blocks and those
triggered by trello Blocked lanes. Pull these out so they can be shared.
Add a block reason return so we can report a clear reason in the
dashboard status. Finally add jira related block tags.

Signed-off-by: Andy Whitcroft <email address hidden>

30a154f... by Andy Whitcroft

swm: source-blocks -- ensure mirror flags are updated in all cases

We care very much that the mirror flags are updated to match the current
state when we save the tracker. External processing is relying on those
being accurate to optimise handling. Ensure we write them back on every
status change regardless of whether we scanned against those tags. Note
that if the flag is unchanged then swm-properties remain unchanged and
their save will be avoided.

Signed-off-by: Andy Whitcroft <email address hidden>

4c499f3... by Andy Whitcroft

swm: source-blocks -- switch to a common source_blocks_present and add jira

We are adding support for jira generated blocks. These are going to
come in via tagging. Pull out the three copies of the tag analysis and
commonise it on the WorkflowBug objects. Merge up the old manual
kernel-block-source and kernel-block into this and share to all
locations. Include a clear reason so we can ensure the reasons shown in
the dashboard remain nice and specific.

Signed-off-by: Andy Whitcroft <email address hidden>

7273211... by Andy Whitcroft

swm: add context manager

Add a new context manager object which holds global references to the
various external objects: SruCycle, KernelSeries, and launchpad. Switch
various consumers to the new object.

Signed-off-by: Andy Whitcroft <email address hidden>

ecbd1b9... by Andy Whitcroft

swm: tbt -- supply base ctx connections

Signed-off-by: Andy Whitcroft <email address hidden>