Add buttons to create a superproject and submodules #879

Open
opened 2025-11-02 03:40:07 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @ShalokShalom on GitHub (Jul 11, 2017).

EDIT: I changed this topic from submodule and superproject support to button support

Originally created by @ShalokShalom on GitHub (Jul 11, 2017). EDIT: I changed this topic from submodule and superproject support to button support
GiteaMirror added the type/proposal label 2025-11-02 03:40:07 -06:00
Author
Owner

@lunny commented on GitHub (Jul 11, 2017):

But I think maybe Gitea has already supported that?

@lunny commented on GitHub (Jul 11, 2017): But I think maybe Gitea has already supported that?
Author
Owner

@bkcsoft commented on GitHub (Jul 12, 2017):

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

@bkcsoft commented on GitHub (Jul 12, 2017): 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
Author
Owner

@3shirtlessmen commented on GitHub (Jul 13, 2017):

A button to add a sub module (or update an existing sub module) would be handy!

@3shirtlessmen commented on GitHub (Jul 13, 2017): A button to add a sub module (or update an existing sub module) would be handy!
Author
Owner

@bkcsoft commented on GitHub (Aug 8, 2017):

@3shirtlessmen The "button" would be the "edit"-button on .gitmodules ;)

@bkcsoft commented on GitHub (Aug 8, 2017): @3shirtlessmen The "button" would be the "edit"-button on `.gitmodules` ;)
Author
Owner

@ShalokShalom commented on GitHub (Aug 8, 2017):

Gitea is a GUI which offers solutions in a more easy way?

@ShalokShalom commented on GitHub (Aug 8, 2017): Gitea is a GUI which offers solutions in a more easy way?
Author
Owner

@NetOpWibby commented on GitHub (Apr 24, 2018):

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

@NetOpWibby commented on GitHub (Apr 24, 2018): 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
Author
Owner

@davduke commented on GitHub (Jun 13, 2018):

Hi! I would be also interested on this feature!

@davduke commented on GitHub (Jun 13, 2018): Hi! I would be also interested on this feature!
Author
Owner

@markuman commented on GitHub (Jun 13, 2018):

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.

@markuman commented on GitHub (Jun 13, 2018): > 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#879