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
1 changed files with 3 additions and 2 deletions

View File

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