aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/cvs.pm
Commit message (Expand)AuthorAge
* Add a second parameter to the rcs_diff hook, and avoid bloating memory readin...Joey Hess2010-12-29
* chdir to srcdir in rcs_getctimeJoey Hess2010-06-23
* rcs_getctime and rcs_getmtime take relative filenames•••There was some confusion about whether the filename was relative to srcdir or not. Some test cases, and the bzr plugin assumed it was relative to the srcdir. Most everything else assumed it was absolute. Changed it to relative, for consistency with the rest of the rcs_ functions. Joey Hess2010-06-23
* rcs_commit and rcs_commit_staged api changes•••Using named parameters for these is overdue. Passing the session in a parameter instead of passing username and IP separately will later allow storing other session info, like username or part of the email. Note that these functions are not part of the exported API, and the prototype change will catch (most) skew, so I am not changing API versions. Any third-party plugins that call them will need updated though. Joey Hess2010-06-23
* API: rcs_commit and rcs_commit_staged are passed a new parameter•••that may contain the username component of the email address of the user making the commit. Joey Hess2010-06-23
* whitespaceJoey Hess2010-06-23
* --gettime revamp•••* Rename --getctime to --gettime. (The old name still works for backwards compatability.) * --gettime now also looks up last modification time. * Add rcs_getmtime to plugin API; currently only implemented for git. Joey Hess2010-04-16
* Group related plugins into sections in the setup file, and drop unused rcs pl...Joey Hess2010-02-11
* avoid tempfile warning•••Allow tempfile to open the file, so it doesn't warn about possible insecurity. This probably fixes a real, but unlikely security hole too. Joey Hess2009-09-13
* Whoops, copyright 2009. /usr/bin/perl for the interpreter like other plugins.•••(cherry picked from commit a69d628b2cc15779a23c3d5ca1b27f2bc2dad619) Amitai Schlair2009-09-11
* Merge commit 'schmonz/master'Joey Hess2009-09-10
|\
| * Add NetBSD-style 2-clause BSD license.Amitai Schlair2009-09-10
* | formattingJoey Hess2009-09-10
* | minor simplificationJoey Hess2009-09-10
* | Merge commit 'schmonz/master' into cvsJoey Hess2009-09-10
|\|
| * Catch up to the new genwrapper hook.Amitai Schlair2009-09-10
* | Merge commit 'schmonz/master' into cvsJoey Hess2009-09-10
|\|
| * CVS operations generally need to be within CVS checkouts, so these chdir()•••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. Amitai Schlair2009-09-10
| * Abstract out CVS's involvement in the wrapper:•••* 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. Amitai Schlair2009-09-09
* | Merge commit 'schmonz/master' into cvs•••Conflicts: IkiWiki/Plugin/cvs.pm Joey Hess2009-09-04
|\|
| * It's STDOUT we have to shut up for cvs, and $savedout has to be•••restored just so. Amitai Schlair2009-09-04
| * Stop using IPC::Cmd and String::ShellQuote, since quoting (and•••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. Amitai Schlair2009-09-04
* | minor formattingJoey Hess2009-09-02
|/
* whitespaceAmitai Schlair2009-08-30
* On some systems the commit message gets quoted properly already. Don't•••requote in such cases, do quote in all others. Amitai Schlair2009-08-30
* Fix uninitialized value when editing a page being vivified from the•••basewiki. Makes the filetype-testing logic more explicit anyway. Amitai Schlair2009-08-30
* Remove debug statement.Amitai Schlair2009-08-30
* Knock off another to-do item: "Don't slurp the entire cvsps output•••into memory (!)." Amitai Schlair2009-08-30
* Knock off a to-do item: "If the argument to cvs add smells like a•••binary file, cvs add -kb it (for attachment support)." Amitai Schlair2009-08-30
* Remove getopt() hook (it's a dead end, unsafe to pass wrapper args to•••ikiwiki). Crunch on-demand module loads into one-liners. Comment why cvsps output is getting read in its entirety and reversed. Amitai Schlair2009-08-29
* Oops, use the more recent (and less brittle) directory test.Amitai Schlair2009-08-22
* Pass along wrapper args to ikiwiki, then handle the "cvs add dir"•••case with a getopt hook directly in my plugin. If the wrapper change is safe, we won't need a wrapper wrapper. Amitai Schlair2009-08-22
* Add my CVS plugin and related patches.Amitai Schlair2009-08-13