From 15939a2528d0615562618f6a22eb34427d829cda Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 9 Jun 2015 11:38:55 +0100 Subject: Add deterministic option and use it for the docwiki It doesn't do anything yet. --- IkiWiki.pm | 8 ++++++++ debian/changelog | 1 + docwiki.setup | 1 + 3 files changed, 10 insertions(+) diff --git a/IkiWiki.pm b/IkiWiki.pm index 6e19d482a..fe5af6d15 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -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 () { diff --git a/debian/changelog b/debian/changelog index de2d99b28..d359bf262 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 28 Apr 2015 12:24:08 -0400 diff --git a/docwiki.setup b/docwiki.setup index f2b4cc5ca..cc8f34645 100644 --- a/docwiki.setup +++ b/docwiki.setup @@ -33,4 +33,5 @@ use IkiWiki::Setup::Standard { disable_plugins => [qw{recentchanges openid}], rcs => $rcs, gitorigin_branch => '', # don't pull during build + deterministic => 1, } -- cgit v1.2.3