dokuwiki-plugin-gitbacked
dokuwiki-plugin-gitbacked copied to clipboard
Add old revisions?
Is there a way of adding all old revisions in an existing installation?
Do you mean to add all dokuwiki revs as git commits? Such a feature is currently not available but I would be very happy if you want to develop such a feature and can provide some help as well
This feature is added in my enhancement version #12. Use importer for it.
Is the importer since deprecated, and dokuwiki2git the recommended way to git-import existing wiki articles into the git repo? The situation is unclear to me and documentation little.
I now personally use dokuwiki2git to import the history data of DokuWiki into a Git repository. I've also made a fork with some modification to support incremental importing.
I tried your fork, but am getting these errors (unfortunately I cannot comment on the fork's site):
09:37 $ ./dokuwiki2git ~/var/dokuwiki/dokuwiki/data
PHP Warning: require_once(/home/u/var/dokuwiki/dokuwiki/data/inc/init.php): failed to open stream: No such file or directory in /home/u/opt/dokuwiki2git/dokuwiki.php on line 5
PHP Fatal error: require_once(): Failed opening required '/home/u/var/dokuwiki/dokuwiki/data/inc/init.php' (include_path='.:/usr/share/pear') in /home/u/opt/dokuwiki2git/dokuwiki.php on line 5
ERROR - Unable to read php scripts from the specified dokuwiki directory
09:40 $ php dokuwiki.php ~/var/dokuwiki/dokuwiki/data
PHP Warning: require_once(/home/u/var/dokuwiki/dokuwiki/data/inc/init.php): failed to open stream: No such file or directory in /home/u/opt/dokuwiki2git/dokuwiki.php on line 5
PHP Fatal error: require_once(): Failed opening required '/home/u/var/dokuwiki/dokuwiki/data/inc/init.php' (include_path='.:/usr/share/pear') in /home/u/opt/dokuwiki2git/dokuwiki.php on line 5
What might I be doing wrong?
It seems that the path of dokuwiki is not correct. Also note that the latest version of my fork is in the devel branch rather than master.