Skip to content

Add buttons to create a superproject and submodules #2142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ShalokShalom opened this issue Jul 11, 2017 · 8 comments
Open

Add buttons to create a superproject and submodules #2142

ShalokShalom opened this issue Jul 11, 2017 · 8 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@ShalokShalom
Copy link

ShalokShalom commented Jul 11, 2017

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

@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Jul 11, 2017
@lunny
Copy link
Member

lunny commented Jul 11, 2017

But I think maybe Gitea has already supported that?

@bkcsoft
Copy link
Member

bkcsoft commented 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

@3shirtlessmen
Copy link

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

@ShalokShalom ShalokShalom changed the title Superproject support Add buttons to create a superproject and submodules Jul 14, 2017
@bkcsoft
Copy link
Member

bkcsoft commented Aug 8, 2017

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

@ShalokShalom
Copy link
Author

ShalokShalom commented Aug 8, 2017

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

@NetOpWibby
Copy link

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

@davduke
Copy link

davduke commented Jun 13, 2018

Hi! I would be also interested on this feature!

@markuman
Copy link

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.

project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-as-gitea-fork that referenced this issue Jan 23, 2025
…from algernon/forgejo:b/v1.21/missing-branch-makes-server-sad into v1.21/forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2142
Reviewed-by: Gusted <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

7 participants