6 ms·
Completely normal yes. Repos are cattle not pets.
by lmm 11mo ago
Completely normal yes. Repos are cattle not pets.
- voidnap 11mo ago> Repos are cattle not pets. What do you mean by this?
- arkits 11mo agoYou can have more than a few
- a_vanderbilt 11mo agoA core SRE principle is that "machines/servers are cattle, not pets". They shouldn't be special or bespoke in a way that makes replacement painful or difficult.
- voidnap 11mo agoI've heard the term used for servers before but not version control repositories. I just don't understand what it would mean for a git repo to be a cattle vs a pet. Like what is an example of a cattle repo vs a pet repo. The metaphore just sounds like gibberish to me idk. Unless all it means is that that you can have more than a few like the other commenter said but I didn't think that was what the metaphore meant with respect to servers so again I have no idea lol
- a_vanderbilt 11mo agoTo me it would mean that a git repo should not have scripts, runners, etc. configured that we don't have the means to easily and readily replace. It should all be documented and understood well enough that we could kill the repo and init another at will.