Since transition from the EOL model to the EM model eol branches
are no longer removed and this step is no longer in the release team
process.
Keep stale branches can be an issue in some situation especially with
zuul and our gates. To avoid this situation the release team propose
to reintroduce regular checks to ensure that we remove stale branches
that have been tagged eol previously.
As discussed during our previous meetings soon it will be possible to design
a new job and to trigger it to remove eol branches automatically.
This will possible when the infra would have been updated and when all
the needed pieces will be in place.
Change-Id: I53aeb3211bb3251a3278472a514a39afe825cdd2
Cycle-trailing deliverables are regular cycle-following deliverables,
using RCs or not not using RCs -- they just have a different deadline.
Rather than using a release model, those deadline variants are better
described using deliverable types, in much the same way 'library'
deliverables have a specific deadline too.
This simplifies the list of models significantly, and allows to have
proposer validation of trailing deliverables that use RCs or not use
RCs.
For compatibility in old branches, setting 'cycle-trailing' is still
supported, it will just overload the type to 'trailing' if specified.
Change-Id: Ifce88ef3e5dd406f45f25214699f16e736ad5377
These changes fix the `list-deliverables --no-stable-branch` command when
`stable-branch-type` is `none`.
Previously projects with `stable-branch-type: none` was returned in
results.
Project with this type of stable branch should be ignored when we
looking for projects with no stable branche (`no-stable-branch`).
Change-Id: I05c0e7e153e9ddbe5bc3632de9bfdde411ab580d
This allows us to get the list of cycle based projects that have not
branched yet, limited to the ones that are not trailing the actual
release.
list-deliverables --series train --no-stable-branch --cycle-based-no-trailing
Change-Id: Ice9eec1ca086bcf6a642146da74793b0699dbc94
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Allow list_deliverables to filter output to list only deliverables
that have not been released since a given date (--unreleased-since).
This will be useful to compile list of libraries to autorelease at
milestones, or check for cycle-with-intermediary services that may
need a refresh release.
Additionally, if --show-dates is provided, the dates for last releases
(or all releases if -a option is provided) will be retrieved (and
displayed if in verbose mode).
Retrieving release dates is done through querying opendev's API for
tag references and looking at committer dates, so it requires Internet
access and increases command run time. It is only enabled if
--show_dates or --unreleased-since are enabled.
Task: 35684
Change-Id: I00aff6703e85a00572edb363973c92b883a79456
The list of tags associated with a deliverable is rarely useful, and yet
takes up massive horizontal space in verbose mode. In preparation for
adding more columns, make display of tags optional.
Change-Id: Id0946a6bbf86e79a4ba2a613c6950e3dd352cf80
This updates commands and tools to work with the cycle-with-rc model.
Change-Id: I8df85df1c84ae6d8fb37a5206e155f84f8fac947
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Tempest and its plugins do not branch, so we should not list them when
asking which repos have not yet branched.
Change-Id: I1ebc933b613d8e267392aa8931252f762ad338fa
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Don't assume the missing milestone or RC is supposed to be the most
recent tag.
Change-Id: Ib446426e263ccf2dbd0cb92b2819162319acb8f7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
The flag only applies when --all-releases is selected.
Change-Id: I788336180adb32c83b7602b64aeb2ea878c41cb1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This mode was never tested when we switched to using data objects
instead of dictionaries.
Change-Id: Ibada83af91b2bb01fa244fcbf63d8cae709a217d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
An earlier commit tried to make the canonical form of the independent
series name just 'independent', but it did not update the
list-deliverables command. This patch completes the work.
Change-Id: Ie161325f58f762d417031b2b70b57c49d72a2f9f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Now that get_deliverables() returns Deliverable objects instead of
tuples we don't have to turn the tuples into objects.
Change-Id: I83c6da75f6186cf7001baa8e162ad6d5714cc3e7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
An earlier change in the series removed the static data being used for
configuring the command line interface of list-deliverables. Replace
that with something that reads the schema file instead so we only need
to have the settings in one place.
Change-Id: Ib40e3bdff2f127cf5041dfffb03d53c0d1a6f3a0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Some of the previous changes in the series broke assumptions made by
list-deliverables, so fix things.
Change-Id: I703154199de38667801bcfe789cb7a46adf4e53e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
The action is set to append but the default is still None so if --type
is not provided on the command line the option's value isn't iterable
and trying to use it causes an exception.
Change-Id: I17e027088db305fac51a557e7005293d904cf890
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
If the user does not filter on type, or filters on multiple types, show
the type in the verbose output of list-deliverables.
Change-Id: Id4c1f7dcb540f4a15634d6bcd9c1da78792e7d68
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Add a verbose output mode that shows information about all of the
releases for a deliverable, not just the latest.
Change-Id: Ic7bcf135581371f286b2dd2c0d85145fa801e52c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
The check for missing tags was continuing the inner loop instead of
the loop over deliverables.
Change-Id: I8219fa0262a00c402ae1e479260491900d22218e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
If we pass None to .format() it throws an error, so if there is no
release pass '' instead.
Change-Id: I7baff165935833902a49e1ea470cbb7068daeb2c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Add an option for organizing the output based on a characteristic of the
deliverable.
Change-Id: I8275b501cab1be14e7bd3645111ac56314865bfe
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
list_deliverables produces multicolumn output only in verbose mode,
and even in that mode it doesn't contain data about projects and
latest commits.
To simplify automated processing of that data this commit adds --csvfile
parameter to specify that results should be stored in CSV file.
Change-Id: I99af12a2a34d4f913ad4db6c3926e1b1a52a5a45
Provide a way to identify the projects that have pre-releases but no
final releases.
Change-Id: I85d53b27adb21aefa3be13028755e8df6fd4e0b8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
If --deliverable is specified, only show details about that deliverable.
Change-Id: Ic10a01cd9708ae709016eecdcd4e17f594bfca32
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Add columns with extra details about project, if those values are not
being used to filter the rows printed.
Change-Id: If0a2e771ec6420d180ac3e8a4706c295562d0487
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Sometimes we want the repository names, not the deliverable names. Add a
switch to list-deliverables to give that output.
Change-Id: Iaf0cd77237c0b1892aaa0864eb356012c57f036c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Make an easy way to find projects that have not tagged a release
candidate for a series.
Change-Id: I467e14a69901ec5292576a88365804b676903a79
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This argument can be used to query for cycle-with-milestones
deliverables that have not yet tagged a specific milestone.
Also fix a bug in the logic for determining the latest release.
Change-Id: Ibe71cdd60e5ccdd03cec3bc7148c2bafc2bf2c5a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Add a flag to list official deliverables that have not been released in
a series.
Change-Id: I384a0bb13410f26aa38e266ebd805bd64b0c0918
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
list-deliverables is already able to focus on a series. Add a new option
to let it show only items that do not have a stable branch for that
series. This can take the place of some of the tracking we were doing on
the old dashboard.
Change-Id: I57a51b5de9cd289369330a42dbf15003bedac091
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Add a command to print a list of the names of deliverables that match
specified criteria, like having a certain release.
Change-Id: I52844446e288513b0a575c922a83d72f803f9f17
Signed-off-by: Doug Hellmann <doug@doughellmann.com>