gitolite/contrib/adc
Sitaram Chamarty 5b9bf700cc allow access checks from ADC or hook
For sample code see new file contrib/adc/get-rights-and-owner.in-perl.
Despite the name, you can use similar code in a hook also -- comments in
that file will tell you how.

implementation notes:

  - check_access now takes an optional last arg "dry_run", which is also
    passes through to check_ref
  - check_ref returns a "DENIED by ..." instead of die-ing if dry_run is
    passed in

  - as a side effect, cli_repo_rights is now just a stub calling
    check_access (we kept it hanging around for backward compat -- too
    much adc pain for too many people if we change it now)
2010-12-25 12:40:41 +05:30
..
able gitolite-down: disable write-access to take backups 2010-11-16 22:57:23 +05:30
adc.common-functions a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
fork a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
get-rights-and-owner.in-perl allow access checks from ADC or hook 2010-12-25 12:40:41 +05:30
gl-reflog gl-reflog adc gains 'usage', loses some crappy warnings 2010-10-28 19:34:46 +05:30
help a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
list-trash ADC "rmrepo" replaced by "rm" and "trash", with helper ADCs 2010-10-22 17:43:09 +05:30
lock a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
repo-deletion.README a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
restore a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
restrict-admin remove a few needless bashisms... 2010-06-01 20:07:53 +05:30
rm a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
rmrepo a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
su-expand adc su-expand to allow admin to run 'expand' on other users 2010-10-16 12:22:47 +05:30
sudo (minor glitch in sudo adc) 2010-10-06 22:57:45 +05:30
trash a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
unlock a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
watch added watch ADC (includes documentation), courtesy mitchell@kde.org 2010-11-18 12:40:09 +05:30
who-pushed a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30