Permalink
Commits on Mar 12, 2010
  1. minor LFCR -> CRLF fix

    sitaramc committed Mar 12, 2010
  2. dps: gl-setup may have to create ~/.ssh and touch the authkeys file...

    sitaramc committed Mar 12, 2010
    I've been unwilling to create the authkeys file if it does not already
    exist, because it represents a significant change in accessibility for
    that account.
    
    However, in the "distro package" scenario, one wants to make it as easy
    as possible for the end-user (who is actually an admin for the gitolite
    being hosted on his account, let's not forget) to use.
    
    And it seems that in some cases that might mean he does not (yet) have a
    ~/.ssh even...
Commits on Mar 10, 2010
Commits on Mar 9, 2010
  1. easy install: suppress that misleading "fatal"

    sitaramc committed Mar 9, 2010
    get rid of the "fatal: No HEAD commit to compare with (yet)" message
  2. easy install seemed to out of the GIT_PATH loop

    sitaramc committed Mar 9, 2010
    for some reason, I apparently did not test easy install with a
    non-standard path!  Fixed...
Commits on Mar 7, 2010
  1. compile: make it easier to move repos into gitolite

    sitaramc committed Mar 7, 2010
    when repos are copied over from elsewhere, one had to run easy install
    once again to make the new (OS-copied) repo contain the proper update
    hook.
    
    We eliminate this step now, using a new, empty, "hook" as a sentinel and
    having "compile" check/fix all repos' hooks.
    
    Since you have to add the repos to conf anyway, this makes it as
    seamless as possible.  The correct sequence now is
    
      - (server) copy the repo at the OS level
      - (admin clone) add it to conf/gitolite.conf, commit, push
Commits on Mar 2, 2010
  1. add conf/VERSION to .gitignore

    sitaramc committed Mar 2, 2010
    conf/VERSION is programmatically created, not manually, so you shouldn't
    be checking it in, which means it looks cleaner to explicitly put it in
    .gitignore
Commits on Mar 1, 2010
Commits on Feb 27, 2010
  1. progit article added to doc/

    sitaramc committed Feb 27, 2010
  2. minor typos

    elibarzilay authored and sitaramc committed Feb 26, 2010
  3. make Emacs use perl mode

    elibarzilay authored and sitaramc committed Feb 26, 2010
  4. auth: do not anchor the pattern given for expand

    tmatilai authored and sitaramc committed Feb 26, 2010
    Currently the pattern of expand command is line anchored.  This is
    different than in e.g. grep, and causes extra work to add '.*' prefix
    and/or suffix in many use cases.
    
    The new semantics now mean you might get more matches than you would
    have gotten earlier.  However, the expand command is still totally
    undocumented, so I think it is acceptable to change the functionality.
    ;)
    
    This patch removes the anchoring.  So for earlier behavior the specified
    pattern needs be in form of '^<pattern>$'.  The default pattern is also
    changed from '.*' to '^', so there might be even a small speed
    improvement. =)
    
    Signed-off-by: Teemu Matilainen <teemu.matilainen@reaktor.fi>
Commits on Feb 26, 2010
  1. Merge branch 'master' into pu (damn!)

    sitaramc committed Feb 26, 2010
    stupid me; committed the easy install patch on master *and* pushed,
    instead of on pu...
    
    Since I dont want to rewind master, we end up with this completely
    unnecessary merge.
Commits on Feb 25, 2010
  1. Merge branch 'dps' into master

    sitaramc committed Feb 25, 2010
    Conflicts:
    	doc/0-INSTALL.mkd
  2. doc/CHANGELOG added

    sitaramc committed Feb 25, 2010
  3. contrib: Add info of Vim syntax highlight

    tmatilai committed Feb 25, 2010
    Grand opening of the "contrib" directory. =)
    
    Signed-off-by: Teemu Matilainen <teemu.matilainen@reaktor.fi>
Commits on Feb 18, 2010
  1. auth: behave better when no argument supplied to wild commands

    sitaramc committed Feb 18, 2010
    expand gets a default '.*' argument
    others die with an error message
  2. List also non-wildcard repos in expand_wild

    tmatilai committed Feb 10, 2010
    List also all matching and accessible non-wildcard repositories
    in ssh expand command.
    
    Signed-off-by: Teemu Matilainen <teemu.matilainen@reaktor.fi>
  3. compile: move checking of reponame/repopatt/username out of expand_list

    sitaramc committed Feb 18, 2010
    let expand_list be just that "expand a list", and leave checking to be
    done outside.
    
    otherwise, commit 690604d has the side effect of restricting refs to
    $REPOPATT_PATT, and so for instance barfing on the perfectly valid
    
        RW+ refs/(?!heads/master) = alice bob
    
    (thanks to Teemu for catching this)
Commits on Feb 16, 2010
  1. doc/0: added uninstall instructions

    Sitaram Chamarty
    Sitaram Chamarty committed Feb 16, 2010
Commits on Feb 15, 2010
  1. doc/6 now has anchors

    Sitaram Chamarty
    Sitaram Chamarty committed Feb 15, 2010
  2. doc/3 last reorg missed moving some anchors and preamble text

    Sitaram Chamarty
    Sitaram Chamarty committed Feb 15, 2010
Commits on Feb 14, 2010
  1. htpassword: disallow empty passwords

    Sitaram Chamarty
    Sitaram Chamarty committed Feb 14, 2010
    [TODO: allow a callback for a password checking function, such as
    "passwd_policy_check".  Question is where the function would go.
    ~/.gitolite.rc is the only possible place among the current set of files
    but I'd rather leave that as a list of simple name=value lines for all
    sorts of reasons.  So maybe something like ~/.gitolite.pm (analogous to
    the "gitolite.pm" in the sources I supply), which would get "require'd"
    if found, and would contain all user-defined functions like this one...
    needs some thinking about]
Commits on Feb 13, 2010
  1. compile: users and repos have groups... why not refs?

    Sitaram Chamarty
    Sitaram Chamarty committed Feb 13, 2010
    this came up in some other discussion with bremner.  As usual I said no
    I won't do it because I don't see any real need.
    
    ...then I realised it's just one line :)
  2. doc/1 minor fix

    Sitaram Chamarty
    Sitaram Chamarty committed Feb 13, 2010
    thanks to bremner for catching this...
  3. (package maintainers read this) install doc updated

    Sitaram Chamarty Sitaram Chamarty
    Sitaram Chamarty authored and Sitaram Chamarty committed Feb 10, 2010
    (about this commit)
    
        The install doc now describes both the ways of installing gitolite.
        It also has a handy appendix for package maintainers describing what
        they need to do.
    
    (about the "dps" -- distro packaging support -- commit series)
    
        This commit is the last in the chain meant to make gitolite more
        friendly for package maintainers.
    
        Frankly, I never really thought gitolite would get big enough or
        important enough for someone to package it, and I always did just
        the bare minimum I needed to get it working, first for myself, then
        anyone who hopped onto #git and asked.  As a result, it had some
        quirks in terms of what is expected where and so on...
    
        Luckily, it didn't take a lot of changes to fix it, and this series
        of commits should help make it very easy to package gitolite for
        system-wide use.
  4. make VERSION work in both types of setups

    Sitaram Chamarty Sitaram Chamarty
    Sitaram Chamarty authored and Sitaram Chamarty committed Feb 10, 2010
    The old install method will now use conf/VERSION instead of src/VERSION everywhere.
    
    The new one, if you use the builtin make file to "make branch.tar" will also create just such a file
  5. added server-side setup script

    Sitaram Chamarty
    Sitaram Chamarty committed Feb 8, 2010
  6. dps: make install aware of distro-based setup

    Sitaram Chamarty Sitaram Chamarty
    Sitaram Chamarty authored and Sitaram Chamarty committed Feb 10, 2010
    gl-install copies
      - the initial rc file to ~/.gitolite.rc if it doesn't exist
      - src and hooks to GL_ADMINDIR
    
    Make it aware of a package-based setup sequence, where the above two
    change somewhat; see code diff.
    
    This should be the last bit of change needed to prepare gitolite setup
    so that a distro package maintainer does not have to fiddle too much
    with code inside.
    
    (What remains is docs, and a setup script for server-side use, to
    replace the latter part of easy install)
  7. install: initial create of glrc should not assume PWD is project root

    Sitaram Chamarty Sitaram Chamarty
    Sitaram Chamarty authored and Sitaram Chamarty committed Feb 10, 2010
    make it work regardless of how it is invoked, though we *do* assume
    ../conf/example.gitolite.rc exists