Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

May 22, 2012

  1. Sitaram Chamarty

    v3.03

    authored
  2. Sitaram Chamarty

    MAJOR BUGFIX: disallow "hooks" directory in admin repo

    Although this is not a "hole" that allows a normal user to bypass
    controls, I still consider this a hole in the sense that I want to
    separate "admin push" rights from "shell access on server" rights.
    
    (I realise that most people don't make this distinction, but I do, and
    for me and most sites I consult for it is important).
    
    Thanks to drue on #gitolite who pointed it out excitedly, and apologies
    for killing what he thought of as a feature!
    authored
  3. Sitaram Chamarty

    (fix bugly) info -ld should handle missing description files more gra…

    …cefully
    
    bugly = bug that makes the output ugly :)
    authored
  4. Sitaram Chamarty

    (minor) solaris doesn't like "shift" when there are no arguments rema…

    …ining
    authored
  5. Sitaram Chamarty

    fix repo alias to work when reponame has leading "/"

    as in git@host:repo.git works but ssh://git@host/repo.git doesn't
    authored
  6. Sitaram Chamarty

    (minor) permissions fixup -- sugar scripts do not need +x

    authored
  7. Sitaram Chamarty

    update g2 compat and migr info

    thanks to karihre on #gitolite for catching the first of the corrections
    (GL_GET_MEMBERSHIPS_PGM) and so reminding me...
    authored

May 21, 2012

  1. Sitaram Chamarty

    (minor) single quotes around variables in error messages

    (plus a couple of other minor fixups)
    authored
  2. Sitaram Chamarty

    move input command check so it works for non-ssh modes also

    authored
  3. Sitaram Chamarty

    line up regexes for easier review

    authored

May 20, 2012

  1. Sitaram Chamarty

    v3.02

    authored
  2. Sitaram Chamarty

    test packaging instructions and make required changes

    authored
  3. Sitaram Chamarty

    packaging instructions make analogy with git for better explanation

    authored

May 19, 2012

  1. Sitaram Chamarty

    (ssh) make it easier to make give some users a full shell

    authored
  2. Sitaram Chamarty

    allow aliasing a repo to another name

    all documentation is inside Alias.pm.
    authored

May 16, 2012

  1. Sitaram Chamarty

    simulate POST_CREATE for newly created "normal" repos

    See "background" in new program src/triggers/new-normal-repos
    authored
  2. Sitaram Chamarty

    (collected docfixes)

    authored

May 10, 2012

  1. Sitaram Chamarty

    just for kicks, a VREF that allows voting on changes to a branch

    (manually smoke tested; no test script)
    
    I've been meaning to do this for a while, since someone told me that is
    one of gerrit's features they like.
    
    Of course, gitolite can't/won't do the whole "code review" thing (nor
    the workflow enforcement that follows).
    
    But voting is simple -- literally 2-3 lines of code in a VREF.  (The
    rest is inline documentation).
    authored

May 07, 2012

  1. Sitaram Chamarty

    the dupkeys function was already in ssh-authkeys...

    ...so there's no need for the VREF.
    
    Ironically, while I was arguing with Eli that I wouldn't do it and why,
    the code was *already* there, and had been for over a month!  (It must
    have been there for much longer for me to have forgotten!)
    
    TODO: convert from using fingerprint compute to actual key strings when
    the complaints about speed start appearing.
    
    My own personal speed up loop [1] I guess :)
    
    [1]: http://thedailywtf.com/Articles/Classic-WTF-The-Speedup-Loop.aspx
    authored

May 06, 2012

  1. Sitaram Chamarty

    (minor fixup to t/info.t)

    authored
  2. Sitaram Chamarty

    move repo/user validity check deeper

    (but change repo check to allow repoPATT instead of just repoNAME)
    
    This is because there are/will be some situations where access() is
    called without those two checks being done (i.e., it is not only from
    src/commands/access that it is called).
    authored

May 05, 2012

  1. Sitaram Chamarty

    bugfix: smart http mode wasn't running pre_ and post_ git triggers

    (while we're about it, we also steal Michael Brown's idea (patch #2 in
    [1] and get rid of GIT_HTTP_BACKEND).
    
    [1]: http://groups.google.com/group/gitolite/msg/adfae758dd28f2a8
    authored

May 04, 2012

  1. Sitaram Chamarty

    allow info to print description also

    authored
  2. Sitaram Chamarty

    git-config bugfix + backward compat breakage in usage of 'config'

    (1) the backward compat breakage: you can't create empty-valued config
        keys anymore.  That is, you can't do the eqvt of the following shell
        command using gitolite
    
            git config foo.bar ""
    
    (2) fixed a bug where this:
    
            repo foo
                config foo.bar =
    
        when queried using
    
            gitolite git-config -r foo .
    
        would return even the empty valued ones, which -- remember! -- are
        not supposed to exist anymore.
    
        Fixing this bug allows situations like this to not show the admin
        repo in gitweb:
    
            repo [a-z].*
                config gitweb.owner = P-h B
    
            repo gitolite-admin
                config gitweb.owner =
    
    ----
    
    background...
    
    Somewhere in g3 (well actually in 057506b), we lost the ability to
    distinguish
        config foo.bar  =   ""
    from
        config foo.bar =
    
    I decided that conflating them is more intuitive for most people,
    because a survey [1] revealed that no one seemed to want the equivalent
    of the following shell command:
    
    ----
    
    [1] ...of a (small prime greater than 1) number of people on #git
    authored

May 03, 2012

  1. Andreas Stenius

    migrated htpasswd command from g2.

    (with some fixups by committer)
    kaos authored committed

May 01, 2012

  1. Sitaram Chamarty

    minor fix to info command output under httpd...

    when running under httpd, $ENV{USER} is not set, so we use a (hopefully
    informative) default to print.
    
    Thanks to Thomas Hager (duke at sigsegv dot at) for catching this.
    authored
  2. Sitaram Chamarty

    (minor typo fix)

    authored

Apr 30, 2012

  1. Sitaram Chamarty

    allow VREF code to print to STDOUT...

    Using a g2-style "chained update hook" as a VREF doesn't *quite* work:
    
      - all STDOUT from the hook is lost
      - worse, all lines get parsed as a ref followed by a message, and if
        the ref doesn't look like a ref it dies
    
    So now we do all this only if the message starts with 'VREF/'.  Any
    other output is just printed out as is.
    authored

Apr 29, 2012

  1. Sitaram Chamarty

    v3.01

    authored

Apr 28, 2012

  1. Added instructions to make repositories available via http and ssh

    This patch adds instructions for configuring Gitolite and Apache 2.x
    to make repositories available to both ssh and http clients.
    
    [minor fixups by committer]
    Thomas Hager authored committed
  2. Sitaram Chamarty

    BSD compat changes

    thanks to milki for all the efforts!
    
    Details:
    
      - partial-copy fell afoul of BSD not having $RANDOM
      - test suite: fix bad GNU sort with good perl sort
      - test suite: fix md5sum dependency (which BSD doesn't have or can't
        easily have or requires extra options or whatever...), by doing it
        in perl.  (Requires Digest::MD5, which is probably available
        anyway, but since this is only for the test suite, meh!)
    authored
  3. Sitaram Chamarty

    solaris doesn't like 'hostname -s'...

    (luckily, unlike linux, it doesn't spew a usage message to STDOUT!)
    authored

Apr 27, 2012

  1. Sitaram Chamarty

    fix test suite's dependency on time zone

    I had not remembered that the 'tc' subcommand in tsh adds *text* that
    contains the current time, so commit SHAs were changing.
    
    Thanks to milki for catching this, and in fact being the only person who
    ever appears to have attempted to run the test suite at all!
    authored

Apr 26, 2012

  1. Sitaram Chamarty

    (minor) add titles to rendered HTML docs

    authored
  2. Sitaram Chamarty

    add COPYING file

    (from http://www.gnu.org/licenses/gpl-2.0.txt)
    
    thanks to Jon Ciesla for catching this omission...
    authored
Something went wrong with that request. Please try again.