dokuwiki-plugin-gitbacked
dokuwiki-plugin-gitbacked copied to clipboard
Dokuwki, push to upstream, if upstream in connetable.
This is useful for people running wiki's offline, which need to then sync back up at a later time.
My use case is:
- I have a copy of dokuwiki in a docker container on my laptop.
- I make commits to it, when offline / and or not connected to the network with the git repo.
- I push/pull later when online.. or when I next do a an edit and am online.
The code makes sure that the plugin does not cause dokuwiki to hang.
Squash commits on merge.
looks useful for some scenarios, thanks. @mhoffrog?
Maybe consider periodic push, See https://github.com/woolfg/dokuwiki-plugin-gitbacked/issues/51#issuecomment-1401942078
@woolfg I'd prefer to close this PR with reference to #51 - solution for a separate cron job doing the pushes. This would keep this plugin more simple in terms of configuration and robustness. What do you think?
@woolfg I'd prefer to close this PR with reference to #51 - solution for a separate cron job doing the pushes. This would keep this plugin more simple in terms of configuration and robustness. What do you think?
yup, agree, can be done using a cron job as described in #51 - @nelg, if you want to proceeed with the PR, please reopen it.