Permalink
Commits on Nov 17, 2009
  1. update hook: 'sub check_ref' to prepare for rebel+

    Sitaram Chamarty committed Nov 16, 2009
    factor out the code to check $ref into a sub; will help rebel+, which
    wants (horrors!) to restrict based on PATH names too!
Commits on Nov 13, 2009
  1. all src: (please read full commit message): allow local admin-defined…

    Sitaram Chamarty committed Nov 12, 2009
    … hooks
    
    You can now add your own hooks into src/hooks/ and they get propagated
    along with the update hook that is present there now.  Please read the
    new section in the admin document, and make sure you understand the
    security implications of accidentally fiddling with the "update" script.
    
    This also prompted a major rename spree of all the files to be
    consistent, etc.  Plus people said that the .sh and .pl suffixes should
    be avoided (and I was feeling the same way).  I've also been
    inconsistent with that "gl-" prefix, so I cleaned that up, and the 00-
    and 99- were also funny animals.
    
    Time to get all this cleaned up before we get 1.0 :)
    
    So these are the changes, in case you're looking at just the commit
    message and not the diffstat:
    
        src/pta-hook.sh -> src/ga-post-update-hook
        src/conf-convert.pl -> src/gl-conf-convert
        src/00-easy-install.sh -> src/gl-easy-install
        src/99-emergency-addkey.sh -> src/gl-emergency-addkey
        src/install.pl -> src/gl-install
        src/update-hook.pl -> src/hooks/update
  2. Merge branch 'gitweb-descriptions'

    Sitaram Chamarty committed Nov 13, 2009
Commits on Nov 12, 2009
  1. compile: writing description file should be conditional

    Sitaram Chamarty committed Nov 12, 2009
  2. doc/2: add docs for gitweb description, plus some minor cleanup

    Sitaram Chamarty committed Nov 12, 2009
  3. compile: added repo descriptions

    Sitaram Chamarty committed Nov 12, 2009
    example line in config file:
    
    gitolite = "fast, secure, access control for git in a corporate environment"
  4. doc/6: added two keys explanation and workaround

    Sitaram Chamarty committed with Sitaram Chamarty Nov 12, 2009
Commits on Nov 7, 2009
  1. new program for emergency addkey; run without args for usage

    Sitaram Chamarty committed Nov 7, 2009
Commits on Nov 6, 2009
  1. (please read full commit message) upgrade behaviour changed

    Sitaram Chamarty committed Nov 6, 2009
        **upgrades no longer touch the config or the keydir**
    
    When you first install gitolite, the easy install script has to do two
    *distinct* things:
    
      * install the software
      * create and seed the gitolite-admin repo with a minimum config file
        and the newly created pubkey
    
    That's fine for an install, because nothing exists yet anyway.
    
    Subsequent invocations of the script should only do the first task (so
    that gitolite itself can be upgraded), and not attempt to fiddle with
    the config file and pubkeys.
    
    Unfortunately, until now I had not been separating these two activities
    cleanly enough.  For instance, the commit message for 8e47e01 said:
    
        IMPORTANT: we assume that $admin_name remains the same in an upgrade
        -- that's how we detect it is an upgrade!  Change that name or his
        pubkey, and you're toast!
    
    Ouch!
    
    So now I decided to clean things up.  The "Usage" message tells you
    clearly what to do for an upgrade.
    
    Should have been like this from the beginning, but hey we got there
    eventually :)
    
    ----
    
    Code-wise, this is a major refactor of the easy install script.  It uses
    an old forgotten trick to get forward refs for bash functions ;-) and in
    the process cleans up the flow quite a bit.
  2. easy install: handle upgrades specially

    Sitaram Chamarty committed with Sitaram Chamarty Nov 5, 2009
      - "it's an upgrade" is decided by presence of gitolite.conf (not a pubkey)
      - admin_name optional (and will be ignored if given) for upgrades
    
    plus a lot of comments and some minor text changes
Commits on Nov 5, 2009
  1. compile: death should be a little louder and clearer :)

    Sitaram Chamarty committed Nov 3, 2009
  2. doc/6: rename the file, change focus completely

    Sitaram Chamarty committed with Sitaram Chamarty Nov 3, 2009
  3. doc/1: fix formatting problem on github

    Sitaram Chamarty committed with Sitaram Chamarty Nov 5, 2009
    (local mkd worked fine... weird!)
Commits on Oct 30, 2009
  1. doc/src: major doc/help text revamp

    Sitaram Chamarty committed Oct 30, 2009
    also removed some dead code from compile (pre PTA days)
  2. Merge branch 'gh-issue-2' into pu

    Sitaram Chamarty committed Oct 30, 2009
  3. easy install: clean up after yourself :)

    Sitaram Chamarty committed Oct 30, 2009
  4. doc/6: explain that all this is *only* for the admin

    Sitaram Chamarty committed Oct 30, 2009
  5. compile: (gh issue 2) apparently pubkeys don't always end in a newline

    Sitaram Chamarty committed Oct 23, 2009
    I've never encountered this but it's an easy fix
  6. auth: make ".git" at the end optional

    Sitaram Chamarty committed with Sitaram Chamarty Oct 29, 2009
  7. easy install: cleaned up the closing credits; err I mean instructions :)

    Sitaram Chamarty committed with Sitaram Chamarty Oct 29, 2009
Commits on Oct 28, 2009
  1. auth, doc/3: print useful information when no command given

    Sitaram Chamarty committed with Sitaram Chamarty Oct 28, 2009
  2. easy install: save version info, print upgrading message

    Sitaram Chamarty committed with Sitaram Chamarty Oct 28, 2009
  3. doc/3: add section on unexpected gitwebauth good-ness!

    Sitaram Chamarty committed with Sitaram Chamarty Oct 27, 2009
  4. Merge branch 'system-install'

    Sitaram Chamarty committed Oct 28, 2009
Commits on Oct 25, 2009
  1. doc/install: document the new -q flag

    Sitaram Chamarty committed Oct 25, 2009
  2. easy install: add "-q" option for experts; see usage message

    Sitaram Chamarty committed Oct 25, 2009
  3. install and compile: learnt a '-q' flag (not for manual use!)

    Sitaram Chamarty committed Oct 25, 2009
    ...only for easy install to use in "quiet" mode
  4. the rc file can now be in one of 2 places...

    Sitaram Chamarty committed Oct 25, 2009
    Packaging gitolite for debian requires the rc file to be in /etc/gitolite.
    But non-root installs must still be supported, and they need it in $HOME.
    
    This means the rc file is no longer in a fixed place, which needs code to find
    the rc file first.  See comments inside new file 'gitolite.pm' for details.
    
    The rest of the changes are in the other programs, to replace the hard-coded
    rc filename with a call to this new code.
Commits on Oct 23, 2009
  1. rc, pta-hook/doc: don't assume $HOME of 'git' user is /home/git

    Sitaram Chamarty committed Oct 23, 2009
    (Thanks to Jerome Arbez-Gindre)
  2. allow a/b/c type repos to be created

    Sitaram Chamarty committed Oct 23, 2009
Commits on Oct 21, 2009
  1. added doc/6: more complex ssh setups

    Sitaram Chamarty committed Oct 21, 2009
  2. ...because writing in crayon wasn't possible :)

    Sitaram Chamarty committed Oct 21, 2009
    [long story...!]
Commits on Oct 14, 2009
  1. doc fixes...

    Sitaram Chamarty committed Oct 14, 2009
      - README: add a "what" section first, plus a few minor fixes
      - doc/5:
          - remove reference to obsolete ml branch URL; point it to the right
            place with the right section name
          - change text to reflect the fact that p-t-a is now the default!