So I have my main repository and as a backend I want to add submodules which are repositories I don't have write access to. However I want to be able to keep on pulling from the mainstream.
I want to add a plugin to one of those backends that reside as a submodule, and to do that the plugin code must be placed inside the backends/foo/src/ directory of my submodule. At the same time I want to keep my backends/foo/src/plugin as a part of my main repo.
Is there a way to do that with github ?
backends/foo/would be a submodule, andsrc/foo-plugin.c, which references../backends/foo/foo.h, would be in your repo? Where do you think the problem is?MainRepo(Submodule(PartOfMainRepo)).