{"shas":[["9562698e0e36e197f7a60315a64b1a5119958a5f","0694fe0c4e2d57ddf58aa20931ce9b7add794167@gmail.com","lib: internal: worker: packages: __do_dpkg_pre_packages_actions: skip the action if there is no input","Eugene V. Lyubimkin"],["dbb1602d455970da1e271b8f2ae9ebaebbba545d","b57189c5f2fd5b3daf3350a77fde90def1080fa5@gmail.com","lib: internal: worker: base: do not redirect commands' input unnecessarily\n\nCommit 'fbdc779d' taught the worker to submit input for hooks and\nother commands that require special data on stdin through a pipe\ninstead of asking the shell to redirect for us.  To keep the code\nsimple, it taught cupt to _always_ make stdin of external commands a\npipe, with the unpleasant consequence that the user cannot interact\nvia the terminal even if there was no input to be passed from cupt:\n\n\t| # cupt upgrade highlight-common\n\t| [...]\n\t| Unpacking highlight-common (from .../highlight-common_2.16-1_all.deb) ...\n\t| Setting up highlight-common (2.16-1) ...\n\t|\n\t| Configuration file `/etc/highlight/filetypes.conf'\n[...]\n\t|  The default action is to keep your current version.\n\t| *** filetypes.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing highlight-common (--install):\n\t|  EOF on stdin at conffile prompt\n\t| Errors were encountered while processing:\n\t|  highlight-common\n\t| E: pipe '/usr/bin/dpkg --install --no-triggers --force-bad-path //var/cache/apt/archives/highlight-common_2.16-1_all.deb' execution failed: exit code '1'\n\n\"Fix\" it by only redirecting stdin when the commandInput parameter is\nnonempty.\n\nSigned-off-by: Jonathan Nieder <jrnieder@gmail.com>\nSigned-off-by: Eugene V. Lyubimkin <jackyf.devel@gmail.com>","Jonathan Nieder"],["4ba3160b094b49c5ad5e69dc70a9f36feea161b3","0694fe0c4e2d57ddf58aa20931ce9b7add794167@gmail.com","debian: changelog: 2.0.0~rc2: added a changelog for the commit 'dbb1602d'","Eugene V. Lyubimkin"]],"ref":"refs/heads/master","size":3,"head":"4ba3160b094b49c5ad5e69dc70a9f36feea161b3","push_id":42322479}