Feature #1948
Display Git Submodule
Status: | New | Start date: | 2008-09-25 | |
---|---|---|---|---|
Priority: | Normal | Due 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.
History
#1
Updated by Nicolas Chuche over 13 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 over 13 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:
- my_git_repo/
- my_git_repo/stuff/
- my_git_repo/third_party_library/ => submodule to http://foo.bar/library.git
- my_git_repo/third_party_library_2/ => submodule to http://foo.bar/library_two.git
This proposal is asking for Redmine to pull in the submodules so their contents can be browsed in Redmine.
#3
Updated by James Turnbull almost 13 years ago
+1
#4
Updated by Kiall Mac Innes almost 13 years ago
another +1 .. I'd love to see this.
#5 Updated by Anonymous over 12 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 over 12 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.
#7
Updated by Adam Soltys over 12 years ago
I'm starting to work on this: http://github.com/asoltys/redmine/commits/git_submodules
#8
Updated by Bob Bottle over 11 years ago
+1
#9
Updated by Renzo Meister over 11 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 10 years ago
Any updates on this?
+1 from me too
#11
Updated by Bastian Lüttig about 4 years ago
- File git-submodule-view.patch
added
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