LXD Packaging Report, Wild West edition
Well, I’m calling this the “Wild West” edition of my LXD packaging report, as I have been reminded once again how crazy golang package development is. A few examples that have made me particularly sad this past week:
Repositories that are a fork-of-a-fork-of-a-fork….. The vast majority of golang packages live on GitHub, which encourages people to fork repos left and right. The downside is that people will make a small change, and never bother to try to merge it back to the parent repository. You then have people making forks from the child repositories, and it becomes a coin toss which “generation” of a library will actually be picked and used. You also end up with a very high noise-to-signal ratio with tons of similarly named (and probably identical) packages when you are trying to search for something.
Projects pin to an arbitrary commit, and then never update that dependency. I’ve encountered libraries that are using multiple different versions of the same dependency, which just serves to bloat the dependency tree for a project.
Speaking of dependencies – “A release? What’s that?" Half of the libraries I’ve dealt with so far have never actually tagged a proper release. Just throw more commits at it – that should be fine, right?
invalid flag in #cgo CFLAGS, or, “Whatever could go wrong with downloading and running untrusted, random code from the Internet?" I’ve encountered this before, but forgot just how much facepalming this induces… have fun reading the wiki page if you want.
The absolute stupidity that is
protobufv1 and v2 within the golang ecosystem. I’m at a loss of words for how poorly the new, v2 release of the protobuf library was handled. I’ll just quote the go.dev blog post announcement and trust it induces the proper wailing and gnashing of teeth:
Why start at version v1.20.0? To provide clarity. We do not anticipate APIv1 to ever reach v1.20.0, so the version number alone should be enough to unambiguously differentiate between APIv1 and APIv2.
Gee, if only there was some major version number you could have used to indicate a new, major API that’s not backwards-compatible with the previous v1 API. If only there was some semantically-informative way that they could have conveyed that information. Well, I guess calling v2 “20” and putting it in a minor location within the version string will make perfect sense to everyone else.
OK, enough complaining about golang…. on to the packaging update for the past week!
NEW/updated packages accepted into unstable:
NEW packages pending upload:
Pending updates to existing packages:
As before, thanks to Aloïs Micard for continued feedback and sponsoring my changes. Also, thanks to Shengjing Zhu and Pirate Praveen for helping me understand the mess that is the golang protobuf library transition.