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
Tommi Virtanen
3bcea975ba
Add a simple TODO list.
2007-06-04 14:22:41 +03:00
Tommi Virtanen
b53a71157a
Clean up README file.
2007-06-04 14:22:36 +03:00
Tommi Virtanen
156ae1e98b
Move example config to external file.
2007-06-04 14:20:03 +03:00
Tommi Virtanen
bd1ee4fc01
Initial import.
2007-06-04 14:16:26 +03:00