Can't tell if a ppa is deleted or not on the API

Bug #637915 reported by Ryan Macnish
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Unassigned

Bug Description

Launchpadlib cannot tell if a PPA has been deleted or disabled and so if i find a ppa with launchpadlib that has been deleted, and i use dput to try to upload a package, it will fail if the PPA is deleted, but launchpadlib doesn't know that.

Revision history for this message
Gary Poster (gary) wrote :

I don't know if this is true; tossing to Soyuz for confirmation or correctness, and probably remediation unless Soyuz needs a new feature.

affects: launchpadlib → soyuz
Revision history for this message
Gary Poster (gary) wrote :

sorry, ...unless Soyuz needs a new feature from lazr.restful

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Yeah it's the status field missing on the archive API. Trivial to fix.

Changed in soyuz:
status: New → Triaged
importance: Undecided → Low
tags: added: api ppa trivial
summary: - launchpadlib cant tell if a ppa is deleted or not
+ Can't tell if a ppa is deleted or not
summary: - Can't tell if a ppa is deleted or not
+ Can't tell if a ppa is deleted or not on the API
Revision history for this message
Jonathan Lange (jml) wrote :

Shouldn't the PPA just 404 if it has been deleted, and also not show up in collections like Person.ppas?

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 637915] Re: Can't tell if a ppa is deleted or not on the API

Well, we don't truely have ppa deletions, and given some assumptions
around ppa url changing and ppa url reuse, its not clear that we can.
It may be time to revisit those questions [not all ppas are equally
important / equally used].

William Grant (wgrant)
Changed in launchpad:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers