Discontinue npm and pypi "installers"? #2841
chadlwilson
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
I completely agree with you and happy for us to not support these any longer, there isn't much benefit when users are able to install it using homebrew/choco. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Makes sense. Too many breaches in npm, plus having an npm makes the maintainers a target. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
IMHO, the mechanisms these use are considered extremely insecure as they rely on execution of arbitrary code during installation to download appropriate binaries.
Constant supply chain breaches come from arbitrary code executed on install/postinstall - and people should be disabling this entirely where they can (as pnpm and bun do by default).
I don't think we should be promoting this practice, especially for a small project like gauge with limited maintainer time to keep everything "safe". Python is an even bigger mess because of its abysmal packaging setup.
Further to that
The pros of as-is
There are better ways to install simple single binary software like gauge, including homebrew, Choco (🤮), curl + sha-check - or cross-platform tool managers such as Aqua or Mise (the latter of which supports lockfiles). For the YOLO uses we still have our own (as dodgy as npm/pypi) curl | sh script installer.
WDYT @zabil , @sriv , @haroon-sheikh ?
I can collect some info on usage and trends if this is worth exploring. Last I looked the npm installer has 4,000-6,000 weekly downloads which isn't insignificant but haven't looked at the history in depth or by way of comparison to direct downloads.
Beta Was this translation helpful? Give feedback.
All reactions