Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Jun 10, 2009
  1. @dinoboff

    Add a mirror configuration example

    dinoboff authored committed
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  2. @dinoboff

    changed alias for all repositories from "all" to "@all".

    dinoboff authored committed
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  3. remove print statement (left after debugging

    Damien Lebrun authored committed
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  4. Mirrors can be set for all or a selection of repository.

    Damien Lebrun authored committed
    By adding:
    
    [mirror github]
    repos = all
    uri = git@github.com:res0nat0r/%s.git
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  5. add test and documentation to the mirror module.

    Damien Lebrun authored committed
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  6. repository.init can use git default template, by

    Damien Lebrun authored committed
    setting the default argument to false.
    
    By default, it still use gitosis default template.
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  7. @cyphactor

    Added the snagit.py module to provide functionality for identifying r…

    cyphactor authored committed
    …epos with respect to a user and their associated permissions. I then integrated this functionality into gitosis-serve so that when a use runs the following on the command line it returns a listing of the repos their level of access to them on the remote host they just contacted.
    
    ssh snagit@127.0.0.1 snagit list-repos
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  8. add test for default template.

    Damien Lebrun authored committed
    check that the mode and content of post-receive
    hook of repository using the default template
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  9. Fixed wrong hooks mode settings.

    Damien Lebrun authored committed
    Were set to 754 when the test expect 755
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  10. Move mirror module and default template from src/ to gitosis

    Damien Lebrun authored committed
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  11. @gdelfino

    Split the git initialization command.

    gdelfino authored committed
    This solved for me the following error:
    
    # sudo -H -u git gitosis-init < /tmp/id_rsa.pub
    Traceback (most recent call last):
      File "/usr/bin/gitosis-init", line 7, in ?
        sys.exit(
      File "/usr/lib/python2.4/site-packages/gitosis-0.2-py2.4.egg/gitosis/app.py", line 24, in run
        return app.main()
      File "/usr/lib/python2.4/site-packages/gitosis-0.2-py2.4.egg/gitosis/app.py", line 38, in main
        self.handle_args(parser, cfg, options, args)
      File "/usr/lib/python2.4/site-packages/gitosis-0.2-py2.4.egg/gitosis/init.py", line 136, in handle_args
        user=user,
      File "/usr/lib/python2.4/site-packages/gitosis-0.2-py2.4.egg/gitosis/init.py", line 75, in init_admin_repository
        template=resource_filename('gitosis.templates', 'admin')
      File "/usr/lib/python2.4/site-packages/gitosis-0.2-py2.4.egg/gitosis/repository.py", line 51, in init
        close_fds=True,
      File "/usr/lib/python2.4/subprocess.py", line 412, in call
        return Popen(*args, **kwargs).wait()
      File "/usr/lib/python2.4/subprocess.py", line 542, in __init__
        errread, errwrite)
      File "/usr/lib/python2.4/subprocess.py", line 975, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  12. @gdelfino

    Added info on adding git user under CentOS

    gdelfino authored committed
    Taken from:
    http://www.simplicidade.org/notes/archives/2008/09/installing_gito.html
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  13. @angavrilov

    Allow enabling git-daemon for repos accessible to @all.

    angavrilov authored committed
    It may be useful to automatically allow git-daemon access
    to public repositories, which are accessible to @all users,
    but restrict access to more tightly secured repos.
    
    Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  14. @angavrilov

    Support specifying access directly for users.

    angavrilov authored committed
    Add support for [user ...] sections, which behave
    as one-user groups. They take precedence over old
    group sections.
    
    Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  15. @angavrilov

    Generalize repository enumeration code from gitweb.py

    angavrilov authored committed
    Not only it was already repeated twice, it also may be
    useful for other code.
    
    Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  16. @angavrilov

    Separate directory walking and generation of gitdaemon files.

    angavrilov authored committed
    The walking code is useful for other purposes, for instance,
    htaccess generation.
    
    Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  17. @angavrilov

    Support specifying the repository owner indirectly.

    angavrilov authored committed
    [repo foo]
    owner = jdoe
    
    [user jdoe]
    name = John Doe <jdoe@example.com>
    
    It may be useful to avoid duplication. The original name
    is also output to the file, so that custom gitweb can use
    it to do basic authentication or whatnot.
    
    Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  18. @angavrilov

    Fix permission problems:

    angavrilov authored committed
    - The default template ends up installed as non-executable, so
      make sure the hook has executable permissions after init.
    - Set umask before checking for exact values of permissions.
    
    Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  19. Add mirror example.

    Damien Lebrun authored committed
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  20. add test for gitosis.repository.mirror

    Damien Lebrun authored committed
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  21. Fixed test_init_templates.

    Damien Lebrun authored committed
    When git create a new repository with a specified
    template, the missing hooks are not created. git-init
    documentation doesn't not specify it and the test
    fails with
    git 1.6.2 and git 1.5.4.3.
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  22. @dinoboff

    Add handle of the update_mirror argument to gitosis-run-hook.

    dinoboff authored committed
    On post-receive, gitosis will look for:
    [repo Bar]
    mirrors = git@foo:bar.git git@baz:bar.git
    
    and push push any changes to these remote repositories.
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  23. @dinoboff

    Add mirror function to the repository module.

    dinoboff authored committed
    Push with the --mirror option to a remote repository
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  24. @dinoboff

    Make sure hooks are executable.

    dinoboff authored committed
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  25. @dinoboff

    Add default template to repository initialization

    dinoboff authored committed
    All repository will come with post-receive hook by default.
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  26. @pkufranky

    Allow pattern for repo path in config 'writable/readonly='

    pkufranky authored committed
    Use the same pattern match rule as fnmatch.fnmatch (in python). That is to
    say, '/' is not special. So 'foo*' can match 'foo/bar'.
    
    Brace expansion is not supported, so {foo,bar} will not match foo.
    
    Signed-off-by: Ping Yin <pkufranky@gmail.com>
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
Commits on Aug 25, 2008
  1. @tv42
Commits on Jul 30, 2008
  1. @tv42
Commits on Jun 26, 2008
  1. @tv42
Commits on Apr 19, 2008
  1. @tv42

    Understand the popular gitosis.conf typo "writeable".

    tv42 authored
    Log a warning still, don't want that to get too common.
Commits on Apr 15, 2008
  1. @tv42
Commits on Mar 19, 2008
  1. @tv42

    Allow absolute paths in repo paths, treat them as relative.

    tv42 authored
    As the only convenient way to use non-standard SSH ports with git is
    via the ssh://user@host:port/path syntax, and that syntax forces
    absolute urls, just force convert absolute paths to relative paths;
    you'll never really want absolute paths via gitosis, anyway.
  2. @tv42

    Make serve acceptable path unit tests more careful.

    tv42 authored
    Tests used to trigger the wanted security exception merely by being
    unquoted, that's not good enough.
  3. @tv42
Commits on Feb 19, 2008
  1. @tv42
Something went wrong with that request. Please try again.