-
Notifications
You must be signed in to change notification settings - Fork 1k
JSON API for deleting releases/files #12934
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
Comments
I am also looking for something like this. My project has currently over 360 releases, and I would like to weed them out, retaining 1 or 2 of each major version, except the last major version. |
Blocked on #13409. |
We also need this. We currently delete old releases automatically by POSTing |
+1 for this feature. A large number of projects publish their nightly packages on daily basis that need to be rotated. Actually any ways to set automatic retention policy will be welcome. |
What's the problem this feature will solve?
I have a lot of oversized wheels that I'd like to delete from pypi to avoid asking for several project size increases.
Describe the solution you'd like
We have probably a dozen or so separate libraries each with their own projects + wheels, so I'd rather write a script to do this, but there's currently no API to do it.
Additional context
I run the RobotPy project, which provides a way for FIRST Robotics students to use python on their robot. We have a lot of releases/wheels over the last several years, and I'm starting to hit the project size limit. Turns out that I hadn't been stripping some of the binaries in my wheels. We make YEAR.X.Y releases, and honestly students aren't really going to be using anything from prior years except maybe the latest release for a particular year. To release some of the pressure on my project sizes, I'd like to delete all pre releases, and delete any of our manylinux wheels from everything except the last release per-year.
The text was updated successfully, but these errors were encountered: