Failed PackageCopyJobs should show up on the PPA page somehow
Bug #812869 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Colin Watson |
Bug Description
When using copyPackage(s) to copy packages to a PPA, if they fail they currently fail silently. This is in part due to the code in PCJ.run() that captures CannotCopy exceptions and swallows them (it assumes that all failures have a DistroSeriesDif
What could happen is that this piece of code writes the CannotCopy text to the PCJ's metadata. Failed jobs could be displayed in the PPA page and then the failed job can be deleted when acknowledged by a PPA uploader.
Related branches
lp:~cjwatson/launchpad/show-failed-copies
- j.c.sackett (community): Approve
-
Diff: 160 lines (+47/-9)3 files modifiedlib/lp/soyuz/interfaces/packagecopyjob.py (+6/-0)
lib/lp/soyuz/model/packagecopyjob.py (+25/-3)
lib/lp/soyuz/tests/test_packagecopyjob.py (+16/-6)
tags: | added: ppa |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: derivation |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Raphaël seems to have fixed most of this in r14665, but it doesn't quite work yet because the exception is still swallowed.