#git (2020-03)
All things git (except gitops)
2020-03-03
@Zachary Loeber has joined the channel
set the channel description: All things git (except gitops)
I don’t want to put git related questions out in #general so I created this channel instead. Crazy? Perhaps, but so is git sometimes.
@nian has joined the channel
That being said…. I’m curious how my fellow devops practitioners are managing projects with several git repos (sometimes several dozen in my case)? I’ve found that git submodules obfuscate a repository so I tend to minimize using them.
Right now I tend to create an ‘umbrella’ repo which contains a Makefile to pull down the project’s repos into a schema broken down by category (which is usually one category per team on the project then a few extras like platform, infra, and environment)
It seems like I’m missing a tool that may do the job more succinctly than that though?
@Andriy Knysh (Cloud Posse) has joined the channel
@Paul Nicholson has joined the channel
@bradym has joined the channel
@Joe Niland has joined the channel
@Erik Osterman (Cloud Posse) has joined the channel
@ikar has joined the channel
2020-03-04
@andrey.a.devyatkin has joined the channel
@Jeff Young has joined the channel
@vFondevilla has joined the channel
avoid the submodules. I had big troubles with them, breaking the CI/CD process because the development team didn’t understand fully how the submodules works (heck neither I fully understand)
so we’re running with for loops
we’re running with about 40 different repos.
@curious deviant has joined the channel
Yea, submodules are a red-herring. They look like the “perfect solution” to meld poly repos into one repo as necessary, only very few know how to use them in practice. I confess having used them many times, but always forget the syntax and always regret it after the fact. The Makefile
with a target to check out the repos is just so much more straight forward!
Here’s an example using a Makefile
https://github.com/cloudposse/actions/blob/master/github/Makefile
Our Library of GitHub Actions. Contribute to cloudposse/actions development by creating an account on GitHub.
@grv has joined the channel
Great article. It took some time for me come to some of the same realizations
2020-03-05
@Joe Presley has joined the channel
2020-03-13
@Jann Speyer has joined the channel
2020-03-23
@Corey Gale has joined the channel
2020-03-27
Adding @discourse_forum bot
@discourse_forum has joined the channel