Hi
We have a software product, with 15-compnents and each of the 15-components have at least 15-modules.
Earlier a sys admin guy had configured the Stash server for us.
The current setup is like this:
In this way, we have many teams working on many individual repositories corresponding to their module. Packages are made from each of the individual repository and delivered to our infra team, who deploys the product on our hosted servers.
Since source is spread all over the place, there is no baselines/tags created for this product. Also managing these many repositories by a single CM admin is too much to handle.
As a CM admin, I’m thinking of suggesting this structure for this product.
In this way we’ll have single repository to handle and CM admin will create branches and developers will just make changes and commit their code.
The issue here is, we are using Git repositories, developers do not want to clone the entire repository and permissions for these repositories should be managed at folder level, so that a team has access to only their modules.
I would like to hear lots of inputs from you ladies and gentlemen. Please feel to comment/suggest and advice.
Thanks a lot.
Regards
DK
I'm not sure you can have all your "wants" at the same time. You have to explore submodules, which may get you closer than anything else - but I haven't played with them much.
I'd suggest revisiting some of your assumptions. Why do you have to manage at the folder level? You cannot do this in Git, so if it's a requirement, you will have to make each of those folders a separate repo, at the least. But since you can lock down branches, such as the master branch, so that only authorized people can merge, there shouldn't necessarily be a need to restrict permissions by folder, unless you can't trust your developers with read access to other teams' code. Which seems odd.
Cloning an entire repo shouldn't be so bad because it's a one time thing...after that, you'd only be pulling updates.
Hi Tim,
Thanks a lot for your valuable inputs.
I do understand that, we cannot manage permissions for code at folder's level in git. But that was the expectation from the dev team. I wanted to explore the other possibilities if any.
Since we already have 250+ repos and and 1 CM guy, it is going to be messy. Thus we thought to consolidate all repositories into one, as it is one single product.
Yes, as you mentioned the master will be locked and only CM admin + 1 or 2 dev leads will have the access to merge into Master line.
Even I'm on same lines, cloning the entire repo is just a one time activity, later all we have do is pull and then push.
Best Regards,
Deepak.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.