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

Is it possible to use multple git repos?

Open mifritscher opened this issue 5 years ago • 7 comments

I would like to use one git repo per "main directory" to enable fine-grained permissions on the git side.

mifritscher avatar Jan 20 '19 11:01 mifritscher

I think you have to change a lot for this feature. Can you elaborate more on your use case?

woolfg avatar Jan 20 '19 14:01 woolfg

I would like to use this for editing / storing documentation in source control alongside the source code it refers to, so that both are versioned in-sync. There would be multiple independent projects, possibly stored in different Git hosting systems. To do that, I'd want something like:

  • Ability to specify a different git repository per dokuwiki namespace.
  • Ability to configure the path within each repository to the dokuwiki content directories.

hmcts-jmoore avatar Jun 06 '19 09:06 hmcts-jmoore

I do not know exactly how Dokuwiki organizes namespaces in the file system but if there is one folder per namespace, maybe a quick and dirty solution would be to using symlinks from one folder to the respective repo? Otherwise, the implementation might be a bit of work, but I am happy to help by reviewing and merging it to the project.

woolfg avatar Jun 06 '19 10:06 woolfg