Output improvement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-clone (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi.
When using apt-clone for the first time, the output can be misleading:
apt-clone clone test.tar.gz
not installable:
version mismatch:
Note that you can use --with-dpkg-repack to include those packges in the clone file.
There is no need to write "not installable: " with an empty list. It leaves the user with a doubt.
I checked the code to be sure this was normal output and it is:
https:/
print "not installable: %s" % ", ".join(
print "version mismatch: %s" % ", ".join(
if not args.with_
print "\nNote that you can use --with-dpkg-repack to include "\
It could be improved this way, for instance:
if clone.not_
if clone.version_
if (clone.
and not args.with_
print "\nNote that you can use --with-dpkg-repack to include "\
(I'm not totally sure about the conditions to test for the notice about dpkg-repack.)
Shall I submit a patch? How?
Thanks.
The source I'm quoting is v2.2.
Of course, if asked for it, I'll submit the patch for latest version.