aboutsummaryrefslogtreecommitdiff
path: root/gitosis/test/test_serve.py
Commit message (Collapse)AuthorAge
* Merge branch 'upstream' into gentooRobin H. Johnson2008-10-28
|\ | | | | | | | | | | | | | | Conflicts: gitosis/run_hook.py gitosis/serve.py gitosis/test/test_run_hook.py gitosis/test/test_serve.py
| * Accept "git upload-pack" etc, for future compatibility.Tommi Virtanen2008-06-26
| |
| * Understand the popular gitosis.conf typo "writeable".Tommi Virtanen2008-04-19
| | | | | | | | Log a warning still, don't want that to get too common.
| * Allow absolute paths in repo paths, treat them as relative.Tommi Virtanen2008-03-19
| | | | | | | | | | | | | | 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.
| * Make serve acceptable path unit tests more careful.Tommi Virtanen2008-03-19
| | | | | | | | | | Tests used to trigger the wanted security exception merely by being unquoted, that's not good enough.
| * Test that incoming paths cannot contain /../Tommi Virtanen2008-03-19
| |
* | Make sure the test input is actually a string and not an integer, just like ↵Robin H. Johnson2008-01-22
| | | | | | | | it will be in the config.
* | Allow some slashes, to provide support for git+ssh:// URLs that always have ↵Robin H. Johnson2007-12-28
| | | | | | | | a leading slash.
* | Add testcode for gitosis.dirmode setting.Robin H. Johnson2007-12-28
|/
* Write gitweb projects.list to ~/gitosis, not inside the gitosis-admin repo.Tommi Virtanen2007-11-29
| | | | | | | | | | | | | | This allows running gitweb as a separate user without needing to allow it read access to gitosis-admin.git. Running as separate user will still most likely require a ``chgrp www-data`` of the relevant repositories, but nothing not already decided public needs to be exposed. Existing gitweb users will need to adjust their gitweb.conf to point to the new location of the projects.list file. Removing the old projects.list from ~git/repositories/gitosis-admin.git/projects.list is safe once gitweb has switched to using the new location.
* When autocreating repositories on push, set git-daemon-export-ok etc.Tommi Virtanen2007-11-18
| | | | | | Without this, it would need a separate push to gitosis-admin.git, after the repository is autocreated, to get it to show up and be anonymously usable.
* Create leading directories when creating missing repos in gitosis-serve.Tommi Virtanen2007-11-15
| | | | | | | | | | Creation is in gitosis.serve and not directly in repository.init(), because that's the location that can tell what part of the directory tree is allowed to be missing. Made the reconstructed git command include the extension as that was easier to do. haveAccess return value is now tuple, to preserve information on what parts of the path can be missing.
* Ensure "git init" doesn't write to stdout, and confuse a push.Tommi Virtanen2007-09-03
| | | | | | The repository autocreation functionality ends up sending the stdout to the client side, and there a very confused git push can't make any sense of the protocol.
* Don't git init when it's not needed.Tommi Virtanen2007-09-03
| | | | | | Confusion between pathnames with extensions and without made gitosis-serve confused when it needs to create a repository and when not.
* Make gitosis-serve not fail with commands without arguments.Tommi Virtanen2007-09-03
|
* Make error messages harder to confuse with strerror(3).Tommi Virtanen2007-09-02
|
* Make repository autocreate add .git extension.Tommi Virtanen2007-09-02
|
* Make gitosis-serve create repositories on demand when pushing.Tommi Virtanen2007-09-02
|
* Add unit tests for gitosis-serve.Tommi Virtanen2007-09-02