Package: dput-ng Version: 1.5 Severity: minor Hi folks,
dput-ng seems a little chattier than I would prefer, particularly when a post_upload_comamnd fails. Here's a transcript of a recent run. Things of note there: 1. The running lines were kind of interesting the first time I used it after upgrading, but are getting kind of tiresome now. I'm not sure it's really important for me to know that dput is doing that every time I run it. 2. When a post_upload_command fails, I expect to see the output from that command (that's all the reprepro output here). It's also nice to have the command that ran and the exit status. But I'm not sure I really care about Python barfing out its backtrace, and in this particular case, since it came before the actual error output, it obscured the actual problem. Also, as a much more minor note, dput-ng seems quite fond of long (>80 column) lines, which makes some of its informational output a bit hard to read. This is probably a personal preference thing, but in case no one else has given the feedback, I personally would rather the first line be something more like: Uploading stanford-server using scp to local Host: genesis.stanford.edu Directory: /srv/repos/local/incoming or maybe: Uploading stanford-server using scp to local (genesis.stanford.edu:/srv/repos/local/incoming) Uploading stanford-server using scp to local (host: genesis.stanford.edu; directory: /srv/repos/local/incoming) running allowed-distribution: check whether a local profile permits uploads to the target distribution running protected-distribution: warn before uploading to distributions where a special policy applies 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: Signature made Mon 15 Jul 2013 01:53:58 PM PDT using RSA key ID 5736DE75 gpg: Good signature from "Russ Allbery <r...@stanford.edu>" gpg: aka "Russ Allbery <r...@debian.org>" gpg: aka "Russ Allbery <ea...@windlord.stanford.edu>" gpg: aka "Russ Allbery <ea...@eyrie.org>" SCP is deprecated. Please consider upgrading to SFTP. Uploading stanford-server_102.dsc Uploading stanford-server_102.tar.gz Uploading stanford-server_102_all.deb Uploading stanford-server-packages_102_all.deb Uploading stanford-server_102_i386.changes Exporting indices... Traceback (most recent call last): File "/usr/bin/dput", line 92, in <module> upload_package(changes, args) File "/usr/lib/python2.7/dist-packages/dput/uploader.py", line 344, in invoke_dput logger.warning("No hooks defined in the profile. " File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ self.gen.next() File "/usr/lib/python2.7/dist-packages/dput/uploader.py", line 175, in uploader obj._post_hook() File "/usr/lib/python2.7/dist-packages/dput/uploader.py", line 68, in _post_hook self._run_hook("post_upload_command") File "/usr/lib/python2.7/dist-packages/dput/uploader.py", line 92, in _run_hook ret dput.exceptions.DputError: Command `ssh genesis.stanford.edu reprepro-upload local' returned an error: File "pool/main/p/postfix/postfix_2.9.6-2su2.dsc" is already registered with different checksums! md5 expected: ebb076d7da2098b533897fb857fcbe86, got: da798c3a9462a1268e059b885ccec571 sha1 expected: 9c50095164745a95761ebaff2328e1fce6660584, got: bdc30a219c97878c2bdade00fbae899af9c6e033 sha256 expected: 3624b71c67ced830d49c8d62b4620e85ca31b343db71b2cd437c5ac5bc2ab760, got: 33f9d8fc143d5d8a73991e5e5b3f95a5b02f0665d7866fd27e01df2ccfe4c8ca size expected: 1762, got: 2049 Not deleting possibly left over files due to previous errors. (To keep the files in the still existing index files from vanishing) Use dumpunreferenced/deleteunreferenced to show/delete files without references. There have been errors! [err=254] -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.8-2-686-pae (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dput-ng depends on: ii python 2.7.5-2 ii python-dput 1.5 Versions of packages dput-ng recommends: ii bash-completion 1:2.0-1 dput-ng suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org