Permalink
Switch branches/tags
Nothing to show
Commits on Jun 10, 2009
  1. Add a mirror configuration example

    dinoboff committed with res0nat0r Apr 12, 2009
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  2. changed alias for all repositories from "all" to "@all".

    dinoboff committed with res0nat0r Apr 12, 2009
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  3. remove print statement (left after debugging

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

    Damien Lebrun committed with res0nat0r Apr 9, 2009
    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 committed with res0nat0r Apr 8, 2009
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  6. repository.init can use git default template, by

    Damien Lebrun committed with res0nat0r Apr 7, 2009
    setting the default argument to false.
    
    By default, it still use gitosis default template.
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  7. Added the snagit.py module to provide functionality for identifying r…

    cyphactor committed with res0nat0r Jan 20, 2009
    …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 committed with res0nat0r Apr 7, 2009
    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 committed with res0nat0r Apr 7, 2009
    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 committed with res0nat0r Apr 7, 2009
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  11. Split the git initialization command.

    gdelfino committed with res0nat0r Apr 24, 2009
    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. Added info on adding git user under CentOS

    gdelfino committed with res0nat0r Apr 24, 2009
    Taken from:
    http://www.simplicidade.org/notes/archives/2008/09/installing_gito.html
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  13. Allow enabling git-daemon for repos accessible to @all.

    angavrilov committed with res0nat0r Oct 13, 2008
    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. Support specifying access directly for users.

    angavrilov committed with res0nat0r Oct 12, 2008
    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. Generalize repository enumeration code from gitweb.py

    angavrilov committed with res0nat0r Oct 17, 2008
    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. Separate directory walking and generation of gitdaemon files.

    angavrilov committed with res0nat0r Oct 12, 2008
    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. Support specifying the repository owner indirectly.

    angavrilov committed with res0nat0r Oct 12, 2008
    [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. Fix permission problems:

    angavrilov committed with res0nat0r Oct 12, 2008
    - 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 committed with res0nat0r Apr 9, 2009
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  20. add test for gitosis.repository.mirror

    Damien Lebrun committed with res0nat0r Apr 7, 2009
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  21. Fixed test_init_templates.

    Damien Lebrun committed with res0nat0r Apr 7, 2009
    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. Add handle of the update_mirror argument to gitosis-run-hook.

    dinoboff committed with res0nat0r Mar 23, 2009
    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. Add mirror function to the repository module.

    dinoboff committed with res0nat0r Mar 23, 2009
    Push with the --mirror option to a remote repository
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  24. Make sure hooks are executable.

    dinoboff committed with res0nat0r Mar 23, 2009
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  25. Add default template to repository initialization

    dinoboff committed with res0nat0r Mar 23, 2009
    All repository will come with post-receive hook by default.
    
    Signed-off-by:  <stefhen.hovland+github@gmail.com>
  26. Allow pattern for repo path in config 'writable/readonly='

    pkufranky committed with res0nat0r Jan 5, 2008
    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
Commits on Jul 30, 2008
Commits on Jun 26, 2008
Commits on Apr 19, 2008
  1. Understand the popular gitosis.conf typo "writeable".

    tv42 committed Apr 19, 2008
    Log a warning still, don't want that to get too common.
Commits on Apr 15, 2008
Commits on Mar 19, 2008
  1. Allow absolute paths in repo paths, treat them as relative.

    tv42 committed Mar 19, 2008
    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. Make serve acceptable path unit tests more careful.

    tv42 committed Mar 19, 2008
    Tests used to trigger the wanted security exception merely by being
    unquoted, that's not good enough.
Commits on Feb 19, 2008