aboutsummaryrefslogtreecommitdiff
path: root/gitosis/test
Commit message (Collapse)AuthorAge
* Handle git-1.6 which installs example hooks with .sample as a suffix so they ↵gentooRobin H. Johnson2008-10-28
| | | | do not run.
* 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
| |
| * Fix bug where members=@all didn't actually give access.Tommi Virtanen2008-01-17
| |
| * Make post-update hook reload config after writing it out.Tommi Virtanen2007-12-31
| | | | | | | | | | | | | | | | | | Without this, any changes to repository settings would only be applied after one extra (non-empty) push. Add unit test coverage for the post-update hook. Make SSH authorized_keys path configurable, mostly for unit tests.
| * Allow using fast_import for more than initial commit.Tommi Virtanen2007-12-31
| |
| * Don't always init repository when doing fast-import.Tommi Virtanen2007-12-31
| |
* | Use a valid algo typo for ssh.Robin H. Johnson2008-01-22
| |
* | Need config for repo init.Robin H. Johnson2008-01-22
| |
* | Make post-update hook reload config after writing it out.Tommi Virtanen2008-01-22
| | | | | | | | | | | | | | | | | | Without this, any changes to repository settings would only be applied after one extra (non-empty) push. Add unit test coverage for the post-update hook. Make SSH authorized_keys path configurable, mostly for unit tests.
* | Allow using fast_import for more than initial commit.Tommi Virtanen2008-01-22
| |
* | Don't always init repository when doing fast-import.Tommi Virtanen2008-01-22
| |
* | 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
| |
* | Add support for custom perms during repo creation.Robin H. Johnson2007-12-28
| |
* | Remove old extract_user function, replaced by username property of ↵Robin H. Johnson2007-12-24
| | | | | | | | SSHPublicKey class.
* | Use correct configparser for test.Robin H. Johnson2007-12-24
| |
* | Renable test.Robin H. Johnson2007-12-24
| |
* | Since we do not write raw anymore, we do not know that the gitosis section ↵Robin H. Johnson2007-12-24
| | | | | | | | is always first.
* | Convert existing SSH module to use the sshkey module, including all tests.Robin H. Johnson2007-12-24
| |
* | Add module to deal specifically with SSH public keys properly.Robin H. Johnson2007-12-24
| |
* | Move the SSH username extraction to the ssh class, and the tests over as well.Robin H. Johnson2007-12-22
| |
* | Add more testcases, and add coverage exclusion notations on places where we ↵Robin H. Johnson2007-12-18
| | | | | | | | do test the the content functions already, or they interact with the system too much to test for coverage automatically.
* | Add some more testcases.Robin H. Johnson2007-12-18
| |
* | Add tests for the main App class, thanks to nose coverage tests.Robin H. Johnson2007-12-18
| |
* | Add tests for getGeneratedFilesDirRobin H. Johnson2007-12-18
| |
* | Add tests for _sysfunc and getRepositoryDir.Robin H. Johnson2007-12-18
|/
* Allow uppercase in usernames.Tommi Virtanen2007-12-17
|
* Allow underscores, dots and dashes in SSH username local parts.Tommi Virtanen2007-12-11
|
* Enforce safe usernames also when reading public key files from keydir.Tommi Virtanen2007-12-11
| | | | | | Warning: if your keyfiles contain more than just a-z0-9, at sign, dots or dashes, you will likely end up cutting off your access to your gitosis repository with this upgrade.
* 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.
* Let *.pub files have multiple lines, each containing one SSH key.Tommi Virtanen2007-11-18
| | | | | Makes managing accounts and access for people with multiple client machines easier.
* 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.
* Set description from config file for gitweb use.Tommi Virtanen2007-11-17
|
* Manage git-daemon-export-ok flags from gitosis config.Tommi Virtanen2007-11-17
|
* Add unit test for gitweb.generate_project_list.Tommi Virtanen2007-11-17
|
* Give meaningful name to gitweb projects.list generation.Tommi Virtanen2007-11-15
| | | | Remove mentions of cancelled gitweb.conf generation from docstrings.
* 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.
* Make repository.export unit tests use --git-dir= too.Tommi Virtanen2007-11-15
|
* Make repository.has_initial_commit pass through environment to git.Tommi Virtanen2007-11-15
|
* Make repository.export pass through environment to git.Tommi Virtanen2007-11-15
|
* Make repository.fast_import pass through environment to git.Tommi Virtanen2007-11-15
|
* Make repository.init pass through environment to git.Tommi Virtanen2007-11-15
|
* 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.
* Let SSH public key user fields have a bit more varied content.Tommi Virtanen2007-09-03
|