4 ms·
Author of the post here, We wanted the option for distro maintainers to include .NET in the native distro package feeds. This means that distro maintainers hav
by mmitche-msft 10mo ago
Author of the post here,
We wanted the option for distro maintainers to include .NET in the native distro package feeds. This means that distro maintainers have to build the product, not us, and that means creating a build system that meets their requirements. So you either end up with two build systems, or you try and unify. The only direction that it's feasible to go is towards the Linux distro model. It's the most restrictive.
The good news is that the distro model is SIMPLER. It may not be the most performant. A really good distributed system with caching would be far faster. But that's not a solution that's easy to implement or compatible with distro maintainer workflows. Optimizing for simpler in this case is better though. We want the community to be able to participate in a meaningful way. Build for BSD, build for S390x, build and include in distro feeds, etc. We can't feasibly support every platform and scenario that the community wants.
- debugnik 10mo agoI glad to read this. One of my long-term concerns with .NET, compared to other language ecosystems, is the risk that only Microsoft people might know how to build it and port it. Is any distro actually shipping .NET SDK packages built from source?
- lbussell 10mo agoYes - Ubuntu, Alpine, Fedora, and others. [1] [1]: https://github.com/dotnet/source-build/blob/main/README.md#net-in-linux-distributions https://github.com/dotnet/source-build/blob/main/README.md#n...
- debugnik 10mo agoThanks for the reference. I had memories of having to install a Microsoft repository to install the SDK, that's an improvement.
- mmitche-msft 10mo agoYes, Canonical, RedHat, Fedora, Alpine, Centos, and Arch Linux. NixOS and nixpackages too.
- debugnik 10mo agoLooks like I missed progress during the time I've been away from dotnet, thanks. I still had memories of having to install an MS repo for that.
- johnzabroski 10mo ago"old man yells at clouds." :)
- debugnik 10mo agoNot at all! Looking at the package dates, distros have started shipping their own source builds during 2022-2024, starting with .NET 6-7.
- zem 10mo agothat sounds awesome. having wrestled with complex build setups I'm a big fan of simple and reproducible, though as you say there's definitely the temptation to do things to improve performance at the expense of simplicity.