Go to file
Simon McVittie 24599e3cc9 In all=no conditionals, depend on the influences, not the test pagespec
Previously, if a page like `plugins/trail` contained a conditional like

    [[!if test="backlink(plugins/goodstuff)" all=no]]

(which it gets via `templates/gitbranch`), then the
[[plugins/conditional]] plugin would give `plugins/trail` a dependency on
`(backlink(plugins/goodstuff)) and plugins/trail`. This dependency is
useless: that pagespec can never match any page other than
`plugins/trail`, but if `plugins/trail` has been modified or deleted,
then it's going to be rendered or deleted *anyway*, so there's no point
in spending time evaluating match_backlink for it.

Conversely, the influences from the result were not taken into account,
so `plugins/trail` did not have the
`{ "plugins/goodstuff" => $DEPEND_LINKS }` dependency that it should.

Invert that, depending on the influences but not on the test.

Bug: http://ikiwiki.info/bugs/editing_gitbranch_template_is_really_slow/
2014-03-03 11:30:36 +00:00
Bundle add XML::Writer suggestion for osm plugin 2012-03-03 12:28:24 -04:00
IkiWiki In all=no conditionals, depend on the influences, not the test pagespec 2014-03-03 11:30:36 +00:00
cpan enhancesments for shared hosting 2008-05-05 14:51:26 -04:00
debian prep release 2014-02-27 11:58:54 -04:00
doc 2014-03-03 05:06:44 -04:00
icons Replace Verisign logo with one done in Inkscape 2014-02-14 12:27:18 +00:00
plugins properly encode and decode from/to utf8 when sending rpc to ikiwiki 2014-02-03 20:13:28 -05:00
po update 2014-01-25 17:08:51 -04:00
t Merge remote-tracking branch 'remotes/smcv/ready/template-syntax-test' 2014-02-23 14:31:51 -04:00
templates aggregate: Improve display of post author. 2013-09-05 10:04:38 -04:00
themes Style enclosures like content. 2013-02-21 00:45:10 -05:00
underlays Replace Verisign logo with one done in Inkscape 2014-02-14 12:27:18 +00:00
.gitattributes auto changelog merging 2010-06-25 13:43:02 -04:00
.gitignore Ignore MYMETA.json, produced by recent MakeMaker 2014-02-21 16:39:17 +00:00
.perlcriticrc fix a common case typo 2008-08-12 15:48:44 -04:00
CHANGELOG * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
IkiWiki.pm Allow up to 8 levels of nested directives, rather than previous 3 in directive infinite loop guard. 2014-02-23 14:11:54 -04:00
Makefile.PL add YAML::XS dep to Makefile.PL 2013-12-03 14:58:16 -04:00
NEWS * Work on firming up the plugin interface: 2006-09-09 22:50:27 +00:00
README parameterize FIND and SED 2010-09-27 16:10:13 -04:00
auto-blog.setup use trailinline for the example blog so it gets next/prev links 2011-11-09 22:49:37 +00:00
auto.setup fix case 2009-10-21 13:55:44 -04:00
docwiki.setup disable openid when building doc dir 2010-05-15 23:24:57 -04:00
gitremotes gitremotes: don't fetch the new remote until we've turned off tags 2010-05-09 16:44:47 +01:00
ikiwiki-calendar.in improve usage message 2011-06-13 12:20:21 -04:00
ikiwiki-makerepo remove /recentchanges from .gitignore 2011-12-24 19:43:16 -04:00
ikiwiki-mass-rebuild don't exit sub via next 2011-08-21 17:36:29 -04:00
ikiwiki-transition.in Add preprocessed 'use lib' line to ikiwiki-transition and ikiwiki-calendar if necessary for unusual install. 2010-03-26 13:11:02 -04:00
ikiwiki-update-wikilist update ikiwiki-update-wikilist docs to suggest putting it in /etc/sudoers 2012-08-09 11:48:30 -04:00
ikiwiki-w3m.cgi * Support a w3mmode, which lets w3m run ikiwiki using its local CGI 2006-07-07 21:00:48 +00:00
ikiwiki.in Switch to YAML::XS to work around insanity in YAML::Mo. Closes: #657533 2012-01-28 22:36:14 -04:00
ikiwiki.spec prep release 2014-02-27 11:58:54 -04:00
mdwn2man sync mdwn2man changes from git-annex 2010-12-10 17:36:39 -04:00
pm_filter remove -T from ikiwiki.in, add back if NOTAINT=0 2009-05-22 13:46:07 -04:00
wikilist Fix typo. 2007-04-09 23:54:32 +00:00

README

Use ./Makefile.PL to generate a Makefile, "make" will build the
documentation wiki and a man page, and "make install" will install ikiwiki.

All other documentation is in the ikiwiki documentation wiki, which is also
available online at <http://ikiwiki.info/>


A few special variables you can set while using the Makefile.PL:

  PROFILE=1 turns on profiling for the build of the doc wiki.
  (Uses Devel::NYTProf)

  NOTAINT=0 turns on the taint flag in the ikiwiki program. (Not recommended
  unless your perl is less buggy than mine -- see
  http://bugs.debian.org/411786)

  MAKE, FIND, and SED can be used to specify where you have the GNU
  versions of those tools installed, if the normal make, find, and sed
  are not GNU.

  There are also other variables supported by MakeMaker, including PREFIX,
  INSTALL_BASE, and DESTDIR. See ExtUtils::MakeMaker(3).

  In particular, INSTALL_BASE is very useful if you want to install ikiwiki
  to some other location, as it configures it to see the perl libraries
  there. See `doc/tips/nearlyfreespeech.mdwn` for an example of using this to
  install ikiwiki and its dependencies in a home directory.