Is there a reason for srcdir and repository to be put into the home dir by default? Especially the srcdir seems to be misplaced there because it looks, smells and usually has the same name as the clone you want to generate exactly there to edit the wiki on the command line. Both srcdir and repository should usually be left alone and that doesn't sound like the files you would want to place highly visible into $HOME

Sure, I have no problem relocating the dirs myself or editing/replacing /etc/ikiwiki/auto.setup whenever I reinstall a new PC, but a better default would spare me and others a bit of work.

To me it seems $HOME/.ikiwiki/ might be a good default for storing all this essentially-to-be-ignored dirs as it is created anyway.

Right? Wrong?

i have no opinion on whether there should be different default directories, but if new directories are desired, they should go to their respective paths according to basedir-spec.

i'm no expert in that, but i think it means that the setup files go to XDG_CONFIG_HOME (~/.config/ikiwiki/${wikiname_short}.setup), and srcdir and repository go to XDG_DATA_HOME (~/.local/share/ikiwiki/${wikiname_short}).

Comment by chrysn [christian.amsuess.com] Sun May 4 09:30:20 2014