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

Support optionally a) separated repos for pages and media and b) additional repos for core php runtime and for conf

Open mhoffrog opened this issue 4 years ago • 3 comments
trafficstars

Feature request:

I would like to configure:

  1. separate repos for pages and for media
  2. additional repo for the php core runtime path
  3. additional repo for the conf path

Motivation for:

  1. It is a great benefit of DW that it manages the pages in plain text format. So I would like to avoid to pollute the pages repo with binary artifacts => it would be good to maintain a separate git repo for the media files.
  2. The core runtime for a DW instance typically requires some lifecycle management in terms of plugin installations, plugin upgrades, core upgrades etc.. So I would like to keep track of those changes by gitbacked as well.
  3. As the DW configuration is a critical part of the availability of a DW instance, I would like to let gitbacked keep track of any configuration change as well.

Solution:

As I did implement this kind of extension I will create an appropriate pull request soon:

gitbacked_separate_repos_01

mhoffrog avatar Apr 01 '21 12:04 mhoffrog

thanks @mhoffrog for the PR, looks good. So it should be backward compatible, right? If people update and do not have values for the options, everything should still work?

woolfg avatar Nov 24 '21 10:11 woolfg

Yes @woolfg, this is correct. None of the "Optional:" marked configuration properties must be set. If those are left empty, then anything works as before. So it is backward compatible with a probable existing configuration from an installed former version of this plugin.

mhoffrog avatar Nov 28 '21 00:11 mhoffrog

Hey @mhoffrog, as my time is very limited and I am currently not actively using DokuWiki and the plugin, would you be interested in becoming a maintainer and helping with the plugin? Especially testing of pull requests (mostly yours ;) ) is very time consuming when you don't use the the wiki yourself. Feel free to contact me (see options on gassler.dev ) - cheers, Wolfgang

woolfg avatar Jan 10 '22 16:01 woolfg