luarocks-site
luarocks-site copied to clipboard
rockspec is ignored when reuploading the same version after a delete
I contributed a rockspec to nvim-cmp and uploaded the rockspec as 0.0.1-1 . I found an issue with it (NB: the website could check the rockspec is valid) and proposed a change at https://github.com/hrsh7th/nvim-cmp/pull/1174. I couldn't update the rockspec of the tagged release so I deleted the release and reuploaded the fixed version. I've tried 3 times and even after uploading a fixed version, the site would still show me the old one. I proceeded to create a new release 0.0.1-2 and then I could download the new version.
I dont mind if someone can not retroactively recreate a deleted version but there should be a warning that's it's not possible to change the saved rockspec.
The rockspecs files are aggressively cached. The cache should expire after some time and your new version will take effect. Generally I would recommend bumping out a new -2
revision on the rockspec, and deleting the old one.