EDIT: I changed this topic from submodule and superproject support to button support
But I think maybe Gitea has already supported that?
As I've explained on IRC, Gitea already has support for Submodules, and a Superproject is just a name for a repo that only contains Submodules.
There is no button in Gitea to add submodules to a repo, but that would be another issue 馃檪
Using the example at the bottom of this should help in adding Submodules to a repo in Gitea: https://git-scm.com/docs/gitmodules
A button to add a sub module (or update an existing sub module) would be handy!
@3shirtlessmen The "button" would be the "edit"-button on .gitmodules
;)
Gitea is a GUI which offers solutions in a more easy way?
The above link didn't get me any closer to figuring out how to use submodules but this link did: https://git-scm.com/book/en/v2/Git-Tools-Submodules
Hi! I would be also interested on this feature!
But I think maybe Gitea has already supported that?
Displaying submodules works already (as in github or gitlab). See this example project https://git.osuv.de/m/tinywebdis which uses https://github.com/soveran/resp as a submodule.
However, nor github nor gitlab supports this feature to manage submodules in the web UI.
In my opinion, managing submodules on the remote server will interrupt the local development workflow. You need to run git pull --recurse-submodules
in your local environment when changes are made on remote.
Most helpful comment
Displaying submodules works already (as in github or gitlab). See this example project https://git.osuv.de/m/tinywebdis which uses https://github.com/soveran/resp as a submodule.
However, nor github nor gitlab supports this feature to manage submodules in the web UI.
In my opinion, managing submodules on the remote server will interrupt the local development workflow. You need to run
git pull --recurse-submodules
in your local environment when changes are made on remote.