aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://seanh.myopenid.com/ <http://seanh.myopenid.com/@web>2009-04-02 07:44:33 -0400
committerJoey Hess <joey@kitenet.net>2009-04-02 07:44:33 -0400
commitf8f9cc46b89bab5bc9c0b27e1832a5699c2a3003 (patch)
tree92868d75a1bd2c81a56e5569a5665e80ed54e48a
parent1b4e83941efc308e9a330948a5f6b20bf8326b31 (diff)
downloadikiwiki-f8f9cc46b89bab5bc9c0b27e1832a5699c2a3003.tar
ikiwiki-f8f9cc46b89bab5bc9c0b27e1832a5699c2a3003.tar.gz
-rw-r--r--doc/forum/How_does_ikiwiki_remember_times__63__.mdwn25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/forum/How_does_ikiwiki_remember_times__63__.mdwn b/doc/forum/How_does_ikiwiki_remember_times__63__.mdwn
index ff588fe6c..f199b0f3b 100644
--- a/doc/forum/How_does_ikiwiki_remember_times__63__.mdwn
+++ b/doc/forum/How_does_ikiwiki_remember_times__63__.mdwn
@@ -24,3 +24,28 @@ Do I have it right?
> true modification times out of the VCS, but I haven't found it a big
> deal in practice for the last modification times to be updated to the
> current time when rebuilding a wiki like this. --[[Joey]]
+>
+> > Thanks for the clarification. I ran some tests of my own to make sure I understand it right, and I'm satisfied
+> > that the order of posts in my blog can be retrieved from the VCS using the `--getctime` option, at least if I
+> > choose to order my posts by creation time rather than modification time. But I now know that I can't rely on
+> > page modification times in ikiwiki as these can be lost permanently.
+> >
+> > I would suggest that there should at least be a `--getmtime` option like you describe, and perhaps that
+> > `--getctime` and `--getmtime` be _on by default_. In my opinion the creation times and modification times of
+> > pages in ikiwiki are part of the user's content and are important to protect, because the user may be relying
+> > on them, especially if they use blogging or lists of recently modified pages, etc. Right now the modification
+> > times can be lost permanently.
+> >
+> > Is there a typo in the description of `--getctime` in the man page?
+> >
+> > > --getctime
+> > > Pull **last changed time** for each new page out of the revision
+> > > control system. This rarely used option provides a way to get
+> > > the real creation times of items in weblogs, such as when buildā€
+> > > ing a wiki from a new Subversion checkout. It is unoptimised and
+> > > quite slow. It is best used with --rebuild, to force ikiwiki to
+> > > get the ctime for all pages.
+> >
+> > Surely it is not the _last changed time_ but the _first seen time_ of each page that is pulled out of the VCS?
+> > If the aim is to get the real creation times of items in weblogs, then the last times that the items were
+> > changed in the VCS is not going to help. -- [[seanh]]