forwarded 611068 
http://ikiwiki.info/bugs/transient_autocreated_tagbase_is_not_transient_autoindexed/
thanks

On Tue, 25 Jan 2011 at 22:03:11 +0200, Tuomas Jormola wrote:
> On Tue, Jan 25, 2011 at 01:55:10PM -0400, Joey Hess wrote:
> > It seems wrong for a missing file in an underlay to result in
> > every wiki using that underlay having an index page added. Ikiwiki's own
> > basewiki has a wikiicons subdirectory without an index page. And
> > ikiwiki cannot modify the underlay to have autoindex add the file to it.

My ready/autoindex branch (see URL above) adds a regression test for
the current behaviour, to clarify that this is intentional.

Now that transient pages exist and autoindex optionally uses them, perhaps
it would be appropriate for autoindex to index directories in underlays,
if configured to use the transient underlay to do so, while preserving
the current behaviour if autoindex would commit its output? My
ready/autoindex-more-often branch does that.

> Except that since autoindex doesn't work for underlays, I don't get e.g.
> $destdir/software/foo/api/index.html or destdir/software/foo/src/index.html.

I suspect that ideally, you don't want $srcdir/software/foo/api.mdwn in your
wiki's git repository either; but with autoindex_commit => 0 in your wiki's
configuration (and a fairly recent ikiwiki), that's not a prerequisite for
having $destdir/software/foo/api/index.html created as an index.

    S




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to