Sitaram Chamarty
b6d6260dbb
prevent empty %groups being created in compiled conf
...
this would happen if @all was used but no actual groups were defined,
and would in turn cause a parse error on the compiled conf because it
now ends with a 'false'.
thanks to Jelle Raaijmakers
2012-11-28 06:22:55 +05:30
Sitaram Chamarty
72e36f32aa
oops; hashes were getting printed twice in certain cases...
...
harmless but wasteful
2012-11-28 05:49:48 +05:30
Sitaram Chamarty
d3d93961a0
Uggh; horrible inner loop screwing up all performance :-(
...
This might actually make the redis version unnecessary for most people!
And if it does, well shame on me for not instrumenting things at a more
granular level before going all "oh we need a cache!"
[In my defense, I blame redis for being such a sweet little tool that I
felt compelled to use it somehow!]
----
t/sequence failed because the test itself was in error; fixed.
2012-11-14 15:43:57 +05:30
gitolite tester
16f2d9b879
gl-conf must be created even if the repo para has only config lines
...
(i.e., no access rules but only config lines)
2012-11-13 07:00:22 +05:30
Sitaram Chamarty
be61cd2d66
make sure gl-perms exists, even if it is empty...
...
I expect this to help if we optimise the rule generation by caching.
2012-11-06 09:15:55 +05:30
Sitaram Chamarty
2dbaa4d12e
(minor) move a small chunk of code out of a loop
2012-09-26 14:58:56 +05:30
Sitaram Chamarty
fbd745958e
PRE_ and POST_CREATE triggers get an extra argument...
...
...when invoked by single-repo operations like auto-creating a wild
repo, or running perms or fork.
2012-06-14 19:22:12 +05:30
Sitaram Chamarty
4373c5c74c
GL_BINDIR2 becomes LOCAL_CODE, allows hook propagation also...
...
plus a bunch of doc changes
2012-06-14 19:22:12 +05:30
Sitaram Chamarty
0f3a09ce60
PRE_ and POST_CREATE should work for normal repos also
2012-05-25 12:47:12 +05:30
Sitaram Chamarty
d04e79d291
(minor) single quotes around variables in error messages
...
(plus a couple of other minor fixups)
2012-05-21 17:44:30 +05:30
Sitaram Chamarty
4c5bb27739
pre-existing repo instructions were WRONG...
...
- fix them
- but (at the cost of some efficiency) try to compensate if the admin
did not follow those instructions, by running hook_1 anyway
2012-04-11 19:03:17 +05:30
Sitaram Chamarty
d3610191d3
supporting DOS and fake Unix...
...
I was very, very, tempted to say "sorry; not supported". Sadly,
prudence won over juvenile glee...
PS: DOS == dominant operating system
2012-04-06 21:13:56 +05:30