gitolite/contrib/adc
Sitaram Chamarty 89b68bf5ca new adc to allow deleting a branch that you created; see below
The need for this comes about as follows:

  - a project may allow its developers "RWC" (or "RW+C") so that they
    can create feature branches when needed.  Note that these are
    *feature* branches, so they can't use the "personal branches"
    mechanism that gitolite already has.

  - the developers are *not* given RWCD (or RW+CD) to prevent accidental
    deletion of an important branch.  Branch *deletion* is something
    that only a few trusted admins can do.

  - as a result, there are sometimes situations where a developer
    creates a misnamed branch and then has to ask the admins to help get
    rid of it.

What the KDE folks wanted was a way to allow the creator of a branch to
be able to delete it.  In addition, they needed this allowed only for a
fixed duration after the creation of a branch, not forever (for the same
reason they don't get RWCD, to prevent accidents).

These are my reasons why this feature is implemented as an ADC instead
of being "in core":

  - we'd need additional syntax to differentiate this special case
    (which is sort of in between RWC and RWCD, if you think about it).

    I'm reluctant to complicate the syntax further for something that is
    only occasionally needed.

  - we'd need either (a) code to parse the log files, or, (b) code to
    maintain "who created this ref" on every push that creates a ref.

      - parsing the log files is too kludgy and inelegant to be in core,
        not to mention potentially very slow for really large projects

      - code to maintain the a history of "who created this ref" is too
        cumbersome, especially because of the need to expire old entries
        after a time.
2011-05-02 07:15:12 +05:30
..
able (minor) bashism fixes, usability fix, for "able" adc 2011-02-25 06:21:13 +05:30
adc.common-functions 'hub' ADC 2011-03-03 15:39:54 +05:30
delete-branch new adc to allow deleting a branch that you created; see below 2011-05-02 07:15:12 +05:30
fork fork adc acquired some good ideas from the KDE folks 2011-02-25 21:15:08 +05:30
get-rights-and-owner.in-perl (minor doc fixes) 2011-02-21 21:25:43 +05:30
git supercool new admin-defined command "git" (disabled by default) 2011-02-10 14:01:08 +05:30
gl-reflog gitolite v2.0rc1 -- please see new developer-notes doc 2011-01-16 07:26:13 +05:30
help a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
hub 'hub' adc request-status subcommand can ask for details by request-number 2011-03-13 16:57:54 +05:30
hub.mkd 'hub' adc request-status subcommand can ask for details by request-number 2011-03-13 16:57:54 +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
perms Added perms PDC to supplement setperms/getperms 2011-01-21 14:14:09 +05:30
pygitolite.py Added perms PDC to supplement setperms/getperms 2011-01-21 14:14:09 +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 gitolite v2.0rc1 -- please see new developer-notes doc 2011-01-16 07:26:13 +05:30
rmrepo a slew of adc changes; details below: 2010-10-28 16:43:04 +05:30
s3backup update s3backup adc to disable pushes first 2011-04-24 15:14:37 +05:30
set-head Added PDC set-head for setting the HEAD ref on a remote branch that you have write access to 2011-01-21 14:14:09 +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 (minor) who-pushed adc falls afoul of egrep incompat between Linux distros! 2011-02-25 06:21:17 +05:30