dokuwiki-plugin-gitbacked icon indicating copy to clipboard operation
dokuwiki-plugin-gitbacked copied to clipboard

Dokuwki, push to upstream, if upstream in connetable.

Open nelg opened this issue 3 years ago • 1 comments
trafficstars

This is useful for people running wiki's offline, which need to then sync back up at a later time.

My use case is:

  1. I have a copy of dokuwiki in a docker container on my laptop.
  2. I make commits to it, when offline / and or not connected to the network with the git repo.
  3. 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.

nelg avatar Jul 24 '22 03:07 nelg

looks useful for some scenarios, thanks. @mhoffrog?

woolfg avatar Jul 26 '22 09:07 woolfg

Maybe consider periodic push, See https://github.com/woolfg/dokuwiki-plugin-gitbacked/issues/51#issuecomment-1401942078

annProg avatar Jan 24 '23 13:01 annProg

@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?

mhoffrog avatar May 07 '23 17:05 mhoffrog

@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.

woolfg avatar May 07 '23 21:05 woolfg