Sort output for tools/governance_consistency.py

In order to make the output reproducible and allow to track changes more
easily, sort the list of deliverables that is output by this tool.

Change-Id: I6ff9f475a2dda63be148f7076d9ce2ce021b6882
This commit is contained in:
Dr. Jens Harbott 2024-06-21 14:01:41 +02:00
parent 1fb5236069
commit 36b25c6fd4

View File

@ -81,13 +81,15 @@ def main(args=sys.argv[1:]):
print(" (excluding deliverables from " + str(TEAM_EXCEPTIONS) + " team(s)")
print(" and deliverables specifically marked as being externally managed)")
print()
for d in deliv_in_governance(args) - deliv_in_releases(args):
delta1 = deliv_in_governance(args) - deliv_in_releases(args)
for d in sorted(delta1):
print('- ' + d)
print()
print("Defined in deliverable files but not in (active) governance:")
print()
for d in deliv_in_releases(args) - deliv_in_governance(args):
delta2 = deliv_in_releases(args) - deliv_in_governance(args)
for d in sorted(delta2):
print('- ' + d)