News for hackers. Stuff that matters.
Re:All C++20 core language features with examples by saurik on Wednesday April 07, 2021 @10:59AM (#26725895)
Yeah: using submodules makes maintaining vendor patches (which, FWIW, I pretty much don't do and will move mountains to avoid... but like, I totally appreciate why people do them) really natural and easy. Like, you don't just want a copy of the code: you want to be able to participate in the development of the upstream code with the same level of tooling that they have, and submodules does that.
Re:All C++20 core language features with examples by steveklabnik on Wednesday April 07, 2021 @11:20AM (#26726187)
The approach here would be to declare the dependency on the git repo directly. Vendoring is still going to copy the stuff you're building into your project, but you'd keep those patches in the repository of the dependency, not on your vendored copy.
Re:All C++20 core language features with examples by saurik on Wednesday April 07, 2021 @07:49PM (#26733153)
The key thing here is being able to do it through multiple levels of dependency, for which I see someone else provided me an answer that is actionable! \o/