Feature #1948

Display Git Submodule

Added by Leandro Nunes dos Santos Nunes almost 10 years ago. Updated 5 months ago.

Status:NewStart date:2008-09-25
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:-
Resolution:

Description

Redmine should provide to users a way to navigate on git submodules. Actually it displays a submodule as a simple file. I think redmine should navigate on submodules as part of the project.

git-submodule-view.patch Magnifier (2.46 KB) Bastian Lüttig, 2018-02-28 16:10

History

#1 Updated by Nicolas Chuche almost 10 years ago

Leandro Nunes dos Santos Nunes wrote:

Redmine should provide to users a way to navigate on git submodules. Actually it displays a submodule as a simple file. I think redmine should navigate on submodules as part of the project.

An example so that I could understand the problem ? I don't really use git.

#2 Updated by Eric Davis almost 10 years ago

  • Target version deleted (0.9.0)

Nicolas Chuche wrote:

An example so that I could understand the problem ? I don't really use git.

A git submodule is basically a pointer to another git repository. If you are familar with svn, they are simialr to svn externals.

Example:

This proposal is asking for Redmine to pull in the submodules so their contents can be browsed in Redmine.

#3 Updated by James Turnbull about 9 years ago

+1

#4 Updated by Kiall Mac Innes almost 9 years ago

another +1 .. I'd love to see this.

#5 Updated by Anonymous almost 9 years ago

I would not want the content from submodules to be pulled into the super project. If one is interested on the code of (one or more) submodules, they should be tracked as their own (separate) redmine projects.

A special icon to point out that a certain file is a submodule pointer is perfect imho. A click could go to the repo (if it's here). Github does the same (e.g. dataset in radiant vendor plugins).

#6 Updated by Dominik Wild almost 9 years ago

Hans-Peter Suter wrote:

I would not want the content from submodules to be pulled into the super project. If one is interested on the code of (one or more) submodules, they should be tracked as their own (separate) redmine projects.

I totally agree with Hans-Peter. We are tracking submodules with redmine subprojets, which works perfectly.

#8 Updated by Bob Bottle almost 8 years ago

+1

#9 Updated by Renzo Meister over 7 years ago

+1 for "A special icon to point out that a certain file is a submodule pointer is perfect imho. A click could go to the repo (if it's here)."

#10 Updated by Kaspars Sprogis over 6 years ago

Any updates on this?
+1 from me too

#11 Updated by Bastian Lüttig 5 months ago

Hi,

I have written a patch for displaying submodules and linking them to the repository.

Configuration:
add main repository,
add submodules with identifier being the submodule name as integrated into main repository
https://github.com/bastie87/redmine

Also available in: Atom PDF