Permalink
Commits on Feb 26, 2010
  1. Merge branch 'master' into pu (damn!)

    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.
    committed Feb 26, 2010
Commits on Feb 25, 2010
  1. Merge branch 'dps' into master

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

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

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

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

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

    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)
    committed Feb 18, 2010
Commits on Feb 16, 2010
  1. doc/0: added uninstall instructions

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

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

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

    [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]
    Sitaram Chamarty committed Feb 14, 2010
Commits on Feb 13, 2010
  1. compile: users and repos have groups... why not refs?

    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 :)
    Sitaram Chamarty committed Feb 13, 2010
  2. doc/1 minor fix

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

    (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.
    Sitaram Chamarty committed with Sitaram Chamarty Feb 10, 2010
  4. make VERSION work in both types of setups

    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
    Sitaram Chamarty committed with Sitaram Chamarty Feb 10, 2010
  5. added server-side setup script

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

    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)
    Sitaram Chamarty committed with Sitaram Chamarty Feb 10, 2010
  7. install: initial create of glrc should not assume PWD is project root

    make it work regardless of how it is invoked, though we *do* assume
    ../conf/example.gitolite.rc exists
    Sitaram Chamarty committed with Sitaram Chamarty Feb 10, 2010
  8. move hooks out of src

    src/hooks is now hooks/common
    src/ga... is now hooks/gitolite-admin/post-update
    Sitaram Chamarty committed Feb 9, 2010
  9. make $bindir absolute

    Sitaram Chamarty committed with Sitaram Chamarty Feb 9, 2010
Commits on Feb 11, 2010
  1. doc/3 reorg; one section was getting too long!

    Sitaram Chamarty committed Feb 11, 2010
Commits on Feb 8, 2010
  1. example conf: doc on NAME/ being a refex etc was not clear

    Sitaram Chamarty committed Feb 8, 2010
Commits on Feb 7, 2010
  1. get "info" for users other than yourself

    if you have read access to the admin repo, you can say
    
        ssh git@server info user1 [...]
    
    Original idea and code by Karteek E.  The motivation is to quickly and
    easily check what perms a user has.  Technically nothing that you can't
    glean from the config file itself but it serves as a double check or a
    mild debugging aid perhaps.
    
    However note that the branch level rules are much more complex and they
    do not, as yet, have any such "helpful" aids.  Life is like that
    sometimes.
    Sitaram Chamarty committed Feb 7, 2010
  2. compile: tighten up the 'git config' feature

    Gitolite allows you to set git repo options using the "config" keyword;
    see conf/example.conf for details and syntax.
    
    However, if you are in an installation where the repo admin does not
    (and should not) have shell access to the server, then allowing him to
    set arbitrary repo config options *may* be a security risk -- some
    config settings may allow executing arbitrary commands.
    
    This patch fixes it, introducing a new RC variable to control the
    behaviour.  See conf/example.gitolite.rc for details
    Sitaram Chamarty committed Feb 7, 2010
  3. rsync: restrict the "path" part of the received command

    Although I have washed my hands off the security aspect if you use
    external commands, that doesn't mean I won't make them as tight as I can
    ;-)  Right now, this is just a place holder -- if people use it and
    complain that the pattern is too restrictive, I'll change it.
    Sitaram Chamarty committed Feb 6, 2010
  4. (IMPORTANT; read this in full) no more "wildrepos"

    The wildrepos branch has been merged into master, and deleted.  It will no
    longer exist as a separate branch.  Instead, a new variable
    called $GL_WILDREPOS has been added which acts as a switch; when
    off (which is the default), many wildrepos features are disabled.
    (the "C" permissions, and the getperms (etc.) commands mainly).
    
    Important: if you are using wildrepos, please set "$GL_WILDREPOS = 1;" in
    the RC file when you upgrade to this version (or just before you do the
    upgrade).
    Sitaram Chamarty committed Feb 5, 2010
Commits on Feb 5, 2010
  1. Merge branch 'master' into wildrepos

    Conflicts:
    	src/gitolite.pm
    Sitaram Chamarty committed Feb 5, 2010
  2. install/pm: turn hooks from copies to symlinks

    Sitaram Chamarty committed Feb 5, 2010
  3. Enable setting desription for wildrepos

    Allow users to set and display description (for gitweb) for their
    own wildcard repositories using ssh commands:
      setdesc <repo>
      getdesc <repo>
    
    Signed-off-by: Teemu Matilainen <teemu.matilainen@reaktor.fi>
    tmatilai committed with Sitaram Chamarty Feb 4, 2010
Commits on Feb 4, 2010
  1. Set gitweb.owner config for new wildrepos

    When creating new wildrepos, add git config to tell gitweb
    the owner of the repository.
    
    Signed-off-by: Teemu Matilainen <teemu.matilainen@reaktor.fi>
    tmatilai committed Feb 3, 2010