PPA deletion leaves unremoved publications

Bug #685076 reported by William Grant
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
William Grant

Bug Description

Deleting a PPA sets all of its publications to Deleted, disables the archive and its publication, and the publisher then deletes the whole archive tree from disk. But the publications are left alive, with no date of removal or even scheduled removal date. The publisher doesn't consider disabled archives, so it never condemns the deleted publications and they remain live in the DB forever.

This has librarian disk space consequences, as the lack of dateremoved will make any involved files ineligible for expiration.

Related branches

Changed in soyuz:
status: New → Triaged
importance: Undecided → High
tags: added: soyuz-publisher
tags: added: soyuz-publish
removed: soyuz-publisher
Revision history for this message
Robert Collins (lifeless) wrote :

Do we have an estimate of the overhead this has?

Revision history for this message
Robert Collins (lifeless) wrote :

22:19 < wgrant> lifeless: Probably very negligible.

Changed in launchpad:
importance: High → Low
Revision history for this message
Julian Edwards (julian-edwards) wrote :

It will be trivial to write a query to find out, I wouldn't say negligible until we see that.

William Grant (wgrant)
Changed in launchpad:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
Revision history for this message
William Grant (wgrant) wrote :

I'd forgotten one other case where this is problematic. Publications that were superseded/deleted but as yet unremoved also need to have dateremoved set.

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
Steve Kowalik (stevenk)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.