10 Commits

Author SHA1 Message Date
Jeremy Stanley
639ec1d17e There is no Project Bootstrappers-core...
...only Project Bootstrappers.

Correct the ACL normalization script oversight which led to this
unfortunate mistake, and clean up the resulting mess.

Change-Id: I391ead734d0cd28277581d54f254718c3e36d4b0
2015-04-24 01:08:11 +00:00
Jeremy Stanley
480330a116 Allow ACL sections to use .*-release group names
These are what the old .*-ptl groups were renamed to last year, for
better clarity.

Change-Id: I4764f6ab7c74adfbdcaba0a12d81a062beb9dc40
2015-04-21 21:22:35 +00:00
Jenkins
5b47a53e6e Merge "Make the unrecognized exception more verbose" 2015-04-03 14:06:34 +00:00
K Jonathan Harker
ca12f2f79d Remove unneeded 'create' from all tags sections
Look for all keys that begin with 'refs/tags' rather than just the
string literal 'refs/tags/*' when removing unneeded create permissions
from tag access sections.

Change-Id: I6dc226065166038700ffd324d354e617596888cb
2015-04-01 10:40:26 -07:00
K Jonathan Harker
c7b2df83ba Make the unrecognized exception more verbose
If the gerrit config normalizer comes across an unrecognized line, add
the bad line to the exception message for debugging.

Change-Id: I60e77a0b50718fb331bad0836ca769f685e6ce93
2015-03-31 14:15:26 -07:00
armando-migliaccio
a3034dfcbe Add openstack-infra to the list of namespaces to check.
Change-Id: I8ff59dccc06df7ab23d13eca6990418f3a547d34
2014-12-19 11:44:03 -08:00
armando-migliaccio
af09d7ca4b Extend ACL checks to OpenStack namespace.
Change-Id: I0ac6ee99391f218fa467b58bf39934c6c68d1808
2014-12-17 14:03:31 -08:00
Andreas Jaeger
d8416301e8 Check that Gerrit ACL files are normalized
Enhance Gerrit ACL check to check that the files are properly
normalized.

Co-Authored-By: Armando Migliaccio <armamig@gmail.com>

Change-Id: I9cdee60e77dab9c6943626d5fa1eda0402840277
2014-12-15 23:04:12 -08:00
Jeremy Stanley
fac5624859 Combine infra/ci core/admin gerrit groups
This is the result of running:

    find modules/openstack_project/files/gerrit/acls/ -type f \
        -name "*.config" -exec ./tools/normalize_acl.py {} 6 \;

Change-Id: I7aa27b859529b2bc8a990d6272334222996cbbc4
2014-06-30 17:30:45 +00:00
Jeremy Stanley
cc06421fb4 Add a script to normalize Gerrit ACLs
* tools/normalize_acl.py: Script which can perform one or more of a
list of normalizing transformations to an ACL file.

Change-Id: I063ab91b6e786eccaee61c669f0e840c7af6be14
2014-06-30 17:22:40 +00:00