website
website copied to clipboard
Don't use apt-key, don't blindly trust yarn for everything
A tightly administered system wouldn't trust yarns apt key for any package. Administrated should still do the pinning though. Background: https://bugs.debian.org/861695
Deploy preview ready!
Built with commit 522a905ccf30acd9f2888f016489840bd02a7022
https://deploy-preview-670--yarnpkg.netlify.com
I would even prefer a direct link to the .deb
(or equivalent for other distros), what do you think?
@xtuc super bad idea. If for whatever reason there needs to be an update to that package, people will not know they're out of date. Unless you have implemented a self updating package with TUF or something similar?
Yes, you're right. Nevermind.
Hey, this is pretty clever. Does it work on older versions of Ubuntu and Debian? There's still many people using Ubuntu 14.04, unfortunately.
Most places I've seen that add custom package sources do it the same way that Yarn does it today.
I would even prefer a direct link to the .deb (or equivalent for other distros), what do you think?
It's not documented, but https://yarnpkg.com/latest.deb works.