On Wed, 18 Jan 2017 at 15:09:19 +0100, Jonas Smedegaard wrote:
> Ikiwiki supports setting (some) options from commandline, loading an
> existing configfile, and dumping settings as a configfile.
> 
> In the past (not certain but I believe worked fine 6 months ago).
> ikiwiki support all three in concert, which I rely on to bootstrap a new
> site from scratch.
> 
> Essentially, this used to work:
> 
>   ikiwiki --setup existing.setup --dumpsetup new.setup

Works for me...

$ cp ~/src/ikiwiki/docwiki.setup ~/tmp
$ ikiwiki --setup docwiki.setup --set wikiname=hello --dumpsetup other.setup
shortcut plugin will not work without shortcuts.mdwn
shortcut plugin will not work without shortcuts.mdwn
shortcut plugin will not work without shortcuts.mdwn
$ file other.setup
other.setup: Perl script text executable

A similar command works for ikiwiki.info's YAML-formatted setup file (which
you can get from the 'setup' branch of ikiwiki's git repository), producing
YAML output.

Perhaps there is something specific to the setup file you are working
with that doesn't work, or some incompatible older version of ikiwiki
in /usr/local (or similar) on the system where it doesn't work?

> Now that command fails.

Fails in what way?

    S

Reply via email to