News for hackers. Stuff that matters.
Re:Following the Unix philosophy without getting left-pad by amyjess on Thursday November 10, 2022 @03:27PM (#33552785)
> I can trust that an update to cat or ls will not break my system because enough people have looked at it, but I really don't know what's gonna happen when I update left-pad (without even knowing it, because a it's a transitive dependency).

The biggest difference here is that distros vet their maintainers, often with a lengthy process similar to hiring someone at a company, while NPM and similar repos are entirely self-serve, where anyone can register an account and just publish whatever packages.

Re:Following the Unix philosophy without getting left-pad by iudqnolq on Thursday November 10, 2022 @04:42PM (#33553823)
> The biggest difference here is that distros vet their maintainers, often with a lengthy process similar to hiring someone at a company

This is very surprising to me. During the debacle over Rust in the Python cryptography package maintainers were saying it's unreasonable to expect them to read dependency changelogs.

Re:Following the Unix philosophy without getting left-pad by bombolo on Thursday November 10, 2022 @06:37PM (#33555251)
Well they went to use rust and broke their package for thousands of users.

They do not provide precompiled files for everyone and suddenly gcc isn't enough to build.

Debian (and I guess ubuntu) are stuck on a year old version because of using rust before packaging rust stuff has been solved.

They aren't the most careful of maintainers, it seems.

Re:Following the Unix philosophy without getting left-pad by iudqnolq on Thursday November 10, 2022 @07:48PM (#33555963)
Even if you think the cryptography devs did something wrong, doesn't it prove the distro maintainers weren't doing any review? If they didn't catch something called out in the changelog I don't see how anyone can claim they're catching things you'd need to carefully read the source to find. (I'm not blaming distro maintainers, it would be impossible for them to do actual reviews.)
Re:Following the Unix philosophy without getting left-pad by bombolo on Friday November 11, 2022 @01:47AM (#33557982)
Uh? Distro maintainers knew… but there was nothing to be done about it…

It was end users of the package that didn't know, had a dependency like "<=X" and with the big change in a minor version got the rust version they could not compile (and thus run).

Re:Following the Unix philosophy without getting left-pad by iudqnolq on Friday November 11, 2022 @02:35PM (#33565648)
Nope, if you check out the original threads it's full of distro maintainers complaining they were surprised. To clarify, these are maintainers of software that depends on cryptography, not maintainers of cryptography. Those maintainers weren't reviewing dependencies on an ongoing basis.
Re:Following the Unix philosophy without getting left-pad by jborean93 on Friday November 11, 2022 @03:26AM (#33558417)
They did and still do provide precompiled wheels for cryptography. The problem was the version of pip distributed by some of the major Linux distributions was too old to understand the newer tags that would have told them to use the wheels. Because of this I agree that they probably jumped the gun on making the switch but if you had a new enough pip you don’t need to compile it.

On the plus side it gave the impetus for Python to define wheels for musl and other arch’s which is a nice outcome.

Re:Following the Unix philosophy without getting left-pad by dTal on Thursday November 10, 2022 @07:17PM (#33555665)
>distros vet their maintainers

The AUR wants a word :)

Re:Following the Unix philosophy without getting left-pad by majormajor on Thursday November 10, 2022 @07:24PM (#33555747)
I tried Arch for a while, and having to go use AUR stuff for things that were a lot easier or built-in in Ubuntu or Fedora while not being vetted at the same level was one of the big things that caused me to go back to those others.

If I wanted to do my own work I'd go back to Gentoo. ;)