Commit Graph

17594 Commits (b56e6f07060a6236c616092b49f97a8c5fa5e2c3)

Author SHA1 Message Date
Joey Hess 92dd2c8ad0 add 2013-01-29 08:08:57 +11:00
https://shinji.startssl.com/ 56b610277f Create new bug with patch 2013-01-28 04:35:28 -04:00
Amitai Schlair b67e81cb13 formatting 2013-01-27 23:08:00 -05:00
Amitai Schlair 786cf46533 old and new cvs goodies needing merging 2013-01-27 22:59:49 -05:00
Amitai Schlair c37e440564 Merge branch 'master' into cvs 2013-01-27 22:38:22 -05:00
Amitai Schlair b30cacdf8d Fix longstanding bug (chdir to nonexistent dirs).
In test, set up the post-commit hook for more realism (and bugs!).
To make wrappers work in test, set PERL5LIB, and allow the wrappee's
path to be overridden. Meta-test that post-commit is really hooked
up by verifying that content is getting generated in destdir.

About the longstanding bug, which as far as I know was harmless:
CVS can't operate outside a srcdir, so we're always setting $CWD.
"local $CWD" restores the previous value when we go out of scope.
Usually that's correct. But if we're removing the last file from a
directory, the post-commit hook will exec in a working directory
that's about to not exist (CVS will prune it).

The fix: chdir() manually in cvs_runcvs(), so we can selectively
not chdir() back.
2013-01-27 22:09:57 -05:00
https://www.google.com/accounts/o8/id?id=AItOawlRjjrKEyPmXnh2qBEGx9PgH5DP32wCMAQ a7131ffc3e 2013-01-27 04:30:54 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlRjjrKEyPmXnh2qBEGx9PgH5DP32wCMAQ 4ae8a5e179 2013-01-27 04:23:38 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlRjjrKEyPmXnh2qBEGx9PgH5DP32wCMAQ 181a83963e 2013-01-27 04:22:40 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlRjjrKEyPmXnh2qBEGx9PgH5DP32wCMAQ 5d0312c280 2013-01-27 04:21:59 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlRjjrKEyPmXnh2qBEGx9PgH5DP32wCMAQ 5383207703 2013-01-27 04:20:15 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlRjjrKEyPmXnh2qBEGx9PgH5DP32wCMAQ d4e0aa8853 2013-01-27 04:04:41 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlRjjrKEyPmXnh2qBEGx9PgH5DP32wCMAQ 47f517aeb1 2013-01-27 04:03:38 -04:00
Amitai Schlair 4d4c15a7c6 Merge branch 'cvs' of github.com:schmonz/ikiwiki into cvs 2013-01-25 08:47:52 -05:00
Amitai Schlair 64370885cc Merge branch 'master' into cvs 2013-01-25 08:47:17 -05:00
Joey Hess ea21db6b71 Merge branch 'master' of ssh://git.ikiwiki.info 2013-01-24 10:53:02 +11:00
Joey Hess e5d82ef868 trail: Avoid massive slowdown caused by pagetemplate hook when displaying dynamic cgi pages, which cannot use trail anyway.
This seemed to be due to the pagetemplate hook calling prerender. I've
observed this making it take *minutes* for the signin page to be displayed.
ltracing ikiwiki showed it was matching pagespecs a lot.

It may be that this is still a speed pain point when rendering pages, not
just for CGI. So more work may be needed here.
2013-01-24 10:40:35 +11:00
spalax 590527a102 More up-to-date patch 2013-01-21 13:38:23 -04:00
spalax 85788d09e5 2013-01-21 13:23:59 -04:00
http://claimid.com/richard-lyons 31755cc1e2 removed 2013-01-21 12:15:43 -04:00
http://claimid.com/richard-lyons f5dd706396 Question on source for plugins and themes plugin. 2013-01-21 12:13:02 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlCFhR_YAuzSkesD1dM03GnKbGfitdB8dE 5cabb1d308 2013-01-20 10:14:46 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlRjjrKEyPmXnh2qBEGx9PgH5DP32wCMAQ d23ecdea29 Added a comment: figured it out 2013-01-19 11:59:10 -04:00
125.118.197.218 4ee95c08da poll vote (Accept both) 2013-01-18 23:34:10 -04:00
http://claimid.com/richard-lyons 3b92fb529b Added note about apache2 userdir mod. 2013-01-18 16:53:00 -04:00
https://openid.fmarier.org/ 33c38a9558 Add a link to my own migration notes 2013-01-18 04:42:05 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlvXbHYq84PNWzprLPASDcGgN-beeYMoOg 066cabd5a6 Add a patch tag 2013-01-12 20:42:36 -04:00
Joey Hess 37cf511f06 poll: Add expandable option to allow users to easily add new choices to a poll. 2013-01-10 12:43:27 -04:00
Joey Hess 5e547c3aa1 clean up 2013-01-09 13:47:41 -04:00
http://pmate.myopenid.com/ 38632c7420 updated my homepage and blog addresses 2013-01-09 11:23:22 -04:00
http://tgpfeiffer.myopenid.com/ 68cb5c9bcc 2013-01-08 19:55:53 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlOk9VewMsQ9aV2U9mkpZdHK_BQtu33EGE 04a4b42e74 a little sandbox test 2013-01-06 12:37:06 -04:00
Joey Hess 7173ef1b13 htmlscrubber: Allow the URI schemes of major VCS's. 2013-01-05 17:25:47 -04:00
Simon McVittie 020b97577a clean the sandbox 2013-01-05 14:52:10 +00:00
http://smcv.pseudorandom.co.uk/ b8072f9641 2013-01-04 09:04:53 -04:00
test 1af78eafc0 2013-01-04 07:15:35 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlGhXE7l6sZKhPIyAMe2RSfm6Iet4JwEYY 895b4dd26f 2013-01-04 01:58:29 -04:00
JoshTriplett c635611232 2013-01-03 14:56:07 -04:00
Joey Hess b18d621873 close 2013-01-02 15:33:13 -04:00
Joey Hess 95bfa99e2a Merge branch 'master' of ssh://git.ikiwiki.info 2013-01-02 15:32:30 -04:00
Joey Hess 229ca60acb changelog 2013-01-02 15:32:01 -04:00
Joey Hess 22cb87c684 Merge remote-tracking branch 'smcv/ready/trail' 2013-01-02 15:31:10 -04:00
Joey Hess 812a5a136d changelog 2013-01-02 15:30:25 -04:00
Joey Hess c61af5c608 Merge commit '6e962a2d747bd8a8bbbdfc5b8eaeb689100c0b1c' 2013-01-02 15:29:50 -04:00
http://smcv.pseudorandom.co.uk/ 252071a20f branch to fix this 2013-01-02 15:28:07 -04:00
Simon McVittie 7029f98bc7 trail: remove excess presence-dependencies
Since trail members are explicitly rebuilt if the information used for
their prev/up/next boxes changes, they don't need another dependency
on the trail itself. (If the trail disappears, it will disappear from
the member's member_to_trails entry, causing a rebuild; so the add_depends
is redundant.)

Similarly, since trail members are explicitly rebuilt if their next
or previous item, or its title, changes, the presence dependencies on the
next and previous items are redundant.
2013-01-02 19:19:32 +00:00
Simon McVittie 7b06a65221 If the title of a trail or trail-member changes, rebuild affected pages
If the title of a trail changes, each member of that trail must be
rebuilt, for its prev/up/next box to reflect the new title.

If the title of a member changes, its next and previous items (if any)
must be rebuilt, for their prev/up/next boxes to reflect the new title.
2013-01-02 19:19:32 +00:00
Simon McVittie 94a5130963 Add more trail regression tests
Some of these untested bits have in fact regressed, and as such, are
marked as TODO.
2013-01-02 19:19:32 +00:00
Simon McVittie 1daa68b8b7 trail: call prerender from build_affected
In the unlikely event that the ordered contents of a trail have changed
without the TRAILS or TRAILLOOP template variables being evaluated
(for instance, all trail directives are removed from a former trail
that uses a custom pagetemplate that doesn't contain TRAILS), we might
get here without having already called prerender.
2013-01-02 19:19:32 +00:00
Simon McVittie 48664cb933 Ignore MYMETA.yml, generated by Makefile.PL 2013-01-02 19:19:32 +00:00