]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
Populate pagectime from mtime or inode change time, whichever is older
authorSimon McVittie <smcv@debian.org>
Tue, 9 Jun 2015 21:22:54 +0000 (22:22 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 9 Jun 2015 21:22:54 +0000 (22:22 +0100)
commit2fe003dac47259aabfc7603ce60ead5a4030c80c
tree3c1ce4c5d9f46fef912a080f0ae85be7007e87bc
parentb6388d6fbd807f742df25f3fc15ae67360f8e6cc
Populate pagectime from mtime or inode change time, whichever is older

When building ikiwiki from a tarball, the mtime (conceptually, the
last modification date of the file) is preserved by tar, but the inode
change time (creation/metadata-change date of *this copy* of the file)
is not. This seems to lead to unstable sort ordering and
unreproducible builds.

The page can't possibly have been modified before it was created, so
we can assume that the modification date is an upper bound for the
creation date.
IkiWiki/Render.pm
debian/changelog