Gitea: Add buttons to create a superproject and submodules

Created on 11 Jul 2017  路  8Comments  路  Source: go-gitea/gitea

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

kinproposal

Most helpful comment

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.

All 8 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

kifirkin picture kifirkin  路  3Comments

flozz picture flozz  路  3Comments

jonasfranz picture jonasfranz  路  3Comments

internalfx picture internalfx  路  3Comments