[sponsor-patch] Exits, deleting temporary directory, when dput fails.

Bug #1100328 reported by Iain Lane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Full disclosure: I'm using dput-ng. I have DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -ICVS -I.svn -I_darcs -I.git -I.bzr -us -uc"

I tried to sponsor a patch. dput failed because the source package changesfile and dsc weren't signed.

,----
| Do you want to upload the package to the official Ubuntu archive [y|e|N|?]? yes
| Uploading roundcube-plugins-extra using ftp to ubuntu (host: upload.ubuntu.com; directory: /)
| running allowed-distribution: check whether a local profile permits uploads to the target distribution
| running checksum: verify checksums before uploading
| running suite-mismatch: check the target distribution for common errors
| running check-debs: makes sure the upload contains a binary package
| running gpg: check GnuPG signatures before the upload
| gpg: no valid OpenPGP data found.
| gpg: the signature could not be verified.
| Please remember that the signature file (.sig or .asc)
| should be the first file given on the command line.
|
| No valid signature on roundcube-plugins-extra_0.6-20111030ubuntu1_source.changes: No signature on
| sponsor-patch: Error: Upload of roundcube-plugins-extra_0.6-20111030ubuntu1_source.changes to ubuntu failed.
`----

sponsor-patch then exited. After this the working files had been deleted so I had to rebuild the source package.

It'd be good to handle this specific case and run debsign for the user, but also more generally to trap failures of spawned programs and offer the user the chance to fix stuff up rather than deleting the temporary files outright.

Benjamin Drung (bdrung)
Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Dan Streetman (ddstreet) wrote :

as this is ~10 years old, i'm closing as wontfix

Changed in ubuntu-dev-tools (Ubuntu):
status: New → Won't Fix
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.