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:
parent
59b828dcb7
commit
b2fb4c281d
@ -95,6 +95,12 @@ def main():
|
|||||||
default=False,
|
default=False,
|
||||||
help='include all cycle-based code repositories',
|
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(
|
parser.add_argument(
|
||||||
'--type',
|
'--type',
|
||||||
default=[],
|
default=[],
|
||||||
@ -213,6 +219,9 @@ def main():
|
|||||||
continue
|
continue
|
||||||
if args.cycle_based and not deliv.is_cycle_based:
|
if args.cycle_based and not deliv.is_cycle_based:
|
||||||
continue
|
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:
|
if args.type and deliv.type not in args.type:
|
||||||
continue
|
continue
|
||||||
if args.no_stable_branch:
|
if args.no_stable_branch:
|
||||||
|
Loading…
Reference in New Issue
Block a user