automatic PPA cleanup

Asked by Kalkun

Would it be possible to configure the PPA to automatically clean older packages?

On the PPA I publish sort of nightly package. With time there would be a lot of packages, many of them would not be useful.
It would be nice if it was possible to configure the PPA so that it:

- automatically delete packages when older than n days (30 days for example)
- keep only the la m versions (for ex. 30 versions) of a package and delete the older versions.

Such a job could then be run automatically on a daily or weekly basis on your servers

The best would probably be to configure this for each PPA.

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

Much the same answer as in https://answers.launchpad.net/launchpad/+question/707093. (We certainly can't field this sort of thing as a support ticket, which are generally for short-term operational issues rather than feature requests.)

We already run garbage-collection on old packages that are no longer the current version for any Ubuntu series, so this would only be a problem if you're doing something unusual like publishing packages under a sequence of different names. That's specialized enough that I think the most sensible thing to do would be for you to run a script on your end using Launchpad's webservice API to implement whatever removal policy you want.

Can you help with this problem?

Provide an answer of your own, or ask Kalkun for more information if necessary.

To post a message you must log in.