Permalink
Commits on Feb 25, 2010
  1. doc/CHANGELOG added

    committed Feb 25, 2010
  2. 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
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
  2. compile: die on authkeys write failure

    Sitaram Chamarty committed Feb 4, 2010
  3. $shell_allowed needs to be passed to specal_cmds

    brought on by realising that you lost $shell_allowed when refactoring
    (previous commit) but perl hadn't caught it because -- damn -- you
    didn't have "use strict" in gitolite.pm
    Sitaram Chamarty committed Feb 4, 2010
  4. Merge branch 'master' into wildrepos

    lots of conflicts, esp in gl-auth-command, due to refactoring the
    "special commands" stuff on master
    
    Conflicts:
    	doc/3-faq-tips-etc.mkd
    	src/gitolite.pm
    	src/gl-auth-command
    	src/gl-compile-conf
    Sitaram Chamarty committed Feb 4, 2010
  5. auth: new subcommand "htpasswd"

    great idea by Robin Smidsrød: since users are already capable of
    authenticating themselves to gitolite via ssh keys, use that to let them
    set or change their own HTTP passwords (ie, run the "htpasswd" command
    with the correct parameters on behalf of the "git" user on the server)
    
    code, rc para, and documentation.  In fact everything except... ahem...
    testing ;-)
    
    and while we're about it, we also reorganised the way these helper
    commands (including the venerable "info" are called)
    Sitaram Chamarty committed Feb 1, 2010
Commits on Feb 3, 2010
  1. Tell gitweb about repo owner via git-config

    Gitolite uses projects.list to set the owners for gitweb's use.
    Unfortunately, this does not work for gitweb setups that set
    $projectroot to a directory, thus generating the list of
    repositories on the fly.
    
    This patch changes that: gitolite now writes the gitweb.owner
    configuration variable for each repository (and properly cleans up after
    itself if the owner is removed).
    
    The patch causes gitolite not to write the owner to projects.list
    anymore, as this would be redundant.
    
    The owner also needs no longer be escaped, so this patch removes the
    poor man's 's/ /+/g' escaping previously in place.
    
    Note that I am not a Perl coder. Thus there are probably better ways to
    implement this, but at least it works.
    
    Cc: Sitaram Chamarty <sitaramc@gmail.com>
    Signed-off-by: martin f. krafft <madduck@madduck.net>
    madduck committed with Sitaram Chamarty Feb 3, 2010
Commits on Feb 1, 2010
  1. more fixes to wildcard reporting...

    (thank God I don't warrant this part of gitolite ;-)
    Sitaram Chamarty committed Feb 1, 2010
  2. oops; logging bug

    Sitaram Chamarty committed Feb 1, 2010
  3. document deny rules a bit better

    Sitaram Chamarty committed with Sitaram Chamarty Jan 31, 2010
  4. auth: minor flow change when defaulting to "info"

    Sitaram Chamarty committed Feb 1, 2010
  5. rsync: log the command used

    Sitaram Chamarty committed Feb 1, 2010
  6. rsync: add support for delete/partial

    Sitaram Chamarty committed with Sitaram Chamarty Jan 31, 2010