aboutsummaryrefslogtreecommitdiff
path: root/gitosis/test
Commit message (Collapse)AuthorAge
* 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
|
* 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
|
* 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
|
* Add gitosis-init, for bootstrapping a new installation.Tommi Virtanen2007-09-01
|
* Refactor gitosis-gitweb to move temp file handling out of main.Tommi Virtanen2007-09-01
|
* Add utilities for fast-import, exporting repository.Tommi Virtanen2007-09-01
| | | | Redo subprocess error handling.
* Use separate temp directories for separate tests.Tommi Virtanen2007-09-01
| | | | | | Makes unit tests for the previous commit work even when not run alone. Should have done this from the beginning, but didn't find the trick for getting the module name.
* Make sure re-initing a repository does not change access modes.Tommi Virtanen2007-09-01
|
* Refactor to share file mode checking.Tommi Virtanen2007-09-01
|
* Make gitosis.util.mkdir pass through any os.mkdir args.Tommi Virtanen2007-09-01
|
* Remove unused import.Tommi Virtanen2007-09-01
|
* Add helper to create (bare) repositories with custom templates.Tommi Virtanen2007-08-30
|
* Refactor unit test writeFile/readFile helpers.Tommi Virtanen2007-08-29
|
* Add a default repository prefix.Tommi Virtanen2007-08-11
| | | | Used to fail is gitosis.repositories is not set.
* Add .git to gitweb projects list if only that version of path exists.Tommi Virtanen2007-06-05
|
* Extract test utility functions.Tommi Virtanen2007-06-05
|
* Clean up gitosis.gitweb unit tests.Tommi Virtanen2007-06-05
|
* Add ``gitosis-gitweb``, for writing gitweb project lists.Tommi Virtanen2007-06-05
| | | | Takes the list of repositories to publish from the gitosis config file.
* Allow ``gitosis-serve`` incoming path names to always have ``.git`` suffix.Tommi Virtanen2007-06-04
| | | | Strip it before processing further.
* Add config option ``repositories``, for giving a path prefix to repositories.Tommi Virtanen2007-06-04
| | | | | | Both global and relative (to home directory) values work, can be given in global section ``[gitosis]`` or in the ``[group FOO]`` section for just that group.
* Everyone always belongs to group "all".Tommi Virtanen2007-06-04
|
* writeAuthorizedKeys now reads old file by name, not by open file.Tommi Virtanen2007-06-04
|
* Initial import.Tommi Virtanen2007-06-04