Tommi Virtanen
2e068602d0
Don't git init when it's not needed.
...
Confusion between pathnames with extensions and without made
gitosis-serve confused when it needs to create a repository
and when not.
2007-09-03 19:24:04 -07:00
Tommi Virtanen
e37b1dac1b
Oops, fix bad arguments. Sadly no unit tests for this part :(
2007-09-03 19:17:48 -07:00
Tommi Virtanen
f9158dca1e
Add a simple "./debian/rules generate" to build debian/control.
...
This is ugly and annoying but alternatives are storing generated files
in version control, or manually maintaining pesky little details.
The control file will be part of the .diff.gz.
2007-09-03 18:30:16 -07:00
Tommi Virtanen
964e6ce79c
Make debian package version match setup.py
2007-09-03 17:53:16 -07:00
Tommi Virtanen
ce7cf1fad7
Make git ignore unit test coverage checking result file.
2007-09-03 17:52:23 -07:00
Tommi Virtanen
a45445dca0
Update documentation in preparation of release.
2007-09-03 17:51:44 -07:00
Tommi Virtanen
82f5857759
Make gitosis-serve not fail with commands without arguments.
2007-09-03 17:09:19 -07:00
Tommi Virtanen
8a0654abe2
Refactor command line utilities to share setup.
...
Hide internal gitosis-ssh and gitosis-gitweb, it's all in gitosis-run-hook.
2007-09-03 17:09:12 -07:00
Tommi Virtanen
e492d76c29
Make setuptools include templates in the egg.
2007-09-03 14:06:51 -07:00
Tommi Virtanen
3c2963b777
Make error messages harder to confuse with strerror(3).
2007-09-02 21:35:07 -07:00
Tommi Virtanen
70dbe1dfca
Make repository autocreate add .git extension.
2007-09-02 13:42:55 -07:00
Tommi Virtanen
3dd96139a1
Make gitosis-serve create repositories on demand when pushing.
2007-09-02 13:28:41 -07:00
Tommi Virtanen
3339783581
Add unit tests for gitosis-serve.
2007-09-02 12:46:07 -07:00
Tommi Virtanen
97c093470e
Add gitosis-init, for bootstrapping a new installation.
2007-09-01 18:59:13 -07:00
Tommi Virtanen
acf005ea35
Add gitosis-run-hook, to be run from git hooks.
...
Sadly, no unit tests on this level, for now.
2007-09-01 18:54:49 -07:00
Tommi Virtanen
a786d30f5a
Refactor gitosis-gitweb to move temp file handling out of main.
2007-09-01 18:28:06 -07:00
Tommi Virtanen
0dbee1fadd
Add utilities for fast-import, exporting repository.
...
Redo subprocess error handling.
2007-09-01 18:06:45 -07:00
Tommi Virtanen
fd11351859
Use separate temp directories for separate tests.
...
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.
2007-09-01 16:44:28 -07:00
Tommi Virtanen
0132515356
Make sure re-initing a repository does not change access modes.
2007-09-01 16:34:42 -07:00
Tommi Virtanen
c5ee8f08d5
Refactor to share file mode checking.
2007-09-01 16:28:51 -07:00
Tommi Virtanen
c264d696e2
Make gitosis.util.mkdir pass through any os.mkdir args.
2007-09-01 16:24:55 -07:00
Tommi Virtanen
421785cf01
Remove unused import.
2007-09-01 13:43:22 -07:00
Tommi Virtanen
d2fbd6f9aa
Move commonly used functions to gitosis.util
2007-09-01 13:43:01 -07:00
Tommi Virtanen
5655b7f517
Add helper to create (bare) repositories with custom templates.
2007-08-30 20:03:17 -07:00
Tommi Virtanen
f86b354744
Refactor unit test writeFile/readFile helpers.
2007-08-29 22:28:53 -07:00
Tommi Virtanen
63835763b1
Fix gitosis-gitweb docstring to match default repository path.
2007-08-29 21:16:17 -07:00
Tommi Virtanen
016fe8eb3a
Typo in debian/control.
2007-08-29 21:15:48 -07:00
Tommi Virtanen
a6947e4254
Add a formal license file.
2007-08-28 21:44:30 -07:00
Tommi Virtanen
15cc12caf0
Fix typo.
2007-08-28 21:43:13 -07:00
Tommi Virtanen
9ea2d46392
Fix default value for gitosis.repositories config variable in gitosis-gitweb.
2007-08-28 21:41:52 -07:00
Tommi Virtanen
3a0530a088
Add debianization.
2007-08-28 21:38:49 -07:00
Tommi Virtanen
2c8eeb7d3b
Search PATH for git-shell, don't assume /usr/bin.
2007-08-11 17:28:52 -07:00
Tommi Virtanen
2a7f48f06e
Make access denied message harder to confuse with system errors.
2007-08-11 17:28:52 -07:00
Tommi Virtanen
92476622f7
Fail if gitosis-serve can't read the config file.
2007-08-11 17:28:52 -07:00
Tommi Virtanen
f2bc82f877
Allow repository names to start with numericals.
2007-08-11 17:28:52 -07:00
Tommi Virtanen
c1b15d3e48
Add a default repository prefix.
...
Used to fail is gitosis.repositories is not set.
2007-08-11 17:28:52 -07:00
Tommi Virtanen
4f6a8b8770
Add .git to gitweb projects list if only that version of path exists.
2007-06-05 14:06:33 +03:00
Tommi Virtanen
8a6cb39b9f
Extract test utility functions.
2007-06-05 14:05:54 +03:00
Tommi Virtanen
b563c50da2
Clean up gitosis.gitweb unit tests.
2007-06-05 13:42:59 +03:00
Tommi Virtanen
f7b0ec3729
Update notes.
2007-06-05 13:41:04 +03:00
Tommi Virtanen
418c5c3cfc
Add `gitosis-gitweb
`, for writing gitweb project lists.
...
Takes the list of repositories to publish from the gitosis config file.
2007-06-05 13:39:24 +03:00
Tommi Virtanen
67940f4b28
Remove completed todo entries.
2007-06-04 15:53:38 +03:00
Tommi Virtanen
d531488d77
Add debug logging to `gitosis-serve
`.
2007-06-04 14:22:58 +03:00
Tommi Virtanen
0dc22b3155
Allow `gitosis-serve
incoming path names to always have
.git
` suffix.
...
Strip it before processing further.
2007-06-04 14:22:56 +03:00
Tommi Virtanen
7b99ae7583
Add config option `repositories
`, for giving a path prefix to repositories.
...
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.
2007-06-04 14:22:54 +03:00
Tommi Virtanen
c578b212c0
gitosis/serve.py is not meant to be a script, remove #!
2007-06-04 14:22:52 +03:00
Tommi Virtanen
2723db4cbd
Add actual SSH-based git serving component.
2007-06-04 14:22:50 +03:00
Tommi Virtanen
65dc130228
Everyone always belongs to group "all".
2007-06-04 14:22:48 +03:00
Tommi Virtanen
085e5fffa7
writeAuthorizedKeys now reads old file by name, not by open file.
2007-06-04 14:22:45 +03:00
Tommi Virtanen
8d69bf23fa
Add debug logging to haveAccess.
2007-06-04 14:22:43 +03:00