syncSources should copy latest published upload
Bug #510331 reported by
Cody A.W. Somerville
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Michael Nelson |
Bug Description
Using syncSources to copy packages from one P3A to another, I noticed that syncSources would not copy the latest published upload. So for example, in one PPA I have:
gnome-session - 2.28.0-0ubuntu6 2010-01-07 Deleted Karmic All builds were built successfully.
gnome-session - 2.28.0-0ubuntu5moo1 2010-01-07 Published Karmic All builds were built successfully.
Instead of copying 2.28.0-
Related branches
lp:~michael.nelson/launchpad/510331-syncsources-latest-pub
Merged
into
lp:launchpad
- Graham Binns (community): Approve (code)
-
Diff: 190 lines (+90/-22)5 files modifiedlib/lp/soyuz/doc/archive.txt (+11/-7)
lib/lp/soyuz/interfaces/archive.py (+2/-2)
lib/lp/soyuz/model/archive.py (+24/-11)
lib/lp/soyuz/stories/webservice/xx-archive.txt (+9/-2)
lib/lp/soyuz/tests/test_archive.py (+44/-0)
Changed in soyuz: | |
assignee: | nobody → Michael Nelson (michael.nelson) |
status: | Triaged → In Progress |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
syncSources() should pass status=PUBLISHED when it calls getPublishedSou rces().