Skip to content

Instantly share code, notes, and snippets.

@ralphbean
Created December 17, 2015 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ralphbean/bc601f9b211789217d66 to your computer and use it in GitHub Desktop.
Save ralphbean/bc601f9b211789217d66 to your computer and use it in GitHub Desktop.
one, but not the other...
+ set -xv
+ HOME=/srv/git
+ gitolite access -s python-ansi2html ralph W master
legend:
d => skipped deny rule due to ref unknown or 'any',
r => skipped due to refex not matching,
p => skipped due to perm (W, +, etc) not matching,
D => explicitly denied,
A => explicitly allowed,
F => denied due to fallthru (no rules matched)
r gitolite.conf:5 - VREF/update-block-push-origin = @all
p gitolite.conf:7 R = @all
F (fallthru)
W refs/heads/master python-ansi2html ralph DENIED by fallthru
+ HOME=/srv/git
+ gitolite access -s rpms/python-ansi2html ralph W master
legend:
d => skipped deny rule due to ref unknown or 'any',
r => skipped due to refex not matching,
p => skipped due to perm (W, +, etc) not matching,
D => explicitly denied,
A => explicitly allowed,
F => denied due to fallthru (no rules matched)
r gitolite.conf:5 - VREF/update-block-push-origin = @all
p gitolite.conf:7 R = @all
r gitolite.conf:23 RWC f21 = ralph @provenpackager
r gitolite.conf:24 RWC f22 = ralph @provenpackager
r gitolite.conf:25 RWC f23 = ralph @provenpackager
A gitolite.conf:26 RWC master = ralph @provenpackager
refs/heads/master
@admins = somepeople
@provenpackager = someotherpeople
repo @all
- VREF/update-block-push-origin = @all
RWC = @admins
R = @all
repo python-ansi2html
RWC f21 = ralph @provenpackager
RWC f22 = ralph @provenpackager
RWC f23 = ralph @provenpackager
RWC master = ralph @provenpackager
- f[0-9][0-9] = @all
- epel[0-9] = @all
- epel[0-9][0-9] = @all
- el[0-9] = @all
- olpc[0-9] = @all
RWC refs/tags/ = ralph @provenpackager
RWC = ralph @provenpackager
repo rpms/python-ansi2html
RWC f21 = ralph @provenpackager
RWC f22 = ralph @provenpackager
RWC f23 = ralph @provenpackager
RWC master = ralph @provenpackager
- f[0-9][0-9] = @all
- epel[0-9] = @all
- epel[0-9][0-9] = @all
- el[0-9] = @all
- olpc[0-9] = @all
RWC refs/tags/ = ralph @provenpackager
RWC = ralph @provenpackager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment