aboutsummaryrefslogtreecommitdiff
path: root/gitosis
Commit message (Collapse)AuthorAge
...
* | Move the SSH username extraction to the ssh class, and the tests over as well.Robin H. Johnson2007-12-22
| |
* | Expand SSH authorized_keys option parsing.Robin H. Johnson2007-12-22
| |
* | Fix tabs for spaces.Robin H. Johnson2007-12-18
| |
* | 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
| |
* | Fix bug in mkdir call.Robin H. Johnson2007-12-18
| |
* | Remove more duplicate code.Robin H. Johnson2007-12-18
| |
* | Pylint cleanup of init.py.Robin H. Johnson2007-12-18
| |
* | Factor out more code.Robin H. Johnson2007-12-18
| |
* | Factor out the stuff that changes repos based on the config only.Robin H. Johnson2007-12-18
| |
* | Pylint cleanup.Robin H. Johnson2007-12-18
| |
* | Remove unused import.Robin H. Johnson2007-12-18
| |
* | Factor out functions with a common errno ignore block.Robin H. Johnson2007-12-18
| |
* | Pylint cleanups for run_hook.py.Robin H. Johnson2007-12-18
| |
* | Pylint cleanups again.Robin H. Johnson2007-12-18
| |
* | Pylint cleanup of repository.py incl refactor to util.mkdir.Robin H. Johnson2007-12-18
| |
* | Pylint cleanup.Robin H. Johnson2007-12-18
| |
* | Pylint cleanups for group.py.Robin H. Johnson2007-12-18
| |
* | Clean up gitweb.py to pass pylint, including refactoring out duplicate code.Robin H. Johnson2007-12-18
| |
* | Use the new getboolean_default utility function to refactor code.Robin H. Johnson2007-12-18
| |
* | Add new utility function to get a value from a ConfigParser, with a default ↵Robin H. Johnson2007-12-18
| | | | | | | | if the section or value does not exist.
* | Pylint fixes for gitdaemon.py, includes refactoring of set_export_ok to make ↵Robin H. Johnson2007-12-18
| | | | | | | | it easier to follow.
* | Make app.py pass pylint.Robin H. Johnson2007-12-18
| |
* | Make util.py pass pylint.Robin H. Johnson2007-12-18
| |
* | Fixes in access.py to pass pylint.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.
* Create ~git/gitosis in gitosis-init.Tommi Virtanen2007-12-11
| | | | | | | | | | | | | This fixes problems with e.g. "No such file or directory: '/.../git/gitosis/projects.list.42.tmp'" in generate_project_list when running gitosis-init. Existing users need to run:: sudo install -d -m0755 -o git -g git ~git/gitosis adjust the user and group name if necessary. Alternatively, just rerun gitosis-init.
* 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
|
* Make repository.export work even with relative git_dir.Tommi Virtanen2007-11-17
| | | | | | | It changes the current directory, so it can't set --git-dir to a (potentially) relative path. Make path absolute before using it. This should fix post-update hook problems.
* 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
|
* generate_fp should be generate_project_list_fpGarry Dolley2007-11-17
|
* Give meaningful name to gitweb projects.list generation.Tommi Virtanen2007-11-15
| | | | Remove mentions of cancelled gitweb.conf generation from docstrings.
* Avoid decorators to be compatible with python2.3 (for now).Tommi Virtanen2007-11-15
|
* 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.
* Fix copy-paste that made gitosis.gitweb use wrong logger.Tommi Virtanen2007-11-15
|
* Make repository.export work with newer git.Tommi Virtanen2007-11-15
| | | | | | | | | gitosis-init and the post-update hook used to fail with GitCheckoutIndexError, when run with git >=1.5.3, which made checkout-index require GIT_WORK_TREE, jump through hoops to provide it, but still be backwards compatible with older git. Thanks to Garry Dolley for hunting the bug.
* Make gitosis-serve pass through environment to git-shell.Tommi Virtanen2007-11-15
|
* 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
|