From 517d2bcdce19cb43a05b88d611b11f337f475540 Mon Sep 17 00:00:00 2001 From: Thierry Carrez Date: Tue, 9 Jan 2018 18:09:57 +0100 Subject: [PATCH] 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 --- tools/aclmanager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/aclmanager.py b/tools/aclmanager.py index ad4391b925..c8e78c913f 100755 --- a/tools/aclmanager.py +++ b/tools/aclmanager.py @@ -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,