Alpha-order the specific stable section

ACL files changes are now checked for normalization.
Fix aclmanager so that it inserts the stable specific
section at the right place in the file.

Change-Id: Ieeb226645616d7db108336084022eb18347f1409
This commit is contained in:
Thierry Carrez 2018-01-09 18:09:57 +01:00
parent 8728ab60b8
commit 517d2bcdce

View File

@ -121,8 +121,9 @@ label-Workflow = -1..+1 group {group}
skip = True skip = True
continue continue
if line.startswith("[receive]") and not hit: if ((line.startswith("[receive]") or
# We reached the [receive] section: let's place line.startswith('[access "refs/tag')) and not hit):
# We reached the a later section: let's place
# our specific stable section here. # our specific stable section here.
newcontent += blob.format( newcontent += blob.format(
branch=args.series, branch=args.series,