Add list-deliverables switch for cycle-based-no-trailing

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>
This commit is contained in:
Sean McGinnis 2019-09-30 14:52:20 -05:00
parent 59b828dcb7
commit b2fb4c281d
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8

View File

@ -95,6 +95,12 @@ def main():
default=False,
help='include all cycle-based code repositories',
)
model.add_argument(
'--cycle-based-no-trailing',
action='store_true',
default=False,
help='include all cycle-based code repositories except cycle-trailing',
)
parser.add_argument(
'--type',
default=[],
@ -213,6 +219,9 @@ def main():
continue
if args.cycle_based and not deliv.is_cycle_based:
continue
if args.cycle_based_no_trailing and (not deliv.is_cycle_based or
deliv.model == 'cycle-trailing'):
continue
if args.type and deliv.type not in args.type:
continue
if args.no_stable_branch: