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

Avoid package overwrite #61

Closed
lovato opened this issue May 10, 2013 · 2 comments
Closed

Avoid package overwrite #61

lovato opened this issue May 10, 2013 · 2 comments

Comments

@lovato
Copy link
Collaborator

lovato commented May 10, 2013

IMHO, i think if you submited a package to a broker like Localshop, I never can would be able to overwrite it, since it carries the sabe package version.

  • upload package
  • user installs it
  • upload new package, same version

Now we face inconsistency. I fixed that on my simplepypi install by removing write permissions of the upload file. So, once uploaded, its uploaded.

About the other issue asking the ability to remove packages, we may go into this same inconsistency: if you remove, and then upload again? How to control that nobody already have it installed?

Best
Marco

@lovato
Copy link
Collaborator Author

lovato commented May 10, 2013

I also noticed that if I re-upload a package, its MD5 digest changes, but not the release date.
And of course, a pip install does not detect it, since its the same version. Even --upgrade does not work.

@canassa
Copy link
Collaborator

canassa commented May 25, 2015

We added support to disable package package overwrites via the LOCALSHOP_RELEASE_OVERWRITE config.

@canassa canassa closed this as completed May 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants