Commits on Nov 14, 2012
  1. v3.2

    committed Nov 14, 2012
  2. Uggh; horrible inner loop screwing up all performance :-(

    This might actually make the redis version unnecessary for most people!
    And if it does, well shame on me for not instrumenting things at a more
    granular level before going all "oh we need a cache!"
    
    [In my defense, I blame redis for being such a sweet little tool that I
    felt compelled to use it somehow!]
    
    ----
    
    t/sequence failed because the test itself was in error; fixed.
    committed Nov 14, 2012
Commits on Nov 13, 2012
  1. gl-conf must be created even if the repo para has only config lines

    (i.e., no access rules but only config lines)
    gitolite tester committed Nov 13, 2012
Commits on Nov 10, 2012
Commits on Nov 9, 2012
Commits on Nov 8, 2012
  1. some minor rearrangements of code...

    why?  now that would be telling!
    committed Nov 8, 2012
Commits on Nov 7, 2012
  1. move %GL_REPO and %GL_CREATOR substitution into core

    see usage example at the end of src/triggers/upstream
    committed Oct 30, 2012
Commits on Nov 6, 2012
  1. make sure gl-perms exists, even if it is empty...

    I expect this to help if we optimise the rule generation by caching.
    committed Nov 6, 2012
Commits on Oct 31, 2012
Commits on Oct 29, 2012
  1. @tianon
Commits on Oct 27, 2012
  1. (test suite) stop using 'ls' to test for presence/absence of files/di…

    …rectories
    
    another of those "duh!  what was I thinking" moments, this specific one
    being "why test that files/directories are created with the right user
    and group IDs?  Shouldn't that be out of your control, as well as
    totally unnecessary on a sane system?"
    committed Oct 27, 2012
  2. (minor) bash -> sh changes in some non-core code

    /bin/bash is muscle memory for me, although it appears that not too much
    of the actual code is bash-specific, so it's reasonably easy to fix.
    committed Oct 27, 2012
Commits on Oct 10, 2012
  1. @EugeneKay

    Fix spurious error in triggers/upstream

    The initial fetch of a new repo which has 'upstream' read-only mirroring
    configured will cause a spurious error concerning FETCH_HEAD not yet
    existing. This silences the error.
    EugeneKay committed Oct 10, 2012
Commits on Oct 5, 2012
  1. v3.1

    committed Oct 5, 2012
  2. (security) fix bug in pattern to detect path traversal

    while we're about it, add the same check to some of the internal
    routines, so that commands can also be protected.
    
    finally, just to make sure we don't lose it again in some other fashion,
    add a few tests for path traversal...
    committed Oct 5, 2012
Commits on Oct 4, 2012
Commits on Sep 26, 2012
Commits on Sep 25, 2012
  1. dont auto-vivify empty entries in %repos...

    before this, trying to access a wild repo would create an empty hash in
    %repos.  This is pretty harmless, but at some later point, memberships()
    would try to use that in a pattern, attempting to match the real repo
    being access-checked.
    
    Which is still fine if your repo doesn't look like "libstdc++" AND
    you're using some recent perl.
    
    However, for perl 5.8.8, and if the repo has a ++ in it, perl barfs.
    
    Here's a test program to check your perl:
    
        #!/usr/bin/perl
    
        $base="foo/u1/libstdc++";
        $i="foo/u1/libstdc++";
    
        if ( $base =~ /^$i$/ ) {
            print 1;
        } else {
            print 2;
        }
    
    On 5.14.2 I get "2".  On 5.8.8 I get:
    
        Nested quantifiers in regex; marked by <-- HERE in m/^foo/u1/libstdc++ <-- HERE $/ at ./aa.pl line 6.
    committed Sep 25, 2012
Commits on Sep 23, 2012
  1. help cgit folks out a bit :)

    committed Sep 19, 2012
Commits on Sep 20, 2012
Commits on Sep 19, 2012
Commits on Aug 30, 2012
  1. 'help' command barfage fix

    should not barf if LOCAL_CODE is defined but it doesn't contain a
    "commands" subdirectory.
    committed Aug 30, 2012
  2. minor changes to README

    committed Aug 27, 2012
Commits on Aug 17, 2012
  1. minor bug in include file handing...

    gitolite does indeed try to not load itself twice, but I forgot that by
    that time the pwd is ~/.gitolite/conf not ~/.gitolite so it always ended
    up reading itself twice in case of a wildcard include.
    committed Aug 17, 2012
Commits on Aug 10, 2012
  1. @olof

    Bailout tests unless envvar $GITOLITE_TEST is 'y'

    [committer made some changes to t/README]
    olof committed with Aug 9, 2012
Commits on Aug 3, 2012
  1. @justone
Commits on Jul 27, 2012
Commits on Jul 19, 2012
  1. @poke

    Add special %GL_CREATOR variable for git-config

    Add a special variable `%GL_CREATOR` to the the git-config trigger that
    is replaced by the name of the repository creator (if any).
    
    This can be useful to set up the default owner configuration for wild
    repositories.
    
    Example:
    
        repo assignments/CREATOR/a[0-9][0-9]
            C   = @students
            RW+ = CREATOR
            config gitweb.owner = %GL_CREATOR
    
    ----
    
    committer added an if condition to the s/// line.
    poke committed with Jun 21, 2012
  2. 'rsync' command to create and send bundles (manual smoke test only)

    run 'ssh git@host rsync -h' for usage, as usual
    committed Jul 18, 2012
Commits on Jul 17, 2012