threads / discuss / 50930

Repositories stucture

Subject: Repositories stucture

## tl;dr

2 messages between Apr 13, 2019 and Apr 13, 2019.

replies: 1people: 2as markdown or json

Mgr Georg Black· Apr 13, 2019, 05:17 UTC · lore
Hello everyone.
We are starting knowing and working with Git. We already used some version control  systems for parts of our work and for now we wanna to have one.
So how's the situation. 
There is one big company with integration center and a few smaller firms which send their work there. We are developing in many languages on more projects.
People from big company(BC) wanna to have only one big repository with all code in it. BC wanna have to folders structure for language and projects. But for us is that idea bit uncomfortable because we rather have more repositories by language, maybe by project (in BC folders). It's useless for us that every developer on specific project and language have all other sources in their local repository. Is it the solvable?
I looked into some ways but with nothing practical experience Could anyone give me some advice which way is the best and why. 
Simplified: we want to have many repositories in our firm so every developer could work with its repository with its language. Somewhere would be one repository for integration man who combine all smaller repositories in folders big repository for sending to BC. And this all have to work both ways. So we wanna donwnload changes from BC and copy them to our divides repos. So some folder to repo.
Thanks to all for any direction or link.
Georg Black
Mateusz Loskot· Apr 13, 2019, 15:23 UTC · re: Mgr Georg Black · lore

Re: Repositories stucture

On Sat, 13 Apr 2019 at 07:32, Mgr Georg Black <georg.black@seznam.cz> wrote:
> People from big company(BC) wanna to have only one big repository with all code in it. BC wanna have to folders structure for language and projects. But for us is that idea bit uncomfortable because we rather have more repositories by language, maybe by project (in BC folders). It's useless for us that every developer on specific project and language have all other sources in their local repository. Is it the solvable?

Show the BC how Boost libraries structure the repositories with submodules There is single superproject https://github.com/boostorg/boost/ and large number of libraries (each with dedicated team of developers). Periodically, everything is synchronised into the superproject repo and prepared for release in single bundle.

Then, you may want to learn about submodule and subtree features of Git, and choose the one that suits best your workflow(s) to implement your repositories structure.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net

← back to recent threads