commit aa2550a8bc1d63306ceeca7d6ee7fa72dbd951a8
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Sep 22 22:46:59 2020 +0200
Update genacls.sh files
roles/distgit/templates/genacls.pkgdb | 2 +-
roles/distgit/templates/genacls.sh | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/roles/distgit/templates/genacls.pkgdb
b/roles/distgit/templates/genacls.pkgdb
index e989474..4d14b65 100755
--- a/roles/distgit/templates/genacls.pkgdb
+++ b/roles/distgit/templates/genacls.pkgdb
@@ -34,7 +34,7 @@ if __name__ == '__main__':
'f15', 'f16': 'f16', 'f17': 'f17',
'f18': 'f18', 'f19': 'f19',
'f20': 'f20', 'f21': 'f21', 'f22':
'f22', 'f23': 'f23', 'f24': 'f24',
'f25': 'f25', 'f26': 'f26', 'f27':
'f27', 'f28': 'f28', 'f29': 'f29',
- 'f30': 'f30', 'f31': 'f31', 'f32':
'f32',
+ 'f30': 'f30', 'f31': 'f31', 'f32':
'f32', 'f33': 'f33',
'devel': 'master', 'master': 'master'}
# Create a "regex"ish list 0f the reserved branches
diff --git a/roles/distgit/templates/genacls.sh b/roles/distgit/templates/genacls.sh
old mode 100644
new mode 100755
index a00132b..394979b
--- a/roles/distgit/templates/genacls.sh
+++ b/roles/distgit/templates/genacls.sh
@@ -21,6 +21,14 @@ grep "repo nonfree/" ./gitolite.conf | \
sed 's/repo nonfree\///g' | \
sed "s/.*/'&' => 'nonfree\/&',/g" \
> RepoAliases.pm
+grep "repo rpi/" ./gitolite.conf
| \
+ sed 's/repo rpi\///g' | \
+ sed "s/.*/'&' => 'rpi\/&',/g" \
+ >> RepoAliases.pm
+grep "repo cuda/" ./gitolite.conf | \
+ sed 's/repo cuda\///g' | \
+ sed "s/.*/'&' => 'cuda\/&',/g" \
+ >> RepoAliases.pm
echo "};}1;" >> RepoAliases.pm
# With that done, move the files into place and run compile