Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rockspec is ignored when reuploading the same version after a delete #189

Open
teto opened this issue Sep 7, 2022 · 1 comment
Open

Comments

@teto
Copy link

teto commented Sep 7, 2022

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 hrsh7th/nvim-cmp#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.

@leafo
Copy link
Collaborator

leafo commented Nov 7, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants