dokuwiki-plugin-gitbacked
dokuwiki-plugin-gitbacked copied to clipboard
Is it possible to use multple git repos?
I would like to use one git repo per "main directory" to enable fine-grained permissions on the git side.
I think you have to change a lot for this feature. Can you elaborate more on your use case?
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.
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.