joschi/asdf-mvnd

Cannot update to the latest version 1.0.0-m6

jherkel opened this issue · 2 comments

I tried to update to the latest version of mvnd but with no success

asdf install mvnd latest
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9  100     9    0     0     30      0 --:--:-- --:--:-- --:--:--    30
[/tmp/mvnd_D0GHtsr/mvnd-1.0-m6.zip]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/mvnd_D0GHtsr/mvnd-1.0-m6.zip or
        /tmp/mvnd_D0GHtsr/mvnd-1.0-m6.zip.zip, and cannot find /tmp/mvnd_D0GHtsr/mvnd-1.0-m6.zip.ZIP, period.
asdf-mvnd error:  failed to extract mvnd archive

It looks like they cannot make up their minds about the naming schema of their artifacts. 🙄

maven-mvnd-0.9.0-darwin-aarch64.zip
maven-mvnd-1.0.0-m4-darwin-aarch64.zip
maven-mvnd-1.0-m6-m39-darwin-aarch64.zip
maven-mvnd-1.0-m6-m40-darwin-aarch64.zip

Will there be a fix to this issue? It has been open for half a year. Plenty of other asdf plugins have inconsistent naming conventions; just look at java or python. I would rather simply have the full list, warts and all, than worry about getting a nice semver output.