Manage PPAs through the web service

Bug #381890 reported by Vadim Peretokin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Low
Julian Edwards

Bug Description

Would it be possible to manage PPAs (create new one, edit description, upload packages to) with launchpadlib sometime?

Revision history for this message
Leonard Richardson (leonardr) wrote : Re: Publish PPAs through the web service

It's up to the team that manages the PPA software itself, which I believe is the code team.

summary: - PPA management with launchpadlib
+ Publish PPAs through the web service
affects: launchpadlib → launchpad-code
tags: added: api
Revision history for this message
William Grant (wgrant) wrote :

That would be Soyuz, actually.

affects: launchpad-code → soyuz
summary: - Publish PPAs through the web service
+ Manage PPAs through the web service
Revision history for this message
Julian Edwards (julian-edwards) wrote :

You can already do a lot with PPAs on the webservice, see the apidoc for methods on Archive and also see bug 276020.

I will add description editing as this bug requests but I won't add creation of PPAs (I don't want rogue scripts creating cruft).

Package upload is not suitable for the web service and will always be handled with dput.

tags: added: feature ppa
Changed in soyuz:
assignee: nobody → Julian Edwards (julian-edwards)
importance: Undecided → Low
milestone: none → 2.2.6
status: New → Triaged
Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Bug 381890] Re: Manage PPAs through the web service

Thank you.

What would you recommend that a program that integrates this do for creation
of PPAs? Ask user to manually click on a specific link, or go via the
emulate-browser method?

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

I would ask the user to click on a link - or you could even pop up a browser
for him.

If you start doing browser emulation (screen scraping) you will be at the
mercy of us changing the page layout, etc.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Alright, thanks.

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

Well it turns out you can already edit displayname and description properties with launchpadlib.

use something like this with launchpadlib:

>>> ppa.description = "my description"
>>> ppa.displayname = "my ppa"
>>> ppa.lp_save()

Changed in soyuz:
status: Triaged → Invalid
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.