[dput-ng-maint] Bug#798260: Don't buffer terminal output in post_upload_command

Gaudenz Steinlin gaudenz at debian.org
Mon Sep 7 13:29:59 UTC 2015


Package: dput-ng
Version: 1.10
Severity: wishlist

I use dput-ng to upload packages to a custom reprepro managed
repository. This repository uses a repository key protected by a
password. I configured dput-ng to run the following post_upload_command:

ssh -t reprepro at packages.lernstick.ch 'reprepro -V -V -b lernstick processincoming incoming'

After processing the incoming directory this command asks for the
archive key password to sign the new Release file. But because dput-ng
buffers all terminal output the password prompt is not visible. But it's
possible to blindly type the password and sign the file. After the
command finishes, dput-ng shows the complete command output including
the password prompts.

dput-ng should not buffer the output and display the prompt immediately.

Gaudenz

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-1-amd64 (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
Init: systemd (via /run/systemd/system)

Versions of packages dput-ng depends on:
ii  python-dput  1.10
pn  python:any   <none>

Versions of packages dput-ng recommends:
ii  bash-completion  1:2.1-4.2

dput-ng suggests no packages.

-- no debconf information



More information about the dput-ng-maint mailing list