Give a better error message if trying to pbuilder a .changes file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBuilder |
Fix Released
|
Unknown
|
|||
pbuilder (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: pbuilder
A common mistake I make when running pbuilder is to specify the .changes file instead of the .dsc. Probably because my fingers are trained that the .changes is the "important" file (since it's what I'll be uploading).
Unfortunately, pbuilder generates a very confusing and unfriendly set of error messages when you give it a .changes file instead of a .dsc file, and it's not at all clear that the problem is that you gave it the wrong kind of file.
I'd like to see pbuilder be given a clearer error message when this happens. Maybe something like,
Error: <whatever>.changes is not in the right format (did you mean to build <whatever>.dsc?)
What would be even more slick would be if pbuilder could DoWhatIMean, and figure out the .dsc from the .changes filename, and pbuilder it. But at least giving a sane error message would be a step in the right direction.
Changed in pbuilder: | |
status: | Unknown → Fix Released |
Version 0.204 gives a good/better error when a .changes file is accidentally used: .changes] is not a valid .dsc file name
E: Command line parameter [<whatever>
At least, the suggestion that a dsc file should be used is showed.