Simon McVittie [Tue, 25 Aug 2009 21:18:52 +0000 (22:18 +0100)]
reply
Joey Hess [Tue, 25 Aug 2009 21:11:29 +0000 (17:11 -0400)]
Revert "Allow add_depends to take an arrayref"
This reverts commit
e4cd168ebedd95585290c97ff42234344bfed46c.
There was no benefit to this change.
Joey Hess [Tue, 25 Aug 2009 21:09:52 +0000 (17:09 -0400)]
Merge commit 'smcv/ready/optimize-depends'
Joey Hess [Tue, 25 Aug 2009 17:39:33 +0000 (13:39 -0400)]
Fix example blog's tags/life to not have a broken PageSpec. Closes: #543510
Joey Hess [Tue, 25 Aug 2009 02:10:12 +0000 (22:10 -0400)]
better analysis of why the depends keep growing
Joey Hess [Tue, 25 Aug 2009 01:54:22 +0000 (21:54 -0400)]
at this point I'm down to deciding which specific commits to merge and
which were dead ends
Simon McVittie [Mon, 24 Aug 2009 23:45:28 +0000 (00:45 +0100)]
Respond with benchmarks and an updated branch
Simon McVittie [Sat, 1 Aug 2009 11:43:37 +0000 (12:43 +0100)]
Indicate that pagespec_merge() is no longer needed (much rejoicing?)
Simon McVittie [Sat, 25 Jul 2009 19:04:04 +0000 (20:04 +0100)]
Remove now-unused function pagespec_merge
Now that dependencies are a list of pagespecs with an implicit "or"
operation, there's no need to try to merge pagespecs under normal use.
ikiwiki-transition contains the only use of the function, so move
it there rather than deleting it entirely (it's used to concatenate all
admins' lists of locked pages).
Simon McVittie [Sat, 1 Aug 2009 11:43:04 +0000 (12:43 +0100)]
Mark "should optimise pagespecs" as done
Simon McVittie [Mon, 24 Aug 2009 23:21:19 +0000 (00:21 +0100)]
use pagespec_match_list
Simon McVittie [Mon, 24 Aug 2009 23:02:27 +0000 (00:02 +0100)]
IkiWiki::pagename: memoize results
This relies for its correctness on %config, %hooks and pagetype() not
changing.
Simon McVittie [Mon, 24 Aug 2009 22:16:15 +0000 (23:16 +0100)]
Allow add_depends to take an arrayref
Simon McVittie [Mon, 24 Aug 2009 22:01:42 +0000 (23:01 +0100)]
Use a hash to de-duplicate dependencies
Simon McVittie [Mon, 24 Aug 2009 21:18:46 +0000 (22:18 +0100)]
Don't bother to save {depends} to the index
As per Joey's review.
Simon McVittie [Thu, 18 Jun 2009 14:55:55 +0000 (15:55 +0100)]
calendar, inline, map: don't pre-join dependencies
The new dependency handling works better (eliminates more duplicates) if
dependencies are split up. On the same wiki mentioned in the previous
commit, this saves about a second (i.e. 4%) on the same test.
Simon McVittie [Thu, 18 Jun 2009 14:54:53 +0000 (15:54 +0100)]
Optimize the dependencies list
On a large wiki you can spend a lot of time reading through large lists
of dependencies to see whether files need to be rebuilt (album, with its
one-page-per-photo arrangement, suffers particularly badly from this).
The dependency list is currently a single pagespec, but it's not used like
a normal pagespec - in practice, it's a list of pagespecs joined with the
"or" operator.
Accordingly, change it to be stored as a list of pagespecs. On a wiki
with many tagged photo albums, this reduces the time to refresh after
`touch tags/*.mdwn` from about 31 to 25 seconds.
Getting the benefit of this change on an existing wiki requires a rebuild.
Joey Hess [Mon, 24 Aug 2009 19:57:10 +0000 (15:57 -0400)]
move undownloadable item to discussion page
Joey Hess [Mon, 24 Aug 2009 19:52:56 +0000 (15:52 -0400)]
close as wontfix
Joey Hess [Mon, 24 Aug 2009 19:51:05 +0000 (15:51 -0400)]
fixed via getsource plugin
Joey Hess [Mon, 24 Aug 2009 19:47:24 +0000 (15:47 -0400)]
response
Joey Hess [Mon, 24 Aug 2009 18:09:58 +0000 (14:09 -0400)]
fix link
Joey Hess [Mon, 24 Aug 2009 18:08:20 +0000 (14:08 -0400)]
clarify and add link
Joey Hess [Mon, 24 Aug 2009 18:05:11 +0000 (14:05 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
http://schmonz.livejournal.com/ [Mon, 24 Aug 2009 08:20:31 +0000 (04:20 -0400)]
response
http://www.cse.unsw.edu.au/~willu/ [Mon, 24 Aug 2009 07:13:25 +0000 (03:13 -0400)]
Comment on another possible solution to the use case.
Amitai Schlair [Mon, 24 Aug 2009 03:27:53 +0000 (23:27 -0400)]
why I needed this, in case it's useful to someone else
Amitai Schlair [Sun, 23 Aug 2009 22:25:02 +0000 (18:25 -0400)]
Instead of passing the args through the wrapper so the CVS plugin
can evaluate them, check them in the wrapper right off the bat.
This doesn't prevent the deadlock in web commits that need to cvs
add directories, but I'm committing so Joey can take a look if he
wants.
Amitai Schlair [Sun, 23 Aug 2009 22:15:56 +0000 (18:15 -0400)]
response
http://schmonz.livejournal.com/ [Sun, 23 Aug 2009 21:54:38 +0000 (17:54 -0400)]
use a map instead
Joey Hess [Sun, 23 Aug 2009 20:27:18 +0000 (16:27 -0400)]
update config file snippet to use current git_wrapper name
Amitai Schlair [Sun, 23 Aug 2009 19:43:18 +0000 (15:43 -0400)]
Explain that command must run unattended, and lose the debug statement.
Amitai Schlair [Sun, 23 Aug 2009 19:41:29 +0000 (15:41 -0400)]
new rsync plugin
Amitai Schlair [Sun, 23 Aug 2009 19:21:39 +0000 (15:21 -0400)]
I'm not redefining any subs after all, don't prevent those warnings.
Amitai Schlair [Sun, 23 Aug 2009 19:18:41 +0000 (15:18 -0400)]
Add rsync plugin, though the only rsync-specific thing about it is the
assumption that uploading an entire site is efficient.
http://rtfb.myopenid.com/ [Sun, 23 Aug 2009 15:40:44 +0000 (11:40 -0400)]
Added closing parenthesis
Joey Hess [Sat, 22 Aug 2009 18:29:18 +0000 (14:29 -0400)]
uh oh
http://xn--andreaskrger-llb.myopenid.com/ [Sat, 22 Aug 2009 10:25:12 +0000 (06:25 -0400)]
http://xn--andreaskrger-llb.myopenid.com/ [Sat, 22 Aug 2009 10:07:38 +0000 (06:07 -0400)]
Amitai Schlair [Sat, 22 Aug 2009 07:52:45 +0000 (03:52 -0400)]
no more wrapper wrapper
Amitai Schlair [Sat, 22 Aug 2009 06:22:36 +0000 (02:22 -0400)]
Oops, use the more recent (and less brittle) directory test.
Amitai Schlair [Sat, 22 Aug 2009 06:05:59 +0000 (02:05 -0400)]
No more wrapper wrapper.
Amitai Schlair [Sat, 22 Aug 2009 06:02:34 +0000 (02:02 -0400)]
response
Amitai Schlair [Sat, 22 Aug 2009 05:25:41 +0000 (01:25 -0400)]
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 Schlair [Sat, 22 Aug 2009 02:51:12 +0000 (22:51 -0400)]
Put old unixauth plugin under git control. Needs some serious attention.
Joey Hess [Fri, 21 Aug 2009 20:09:26 +0000 (16:09 -0400)]
response
Joey Hess [Fri, 21 Aug 2009 19:58:56 +0000 (15:58 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Amitai Schlair [Thu, 20 Aug 2009 20:10:56 +0000 (16:10 -0400)]
response
Joey Hess [Thu, 20 Aug 2009 16:29:19 +0000 (12:29 -0400)]
Italian program translation from Luca Bruno.
AlexandreDupas [Wed, 19 Aug 2009 18:45:29 +0000 (14:45 -0400)]
formatting
AlexandreDupas [Wed, 19 Aug 2009 18:42:35 +0000 (14:42 -0400)]
Add some details
Joey Hess [Wed, 19 Aug 2009 18:12:37 +0000 (14:12 -0400)]
another issue
Joey Hess [Wed, 19 Aug 2009 18:05:59 +0000 (14:05 -0400)]
po: Fixed to run rcs_add ralative to srcdir.
AlexandreDupas [Wed, 19 Aug 2009 16:33:09 +0000 (12:33 -0400)]
bugs with po and git plugins
http://emptty.myopenid.com/ [Wed, 19 Aug 2009 09:08:49 +0000 (05:08 -0400)]
Jimmy Tang [Tue, 18 Aug 2009 14:22:02 +0000 (15:22 +0100)]
added myself as a user
Jimmy Tang [Tue, 18 Aug 2009 14:17:58 +0000 (15:17 +0100)]
added my homepage link
Joey Hess [Mon, 17 Aug 2009 20:30:21 +0000 (16:30 -0400)]
respond
http://smcv.pseudorandom.co.uk/ [Mon, 17 Aug 2009 20:15:41 +0000 (16:15 -0400)]
responses to code review (I'll try to get them implemented later this week)
Joey Hess [Mon, 17 Aug 2009 16:26:51 +0000 (12:26 -0400)]
Updated French program translation from Philippe Batailler. Closes: #542036
Joey Hess [Sun, 16 Aug 2009 20:32:35 +0000 (16:32 -0400)]
clarification
Joey Hess [Sun, 16 Aug 2009 18:40:40 +0000 (14:40 -0400)]
add l10n branch
Joey Hess [Sun, 16 Aug 2009 18:32:10 +0000 (14:32 -0400)]
Remove deprecated ikiwiki/blog and ikiwiki/preprocessordirective pages from the basewiki.
Joey Hess [Sun, 16 Aug 2009 17:53:44 +0000 (13:53 -0400)]
minor problem
Joey Hess [Sun, 16 Aug 2009 17:49:56 +0000 (13:49 -0400)]
changelog
Joey Hess [Sun, 16 Aug 2009 17:48:33 +0000 (13:48 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 16 Aug 2009 17:47:04 +0000 (13:47 -0400)]
created_before/after: throw error if specified page does not exist
This assumes that no ctime means the page doesn't exist, which seems
reasonable.
Joey Hess [Sun, 16 Aug 2009 17:45:10 +0000 (13:45 -0400)]
use pagespec_match_list for feedpages
This is both faster, and propigates any error in processing the feedpages
pagespec out to display on the page. Which may have been why I didn't use
it before, but currently seems like a good thing to do, since it explains
why your feeds are empty..
Joey Hess [Sun, 16 Aug 2009 17:43:31 +0000 (13:43 -0400)]
fix error message display
The gettext call can clear $@ in at least some cases.
Amitai Schlair [Sun, 16 Aug 2009 15:58:28 +0000 (11:58 -0400)]
Life is simpler on a git branch.
Amitai Schlair [Sun, 16 Aug 2009 15:56:16 +0000 (11:56 -0400)]
switched my DreamHost install to pkgsrc, happily
http://www.cse.unsw.edu.au/~willu/ [Sun, 16 Aug 2009 13:01:12 +0000 (09:01 -0400)]
comment on part of Joey's comment
PaulePanter [Sun, 16 Aug 2009 12:34:57 +0000 (08:34 -0400)]
Add sentence to clarify how to get feeds for the RecentChanges page.
PaulePanter [Sun, 16 Aug 2009 11:01:39 +0000 (07:01 -0400)]
Fix (hopefully) grammar.
Joey Hess [Sun, 16 Aug 2009 02:18:05 +0000 (22:18 -0400)]
po: Better fix for missing underlay translation problem.
If a page is taken from the underlay, and one of the specified languages
does not have po files in the underlay, it would create a broken link
to the translated version of the page for that language.
With this change, there's no broken link.
Joey Hess [Sun, 16 Aug 2009 01:08:17 +0000 (21:08 -0400)]
replace N/A with 0
I think the N/A was not intended to be visible, but it can show up as the
percent translated to a language. This happens if the page is located in an
underlay, and not translated to the language in any other underlay.
Joey Hess [Sun, 16 Aug 2009 01:00:27 +0000 (21:00 -0400)]
update
Joey Hess [Sat, 15 Aug 2009 23:39:51 +0000 (19:39 -0400)]
apache config details
Joey Hess [Sat, 15 Aug 2009 23:16:22 +0000 (19:16 -0400)]
another problem..
Joey Hess [Sat, 15 Aug 2009 22:28:51 +0000 (18:28 -0400)]
update
Joey Hess [Sat, 15 Aug 2009 21:29:05 +0000 (17:29 -0400)]
another problem
Joey Hess [Sat, 15 Aug 2009 21:07:25 +0000 (17:07 -0400)]
link to l10n.ikiwiki.info website
Joey Hess [Sat, 15 Aug 2009 21:00:16 +0000 (17:00 -0400)]
further otherlanguages list styling
Joey Hess [Sat, 15 Aug 2009 20:42:29 +0000 (16:42 -0400)]
update for consistency
Joey Hess [Sat, 15 Aug 2009 20:34:20 +0000 (16:34 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 15 Aug 2009 20:33:54 +0000 (16:33 -0400)]
Add basic styling of po plugin's languages list.
Joey Hess [Sat, 15 Aug 2009 20:15:36 +0000 (16:15 -0400)]
another problem
Joey Hess [Sat, 15 Aug 2009 19:49:07 +0000 (15:49 -0400)]
resolve conflict
Joey Hess [Sat, 15 Aug 2009 19:20:46 +0000 (15:20 -0400)]
noticed a problem
Joey Hess [Sat, 15 Aug 2009 18:26:07 +0000 (14:26 -0400)]
reorg and cleanup
Joey Hess [Sat, 15 Aug 2009 18:10:39 +0000 (14:10 -0400)]
Allow building ikiwiki on systems w/o po4a -- building of the translated underlays will be skipped in this case.
Joey Hess [Sat, 15 Aug 2009 17:59:34 +0000 (13:59 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 15 Aug 2009 17:59:04 +0000 (13:59 -0400)]
review of ready branch
Joey Hess [Sat, 15 Aug 2009 17:58:04 +0000 (13:58 -0400)]
indentation
Simon McVittie [Thu, 18 Jun 2009 14:32:55 +0000 (15:32 +0100)]
meta: depend on absolute page name, not relative
Previously, [[!meta redir="foo"]] on bar, where bar/foo exists, would
depend on "foo" (which matches nothing, probably) rather than "bar/foo".
(cherry picked from commit
f27ec09b72f886415e63fe394e18d9c3cb3913bf)
Simon McVittie [Thu, 18 Jun 2009 14:34:48 +0000 (15:34 +0100)]
img: depend on absolute page name, not relative
Previously, [[!img bar.jpg]] on foo, where foo/bar.jpg exists, would
get a dependency equivalent to "glob(bar.jpg)" (which might not match
anything), rather than the correct "glob(foo/bar.jpg)".
(cherry picked from commit
85b2ec49ecd12dd23e5c432933457a72744ce7cb)
http://www.cse.unsw.edu.au/~willu/ [Sat, 15 Aug 2009 02:21:04 +0000 (22:21 -0400)]
http://www.cse.unsw.edu.au/~willu/ [Sat, 15 Aug 2009 01:43:47 +0000 (21:43 -0400)]
new dependency added
http://www.cse.unsw.edu.au/~willu/ [Fri, 14 Aug 2009 23:10:57 +0000 (19:10 -0400)]
Related comments on openid redirection.
Amitai Schlair [Fri, 14 Aug 2009 21:43:12 +0000 (17:43 -0400)]
switched my DreamHost install to pkgsrc, happily