aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge remaining TODO items into CVS page, and delete TODO.cvs.Amitai Schlair2012-01-30
|
* Move cvs_keyword_subst_args() down with the other internal support routines.Amitai Schlair2012-01-26
|
* Uncomment the CVS keyword substitution mode tests, and make them pass:Amitai Schlair2012-01-26
| | | | | Extract cvs_keyword_subst_args() and ensure it runs in $config{srcdir}. Using Perl's -T operator appears to work equally well, perhaps switch?
* Mollify strictures about barewords.Amitai Schlair2012-01-26
|
* Merge branch 'cvs' of github.com:schmonz/ikiwiki into cvsAmitai Schlair2012-01-25
|\
| * Move tests that simulate web commits into test_rcs_add(), then addAmitai Schlair2012-01-24
| | | | | | | | | | | | | | | | | | | | | | a bunch more tests (that wind up exercising rcs_commit(), rcs_commit_staged(), and rcs_recentchanges()). Extract some support routines for brevity. Most is_in_keyword_substitution_mode() tests are commented out because there's a bug -- non-binary files are being added with "cvs add -kb". Move tests that inspect recentchanges after direct CVS operations into test_rcs_recentchanges().
| * Merge branch 'cvs' of github.com:schmonz/ikiwiki into cvsAmitai Schlair2012-01-24
| |\
| * \ Merge branch 'master' of git://git.ikiwiki.info into cvsAmitai Schlair2012-01-24
| |\ \
* | \ \ Merge branch 'master' of git://git.ikiwiki.info into cvsAmitai Schlair2012-01-25
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| |
| * | recentchangesdiff: truncate extremely large diffsJoey Hess2012-01-23
| | | | | | | | | | | | | | | | | | | | | | | | A diff was already truncated after 200 lines. But it could still be arbitrarily enormous, if a spammer or other random noise source likes long lines. That could use a lot of memory to html encode etc the diff and fill it into the template. Truncating after 100kb seems sufficient; it allows for 200 lines of up to 512 characters each.
| * | Merge branch 'master' of ssh://git.ikiwiki.infoJoey Hess2012-01-23
| |\ \
| * | | fix the nodiscount settingJoey Hess2012-01-23
| | | |
* | | | Merge branch 'master' into cvsAmitai Schlair2012-01-22
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'master' of git://git.ikiwiki.infoAmitai Schlair2012-01-22
| |\ \ \
| | * | | (no commit message)test2012-01-22
| | | | |
| * | | | pull request (no functional change, just worried I broke easy merging)Amitai Schlair2012-01-22
| |/ / /
* | | | Merge branch 'master' into cvsAmitai Schlair2012-01-22
|\ \ \ \ | |_|_|/ |/| | |
| * | | pull request (no functional change, just worried I broke easy merging)Amitai Schlair2012-01-22
| | | |
* | | | Merge branch 'master' into cvsAmitai Schlair2012-01-22
|\| | |
| * | | ignore a file that always clutters status on OS X (no known fix)Amitai Schlair2012-01-22
| |/ /
* | | Define required programs and modules at top for easy spotting.Amitai Schlair2012-01-22
| | |
* | | Merge branch 'cvs' of github.com:schmonz/ikiwiki into cvsAmitai Schlair2012-01-22
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: TODO.cvs t/cvs.t
| * \ \ Merge branch 'cvs' of github.com:schmonz/ikiwiki into cvsAmitai Schlair2012-01-22
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: TODO.cvs
| | * \ \ Merge branch 'master' into cvsAmitai Schlair2012-01-20
| | |\ \ \ | | | | |/ | | | |/|
| | * | | add TODO notesAmitai Schlair2012-01-08
| | | | |
| * | | | Describe the needed test cases, and implement a couple Test::Class features.Amitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Run all subs matching /^test_*/ (for which we can plan)... * Unless TEST_METHOD is set, in which case run matching subs (sans plan). * Define total number of tests very near 'use Test::More', where expected. * Define test tempdir where it's declared, no longer any reason why not. * Move most comments from TODO.cvs into t/cvs.t. * Add a whole bunch more comments describing the needed test cases. XXX existing tests are order-dependent, but currently happen to pass
| * | | | Fix regression: failing to make the temp dir should nix the test plan.Amitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | While here, nitpick style and wrap long lines.
| * | | | Use config parameters directly and shorten long lines.Amitai Schlair2012-01-22
| | | | |
| * | | | * Define expected number of tests near the top.Amitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Call readfile() directly from writefile(). * Parameterize commit message for the web-commit case. * Describe intent of test cases. * Rename test subs to match what they actually do. * To prove extra path slashes don't cause trouble, instead of running the same tests a second time, just assert that checkconfig() strips the slashes.
| * | | | Fix a typo in the web commit test.Amitai Schlair2012-01-22
| | | | |
| * | | | Simplify startup: use Test::More unconditionally, then determineAmitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the test plan at runtime. Use IkiWiki unconditionally too (as that's not what I'm testing here) to avoid the TAP error of printing a test result before having printed the plan.
| * | | | Extract subs: startup/shutdown, and tests for web and manual commits.Amitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | No functional change intended.
| * | | | add TODO notesAmitai Schlair2012-01-22
| | | | |
* | | | | updateAmitai Schlair2012-01-22
| | | | |
* | | | | No functional change: sort sub definitions.Amitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the code: * general plugin API calls (in plugins/write order), * VCS plugin API calls (in plugins/write order), then * internal support routines (in alphabetical order). In the tests: * general meta-behavior (in no particular order, yet), * general plugin API calls (in plugins/write order), * VCS plugin API calls (in plugins/write order), then * internal support routines (in semi-logical order).
* | | | | Test::Class runs test subs in alphabetical order, so we do too.Amitai Schlair2012-01-22
| | | | |
* | | | | Ape xUnit more closely to remove ordering constraints on test subs:Amitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add setup and teardown methods, called before and after every test sub. * In setup, make a fresh repo; in teardown, throw it out. * Extract runtests method and define default test methods at top. * Move reflection routines near the xUnit-style subs they support. Adapt existing test subs to run independently: * In test_manual_add_and_commit(), assume a fresh repo. While here, plan a bit better: * Check for all modules used by cvs.pm. * Check for program existence more generally. * Check that we can rmdir after mkdir.
* | | | | Describe the needed test cases, and implement a couple Test::Class features.Amitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Run all subs matching /^test_*/ (for which we can plan)... * Unless TEST_METHOD is set, in which case run matching subs (sans plan). * Define total number of tests very near 'use Test::More', where expected. * Define test tempdir where it's declared, no longer any reason why not. * Move most comments from TODO.cvs into t/cvs.t. * Add a whole bunch more comments describing the needed test cases. XXX existing tests are order-dependent, but currently happen to pass
* | | | | Fix regression: failing to make the temp dir should nix the test plan.Amitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | While here, nitpick style and wrap long lines.
* | | | | Use config parameters directly and shorten long lines.Amitai Schlair2012-01-22
| | | | |
* | | | | * Define expected number of tests near the top.Amitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Call readfile() directly from writefile(). * Parameterize commit message for the web-commit case. * Describe intent of test cases. * Rename test subs to match what they actually do. * To prove extra path slashes don't cause trouble, instead of running the same tests a second time, just assert that checkconfig() strips the slashes.
* | | | | Fix a typo in the web commit test.Amitai Schlair2012-01-22
| | | | |
* | | | | Simplify startup: use Test::More unconditionally, then determineAmitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the test plan at runtime. Use IkiWiki unconditionally too (as that's not what I'm testing here) to avoid the TAP error of printing a test result before having printed the plan.
* | | | | Extract subs: startup/shutdown, and tests for web and manual commits.Amitai Schlair2012-01-22
| | | | | | | | | | | | | | | | | | | | No functional change intended.
* | | | | add TODO notesAmitai Schlair2012-01-22
| |_|_|/ |/| | |
* | | | point to my branch, wrap lines, working on test coverage nowAmitai Schlair2012-01-22
|/ / /
* | | for rcs_remove(), there's no new filehttps://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI2012-01-22
| | |
* | | comment - index attachmentsJavier Rojas2012-01-21
| |/ |/|
* | (no commit message)https://www.google.com/accounts/o8/id?id=AItOawk_MMtLPS7osC5MjX00q2ATjvvXPWqm0ik2012-01-20
| |
* | clean example bloghttp://smcv.pseudorandom.co.uk/2012-01-20
| | | | | | | | This reverts commit 1d1447323474a00d4d479fcdfd4daa85a6e0eecf