Bug#772859: needrestart: In interactive mode, a should be equivalent to auto mode, not y for all

2015-05-19 Thread Thomas Liske
tags 772859 fixed-upstream
thanks


Hi Axel,


On 12/11/2014 08:31 PM, Axel Beckert wrote:
 Package: needrestart
 Version: 1.2-6
 Severity: wishlist
 Tags: upstream
 
 Hi Thomas and Patrick,
 
 I just killed my X session once again. ;-) This time, because in
 interactive mode I expected a means auto as with $nrconf{restart}.
 But instead it seems to mean all -- which IMHO is not so useful.

I've changed the dialog accordingly.

 Additionally those keys are neither documented in the needrestart(1) nor
 by pressing ? at that prompt as common with many tools (dpkg,
 aptitude, etc.).

ACK. A inline help has been added upstream:

Restart accounts-daemon.service? [Ynas?] ?
  Yes   - restart this service
  No- do not restart this service
  Auto  - auto restart all remaining services
  Stop  - stop restarting services



 Besides documenting the key's meanings (does s mean stop?), I
 suggest to maybe change the meaning of a to auto and introduce A
 for all. I though have not yet many ideas how to indicate the default
 value instead of the capital letter used so far: Using square brackets
 around the default value seems a common approach here, i.e. use
 y[n]aAs where currently yNas is shown.

The query is case insensitive. I've decided to drop all completely -
auto sounds more usefull.


HTH,
Thomas

-- 

::  WWW: http://fiasko-nw.net/~thomas/  ::
   :::  Jabber:   xmpp:tho...@jabber.fiasko-nw.net  :::
::  flickr:  http://www.flickr.com/photos/laugufe/  ::


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#772859: needrestart: In interactive mode, a should be equivalent to auto mode, not y for all

2014-12-11 Thread Axel Beckert
Package: needrestart
Version: 1.2-6
Severity: wishlist
Tags: upstream

Hi Thomas and Patrick,

I just killed my X session once again. ;-) This time, because in
interactive mode I expected a means auto as with $nrconf{restart}.
But instead it seems to mean all -- which IMHO is not so useful.

Additionally those keys are neither documented in the needrestart(1) nor
by pressing ? at that prompt as common with many tools (dpkg,
aptitude, etc.).

Besides documenting the key's meanings (does s mean stop?), I
suggest to maybe change the meaning of a to auto and introduce A
for all. I though have not yet many ideas how to indicate the default
value instead of the capital letter used so far: Using square brackets
around the default value seems a common approach here, i.e. use
y[n]aAs where currently yNas is shown.

-- Package-specific info:
needrestart output:
Running kernel seems to be up-to-date.
No services need to be restarted.

checkrestart output:


*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental'), (109, 
'buildd-unstable'), (109, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.17.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages needrestart depends on:
ii  dpkg   1.17.22
ii  libmodule-find-perl0.12-1
ii  libmodule-scandeps-perl1.16-1
ii  libproc-processtable-perl  0.51-1
ii  libsort-naturally-perl 1.03-1
ii  libterm-readkey-perl   2.32-1+b1
ii  perl   5.20.1-3

needrestart recommends no packages.

needrestart suggests no packages.

-- Configuration Files:
/etc/needrestart/notify.d/100-write 84b33558c16ca4e14b797b5625e2a73b [Errno 2] 
No such file or directory: u'/etc/needrestart/notify.d/100-write 
84b33558c16ca4e14b797b5625e2a73b'
/etc/needrestart/notify.d/110-notify-send 3128a2f4fe146bd92b6bee37ccb27f05 
[Errno 2] No such file or directory: 
u'/etc/needrestart/notify.d/110-notify-send 3128a2f4fe146bd92b6bee37ccb27f05'
/etc/needrestart/notify.d/README.needrestart 2906926856dab8433bcde1b3852ceed0 
[Errno 2] No such file or directory: 
u'/etc/needrestart/notify.d/README.needrestart 2906926856dab8433bcde1b3852ceed0'

-- no debconf information


Bug#772859: needrestart: In interactive mode, a should be equivalent to auto mode, not y for all

2014-12-11 Thread Patrick Matthäi
Also irgendwann wirst noch vor den Haag wegen Massen X More gestellt :o

Von meinem iPad gesendet

 Am 11.12.2014 um 20:31 schrieb Axel Beckert a...@debian.org:
 
 Package: needrestart
 Version: 1.2-6
 Severity: wishlist
 Tags: upstream
 
 Hi Thomas and Patrick,
 
 I just killed my X session once again. ;-) This time, because in
 interactive mode I expected a means auto as with $nrconf{restart}.
 But instead it seems to mean all -- which IMHO is not so useful.
 
 Additionally those keys are neither documented in the needrestart(1) nor
 by pressing ? at that prompt as common with many tools (dpkg,
 aptitude, etc.).
 
 Besides documenting the key's meanings (does s mean stop?), I
 suggest to maybe change the meaning of a to auto and introduce A
 for all. I though have not yet many ideas how to indicate the default
 value instead of the capital letter used so far: Using square brackets
 around the default value seems a common approach here, i.e. use
 y[n]aAs where currently yNas is shown.
 
 -- Package-specific info:
 needrestart output:
 Running kernel seems to be up-to-date.
 No services need to be restarted.
 
 checkrestart output:
 
 
 *** Reporter, please consider answering these questions, where appropriate ***
 
   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?
 
 *** End of the template - remove these template lines ***
 
 
 -- System Information:
 Debian Release: 8.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental'), 
 (109, 'buildd-unstable'), (109, 'buildd-experimental')
 Architecture: amd64 (x86_64)
 
 Kernel: Linux 3.17.0-trunk-amd64 (SMP w/4 CPU cores)
 Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash
 Init: systemd (via /run/systemd/system)
 
 Versions of packages needrestart depends on:
 ii  dpkg   1.17.22
 ii  libmodule-find-perl0.12-1
 ii  libmodule-scandeps-perl1.16-1
 ii  libproc-processtable-perl  0.51-1
 ii  libsort-naturally-perl 1.03-1
 ii  libterm-readkey-perl   2.32-1+b1
 ii  perl   5.20.1-3
 
 needrestart recommends no packages.
 
 needrestart suggests no packages.
 
 -- Configuration Files:
 /etc/needrestart/notify.d/100-write 84b33558c16ca4e14b797b5625e2a73b [Errno 
 2] No such file or directory: u'/etc/needrestart/notify.d/100-write 
 84b33558c16ca4e14b797b5625e2a73b'
 /etc/needrestart/notify.d/110-notify-send 3128a2f4fe146bd92b6bee37ccb27f05 
 [Errno 2] No such file or directory: 
 u'/etc/needrestart/notify.d/110-notify-send 3128a2f4fe146bd92b6bee37ccb27f05'
 /etc/needrestart/notify.d/README.needrestart 2906926856dab8433bcde1b3852ceed0 
 [Errno 2] No such file or directory: 
 u'/etc/needrestart/notify.d/README.needrestart 
 2906926856dab8433bcde1b3852ceed0'
 
 -- 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