control: severity -1 wishlist control: tags -1 wontfix Hi,
I don't think uscan should rephrase all ambiguous dpkg error messages. If work is needed to be done, it's dpkg side. But I don't think it is needed. Let me show... On Tue, Jul 04, 2017 at 04:59:56PM +0200, Laurent Bigonville wrote: > Le 04/07/17 à 14:33, Osamu Aoki a écrit : ... > > If you really wish to fix error message, please reassign this bug to > > dpkg. > > > > If you have no objection, I will close this bug in devscripts later. > Well I think that if this message is expected, uscan should hide it > completely, as this is misleading for the users Well, ... there could be all other dpkg error messages. Just for example: $ dpkg --compare-versions "1:-" gt 2; echo $? dpkg: error: version '1:-' has bad syntax: revision number is empty 2 $ dpkg --compare-versions "1_" gt 2; echo $? dpkg: warning: version '1_' has bad syntax: invalid character in version number 1 $ dpkg --compare-versions "a" gt 2; echo $? dpkg: warning: version 'a' has bad syntax: version number does not start with digit 0 $ dpkg --compare-versions "-1-" gt 2; echo $? dpkg: error: unknown option -1 Type dpkg --help for help about installing and deinstalling packages [*]; Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' ! 2 $ dpkg --compare-versions "--" gt 2; echo $? dpkg: error: --compare-versions takes three arguments: <version> <relation> <version> Type dpkg --help for help about installing and deinstalling packages [*]; Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through 'less' or 'more' ! 2 All of these are useful error messages. If you wish to know internals of uscan action for debug, uscan with the --debug option produces a human readable report of uscan's execution including internal variable states. I don't think adding any more cosmetic complications are good or uscan. I also think this is not-so badly ambiguous. Many Debian documents have this "version" ambiguity which we should all be familiar with as DD. Of course, if you have a nice set of clean patch, it is welcomed. (But I don't want to make such patch.) Osamu _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
