News for hackers. Stuff that matters.
Re:How do people manage hundreds of Git repositories? by Sevii on Wednesday October 04, 2017 @12:12AM (#15398202)
We have shared libraries and maven plugins setup. This is a situation where I really wish we used a monorepo and I could just do one commit across 100 microservices using grep and other tools to update pom.xml files. I have read whitepapers from google on how they support this kind of operation, but I need it for many git repos.
Re:How do people manage hundreds of Git repositories? by ynezz on Wednesday October 04, 2017 @02:30AM (#15398648)
This sounds like StackOverflow question. Anyway, if you're proficient in Java, why don't you write small app which will iterate over all Git repo dirs, modifies the files, makes commit, push and creates PRs? Not a big deal, right?
Re:How do people manage hundreds of Git repositories? by Sevii on Wednesday October 04, 2017 @10:38AM (#15400732)
That is the current plan, combined with plenty of manual work verifying jenkins jobs and deployments.
Re:How do people manage hundreds of Git repositories? by assafmo on Wednesday October 04, 2017 @01:45PM (#15402428)
If you can do it if there was just one repo, then juat clone those 100 repos under the same parent directory and execute the script in the parent directory
Re:How do people manage hundreds of Git repositories? by assafmo on Wednesday October 04, 2017 @03:39PM (#15403804)
and then in a loop commit the changes