aboutsummaryrefslogtreecommitdiff
path: root/gitosis/run_hook.py
Commit message (Collapse)AuthorAge
* added support for cgit (tested)Gianni Ceccarelli2009-01-15
|
* 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.
* 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.
* Factor out the stuff that changes repos based on the config only.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
|
* 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.
* 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
|
* Give meaningful name to gitweb projects.list generation.Tommi Virtanen2007-11-15
| | | | Remove mentions of cancelled gitweb.conf generation from docstrings.
* Make gitosis-init call run_hook.post_update directly.Tommi Virtanen2007-09-03
| | | | | | | This avoids complexity where failing to read the config file in gitosis-run-hook is non-fatal, but only on the first run. gitosis-init will take care of config file reading and just pass a RawConfigParser instance to run_hook.post_update.
* Refactor command line utilities to share setup.Tommi Virtanen2007-09-03
| | | | Hide internal gitosis-ssh and gitosis-gitweb, it's all in gitosis-run-hook.
* Add gitosis-run-hook, to be run from git hooks.Tommi Virtanen2007-09-01
Sadly, no unit tests on this level, for now.