Feature #1948
openDisplay Git Submodule
Added by Leandro Nunes dos Santos Nunes about 16 years ago. Updated over 6 years ago.
0%
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.
Files
git-submodule-view.patch (2.46 KB) git-submodule-view.patch | Bastian Lüttig, 2018-02-28 16:10 |
Updated by Nicolas Chuche about 16 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.
Updated by Eric Davis about 16 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.
Updated by Kiall Mac Innes over 15 years ago
another +1 .. I'd love to see this.
Updated by Anonymous about 15 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).
Updated by Dominik Wild about 15 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.
Updated by Adam Soltys about 15 years ago
I'm starting to work on this: http://github.com/asoltys/redmine/commits/git_submodules
Updated by Renzo Meister almost 14 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)."
Updated by Kaspars Sprogis about 13 years ago
Any updates on this?
+1 from me too
Updated by Bastian Lüttig over 6 years ago
- File git-submodule-view.patch 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