ikiwiki/IkiWiki
Joey Hess d3d3999410 do no-op post_commit test in wrapper
This speeds up web commits by 1/4th of a second or so, since perl does
not have to start up for the post commit hook.

perl's locking is completly FuBar, since it's impossible to tell what perl
flock() really does, and thus difficult to write code in other languages
that interoperates with perl's locking. (Let alone interoperating with
existing fcntl locking from perl...)

In this particular case, I think I was able to find a way to avoid the
insanity, mostly. The C code does a true flock(2), and if perl is using an
incompatable lock method that does not use the same locking primative at
the kernel level, then the C code's test will fail, and it will go ahead
and run the perl code. Then the perl code's test will test the right thing.

On Debian, at least lately, perl's flock() does a true flock(2), so the
optimisation does work.
2008-10-26 15:13:04 -04:00
..
Plugin the pre-receive wrapper needs to be suid after all 2008-10-24 15:47:42 -04:00
Setup Use the pure perl Data::Dumper when generating setup files to ensure that utf-8 characters are written out as such, and not as the encoded perl strings the C Data::Dumper produces. 2008-10-19 21:23:48 -04:00
CGI.pm Fix issue with utf-8 in wikiname breaking session cookies, by entity-encoding the wikiname in the session cookie. 2008-10-19 21:07:12 -04:00
Receive.pm move untrusted committer test into the wrapper 2008-10-26 14:03:18 -04:00
Render.pm fix relativedate timezone inclusion 2008-10-19 19:21:44 -04:00
Setup.pm don't fail if %config is not set 2008-09-01 11:26:03 -04:00
UserInfo.pm banned_users move to setup file, stage 1 2008-08-01 17:39:17 -04:00
Wrapper.pm do no-op post_commit test in wrapper 2008-10-26 15:13:04 -04:00