summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/cvs.pm
AgeCommit message (Collapse)Author
2009-09-10Merge commit 'schmonz/master'Joey Hess
2009-09-10Add NetBSD-style 2-clause BSD license.Amitai Schlair
2009-09-10formattingJoey Hess
2009-09-10minor simplificationJoey Hess
2009-09-10Merge commit 'schmonz/master' into cvsJoey Hess
2009-09-10Catch up to the new genwrapper hook.Amitai Schlair
2009-09-10Merge commit 'schmonz/master' into cvsJoey Hess
2009-09-10CVS operations generally need to be within CVS checkouts, so these chdir()Amitai Schlair
calls are warranted. They shouldn't modify the caller's working directory, though. Use File::chdir to keep the scope of the changes subroutine-local. The tests now pass without resetting the working directory.
2009-09-09Abstract out CVS's involvement in the wrapper:Amitai Schlair
* In Wrapper.pm, add a new hook "wrapperargcheck" to examine argc/argv and return success or failure. In the failure case, the wrapper terminates. * In cvs.pm, implement the new hook to return failure if a directory is being cvs added.
2009-09-04Merge commit 'schmonz/master' into cvsJoey Hess
Conflicts: IkiWiki/Plugin/cvs.pm
2009-09-04It's STDOUT we have to shut up for cvs, and $savedout has to beAmitai Schlair
restored just so.
2009-09-04Stop using IPC::Cmd and String::ShellQuote, since quoting (andAmitai Schlair
having to quote, and the possible use of the shell) sucks. Stop passing args to cvs_runcvs() as an arrayref, since that also sucks (and was a sop to IPC::Cmd). Instead, use Joey's construction for temporarily redirecting stderr to /dev/null. Much much simpler and better. Works on my laptop with bozohttpd, now to test on the NetBSD wiki.
2009-09-02minor formattingJoey Hess
2009-08-30whitespaceAmitai Schlair
2009-08-30On some systems the commit message gets quoted properly already. Don'tAmitai Schlair
requote in such cases, do quote in all others.
2009-08-30Fix uninitialized value when editing a page being vivified from theAmitai Schlair
basewiki. Makes the filetype-testing logic more explicit anyway.
2009-08-30Remove debug statement.Amitai Schlair
2009-08-30Knock off another to-do item: "Don't slurp the entire cvsps outputAmitai Schlair
into memory (!)."
2009-08-30Knock off a to-do item: "If the argument to cvs add smells like aAmitai Schlair
binary file, cvs add -kb it (for attachment support)."
2009-08-29Remove getopt() hook (it's a dead end, unsafe to pass wrapper args toAmitai Schlair
ikiwiki). Crunch on-demand module loads into one-liners. Comment why cvsps output is getting read in its entirety and reversed.
2009-08-22Oops, use the more recent (and less brittle) directory test.Amitai Schlair
2009-08-22Pass along wrapper args to ikiwiki, then handle the "cvs add dir"Amitai Schlair
case with a getopt hook directly in my plugin. If the wrapper change is safe, we won't need a wrapper wrapper.
2009-08-13Add my CVS plugin and related patches.Amitai Schlair