]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Add deterministic option and use it for the docwiki
authorSimon McVittie <smcv@debian.org>
Tue, 9 Jun 2015 10:38:55 +0000 (11:38 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 9 Jun 2015 21:30:43 +0000 (22:30 +0100)
It doesn't do anything yet.

IkiWiki.pm
debian/changelog
docwiki.setup

index 6e19d482a899073fd790baef18d44d78e389e9f0..fe5af6d15a769250879accb6592b45d84f5c555e 100644 (file)
@@ -566,6 +566,14 @@ sub getsetup () {
                safe => 1,
                rebuild => 1,
        },
+       deterministic => {
+               type => "boolean",
+               default => 0,
+               description => "try harder to produce deterministic output",
+               safe => 1,
+               rebuild => 1,
+               advanced => 1,
+       },
 }
 
 sub getlibdirs () {
index de2d99b2869fd763c81dd2f7f692bbb8353dd60f..d359bf262d8d29f9b7a363f4281b495f8689328b 100644 (file)
@@ -33,6 +33,7 @@ ikiwiki (3.20150330) UNRELEASED; urgency=medium
     release, leading to unstable sorting
   * Sort backlinks deterministically, by falling back to sorting by href
     if the link text is identical
+  * Add a $config{deterministic} option and use it for the docwiki
 
  -- Joey Hess <id@joeyh.name>  Tue, 28 Apr 2015 12:24:08 -0400
 
index f2b4cc5ca032c17df7e83bf97e776718e7a4357c..cc8f346455862bd2960ae0146971d9a0a6a108cc 100644 (file)
@@ -33,4 +33,5 @@ use IkiWiki::Setup::Standard {
        disable_plugins => [qw{recentchanges openid}],
        rcs => $rcs,
        gitorigin_branch => '', # don't pull during build
+       deterministic => 1,
 }