1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/usr/bin/python
from lpltk import LaunchpadService
lp = LaunchpadService()
d = lp.launchpad.distributions["ubuntu"]
team = lp.launchpad.me
print team.display_name
def dump_launchpad_object(i):
print repr(i)
print " attr: ", sorted(i.lp_attributes)
print " coll: ", sorted(i.lp_collections)
print " entr: ", sorted(i.lp_entries)
print " ops: ", sorted(i.lp_operations)
print
for ppa in team.ppas:
private = ''
if ppa.private:
private = "private"
print " ", ppa.name, ppa.distribution.display_name, private
# Check ArchiveStatus is DELETED or DELETING
# person.createPPA(description, displayname, name, private)
# ppa.getBuildSummariesForSourceIds(source_ids)
# getPublishedBinaries
# getPublishedSources
|