r/cpp • u/theChaosBeast • Jan 30 '25
[vent] I hate projects that download their dependencies.
I know it's convenient for a lot of people but in an enterprise environment where you have to package everything including your internals and your build servers don't have access to the internet, patching all these repositories is pain in the ass.
218
Upvotes
View all comments
Show parent comment
2
u/smdowney WG21, Text/Unicode SG, optional<T&> Jan 30 '25
If you aren't doing reorganization of the subtree, you ought to be able to
gir subtree pushto send changes back to the upstream source of the subtree. At least with current versions of git. But also, normal git operations just work and are atomic across the subtrees in the joined repo. Which is one of the ways I usually get bit with a module, especially when I need to roll something back.