asdf-plugins icon indicating copy to clipboard operation
asdf-plugins copied to clipboard

broken plugin, not sure what to do

Open pdemagny opened this issue 1 year ago • 1 comments

Describe the Bug

Hi,

I would have opened a GH discussion instead, but they're not enabled :/

I maintain a plugin for the serverless framework but it has an issue preventing if to support current v4+ versions of this tool, my plugin can only installs v3 binaries.

The upstream project stopped producing binaries for v4+ so there's not much I can do to fix this. So my question is what should I do with the plugin:

  • keep this plugin as is ?
  • rename it to asdf-serveless-v3, and fix the list-all to only list v3 ?
  • remove this plugin alltogether ?

Just let me know :eyes

Steps to Reproduce

❯ asdf install serverless 3.39.0

  • Downloading serverless release 3.39.0... serverless 3.39.0 installation was successful!

❯ asdf install serverless 4.0.26

  • Downloading serverless release 4.0.26... curl: (22) The requested URL returned error: 404 asdf-serverless: Could not download https://github.com/serverless/serverless/releases/download/v4.0.26/serverless-linux-x64

Expected Behaviour

Should work with v3 & v4

Actual Behaviour

Doesn't work with v4, because upstream stopped producing binaries ...

Environment

No need, there's nothing wrong with asdf itself.

pdemagny avatar Sep 13 '24 09:09 pdemagny

"...The upstream project stopped producing binaries for v4+ so there's not much I can do to fix this..."

Edit the download script to pull the project v4 version. Use install script of your plugin to build the binary? Use the asdf dependency mechanism to ensure the host has the required facilities.

davidjeddy avatar Nov 12 '25 13:11 davidjeddy