Questions tagged [submodules]
The submodules tag has no summary.
15 questions
2
votes
1
answer
481
views
How to handle nested submodule dependencies
I have a git repo with nested submodule dependencies (see picture as an example). There are duplications because each repo needs to be compiled standalone in a pipeline so that the corresponding test ...
0
votes
0
answers
475
views
Git - nest an optional repository inside a repository
I have an existing repository (which is organised using the standard Golang project layout)
cmd/
bigproject/
main.go
internal/
...
pkg/
...
vendor/
...
What I would like to do ...
0
votes
1
answer
10k
views
How to structure Python modules so they are accesible from different submodules
This is somewhat similar to this question but I could not find a solution there.
I have a project that I've worked on over the past 4 years. I started without any Python knowledge and learned as I ...
4
votes
1
answer
891
views
Alternative for C# Library distribution within an Organisation
I am looking for advice on how to manage shared code between several projects more effectively.
Currently, we have several applications that use the same common backbone of infrastructure code, from ...
1
vote
0
answers
79
views
External standalone cpp code in my project
I've inherited a project that has a codebase in src/, but it also has precompiled binaries of dependency software in bin/. I would like to move away from having precompiled software as part of our ...
0
votes
2
answers
3k
views
How to model system use cases realized by sub systems?
I found this question about sub systems & UseCases, just I lack understanding / mapping to my specific situation.
I want to model which sub component fulfills which UseCase realized by my system ...
1
vote
1
answer
436
views
Splitting up a big project for several teams by git
We have a big angular project that works with several APIs provided by other projects. This project has a common part that is shared by all. It includes smaller sections dedicated to different teams ...
1
vote
1
answer
2k
views
Storing test results in a Git repo?
At my company, we use a distributed pool of virtual machines to run our UI and API tests. These machines are all connected to an onsite server which the pool uses for publishing the test results and ...
2
votes
1
answer
271
views
Reusing binary assets using Git
We have multiple projects that are using common binary assets (e.g. images, sounds, 3D models etc.) stored in a folder on a server. Right now, each project adds these assets to their git repository. ...
0
votes
1
answer
334
views
One person controls only one folder, in a repository
How can I give complete control of one folder to one person, while the rest is in the control of another person. Control means they have the power to approve pull requests and commit to master and ...
5
votes
1
answer
1k
views
How to have multiple source copies of a dependency in a C# git project?
In our company, we develop information system software in C#.NET, which has client-server-module architecture. Module project does not depend directly on server/client project, but only on shared ...
5
votes
1
answer
2k
views
Project structure with git submodules with common dependencies
I have two (and more in the future) Python projects that I'd like to package into a global package in order to import its modules and use them in another external projects in the future.
This is how ...
0
votes
1
answer
348
views
What is a good versioning strategy to achieve 'fail fast' with chains of dependent maven submodules?
My organisation modularised their monolith into maven modules in dependencies up to four deep. Originally we used the maven plugin to auto-increment the version numbers in the pom every time someone ...
3
votes
1
answer
3k
views
Are you supposed to commit changes to the parent when the submodules change?
I noticed some strange behavior when working with submodules in Git, which is maybe not so strange to anyone with more experience than I. Well, what I am noticing is that whenever I make changes to ...
54
votes
5
answers
15k
views
Organizing Git repositories with common nested sub-modules
I'm a big fan of Git sub-modules. I like to be able to track a dependency along with its version, so that you can roll-back to a previous version of your project and have the corresponding version of ...