Bug#720981: Seems already done!

2013-10-30 Thread Joseph Herlant
Control: tags 720981 + moreinfo fixed

Hi Lucas,

It seems you already developed this feature (I see it in the git repo).

In git, it is this commit:
--
commit e1f65e1fd8a46c2da6a42a56c5a8fe8766c002e8
Author: Lucas Nussbaum lu...@debian.org
Date:   Thu Sep 12 09:07:56 2013 +0200

Add --quiet option. Contributes to fixing #720981.
--

Is this something left to do or can this bug be marked as resolved?

Thanks in advance,
Joseph


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



Bug#720981: Seems already done!

2013-10-30 Thread Lucas Nussbaum
On 30/10/13 at 10:17 +0100, Joseph Herlant wrote:
 Control: tags 720981 + moreinfo fixed
 
 Hi Lucas,
 
 It seems you already developed this feature (I see it in the git repo).
 
 In git, it is this commit:
 --
 commit e1f65e1fd8a46c2da6a42a56c5a8fe8766c002e8
 Author: Lucas Nussbaum lu...@debian.org
 Date:   Thu Sep 12 09:07:56 2013 +0200
 
 Add --quiet option. Contributes to fixing #720981.
 --
 
 Is this something left to do or can this bug be marked as resolved?

Hi Joseph,

I think that the manpage should document how to run how-can-i-help on a
regular basis.

Lucas


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



Bug#720981: Seems already done!

2013-10-30 Thread Joseph Herlant
Hi Lucas,

I updated the manpages from the git repo with a usage on regular
bases paragraph and also added a paragraph about support for http
proxy added in bug #726403 (in which I forgot the documentation
update).

Please find attached the 2 updated files. Please tell me if the added
paragraphs fits you.

Best regards,
Joseph
how-can-i-help(1)

:doctype: manpage

NAME

how-can-i-help - show opportunities for contributing to Debian

SYNOPSIS

*how-can-i-help* ['-ahq'] ['--help'] ['--all'] ['--quiet']

DESCRIPTION
---
*how-can-i-help* hooks into APT to list opportunities for contributions to
Debian (orphaned packages, bugs tagged 'gift') for packages installed
locally, after each APT invocation. It can also be invoked directly, and
then lists all opportunities for contribution (not just the new ones).

OPTIONS
---
Options must come before the other command line arguments.

*-h*, *--help*::
  Show some help.

*-a*, *--all*::
  Show all opportunities for contribution.
*
*-q*, *--quiet*::
  Do not display header and footer.

PROXY SUPPORT
-

*how-can-i-help* uses the HTTP_PROXY (or http_proxy) environment variable as 
http
proxy configuration. Be carefull when using how-can-i-help directly with the
sudo command, you must have set the http_proxy variable in root's bashrc and 
launch the sudo command with a '-i' option.

As it is executed after the APT invocations, the same configuration applies when
using APT with sudo.

RUNNING ON REGULAR BASIS


You can run how-can-i-help in a cron job as normal (sudoer) user so that you
recieve a mail when new things are reported. To recieve only mails when new
contributions are recieve, use the '-q' flag.

NOTE: As a normal user, how-can-i-help always runs with the --all option, so it
would pop a mail every time cron job runs. Use it behind a 'sudo' to be able
to only have a mail when new help is needed.

WARNING: If you are behind a proxy, then you will have to use a 'sudo -i'. This
will generate a mail with the 'stdin: is not a tty' message each time the job
runs. +
The solution is to replace the 'mesg n' line by 'tty -s  mesg n' in root's
profile.

Crontab example:
-
00 08 * * * /usr/bin/sudo how-can-i-help -q
-

ADDITIONAL PACKAGES
---
*how-can-i-help* can also monitor packages not installed locally. These are
listed in ~/.config/how-can-i-help/packages separated by whitespaces or
newlines.

For example one can monitor all package from a server as follow:

  # ssh myserver dpkg -l | tail -n+5 | awk '{ print $2 }' \
   ~/.config/how-can-i-help/packages

SEE ALSO

https://wiki.debian.org/how-can-i-help

AUTHOR
--
Lucas Nussbaum (lu...@debian.org)

DATE

2013-10-30

// vim: set filetype=asciidoc:


how-can-i-help.1
Description: Binary data


Bug#720981: Seems already done!

2013-10-30 Thread Christophe Siraut
Hi Joseph,

On Wed, Oct 30, 2013 at 11:53:37AM +0100, Joseph Herlant wrote:
 Hi Lucas,
 
 I updated the manpages from the git repo with a usage on regular
 bases paragraph and also added a paragraph about support for http
 proxy added in bug #726403 (in which I forgot the documentation
 update).
 
 Please find attached the 2 updated files. Please tell me if the added
 paragraphs fits you.
 
 Best regards,
 Joseph

 how-can-i-help(1)
 
 :doctype: manpage
 
 NAME
 
 how-can-i-help - show opportunities for contributing to Debian
 
 SYNOPSIS
 
 *how-can-i-help* ['-ahq'] ['--help'] ['--all'] ['--quiet']
 
 DESCRIPTION
 ---
 *how-can-i-help* hooks into APT to list opportunities for contributions to
 Debian (orphaned packages, bugs tagged 'gift') for packages installed
 locally, after each APT invocation. It can also be invoked directly, and
 then lists all opportunities for contribution (not just the new ones).
 
 OPTIONS
 ---
 Options must come before the other command line arguments.
 
 *-h*, *--help*::
   Show some help.
 
 *-a*, *--all*::
   Show all opportunities for contribution.
 *
 *-q*, *--quiet*::
   Do not display header and footer.
 
 PROXY SUPPORT
 -
 
 *how-can-i-help* uses the HTTP_PROXY (or http_proxy) environment variable as 
 http
 proxy configuration. Be carefull when using how-can-i-help directly with the
 sudo command, you must have set the http_proxy variable in root's bashrc and 
 launch the sudo command with a '-i' option.
 
 As it is executed after the APT invocations, the same configuration applies 
 when
 using APT with sudo.
 
 RUNNING ON REGULAR BASIS
 
 
 You can run how-can-i-help in a cron job as normal (sudoer) user so that you
 recieve a mail when new things are reported. To recieve only mails when new
 contributions are recieve, use the '-q' flag.
 
 NOTE: As a normal user, how-can-i-help always runs with the --all option, so 
 it
 would pop a mail every time cron job runs. Use it behind a 'sudo' to be able
 to only have a mail when new help is needed.

This is not true anymore: since version 0.7 how-can-i-help behaves in
the same way for all users. I suppose we do not need sudo anymore.

Regards,
Christophe

 WARNING: If you are behind a proxy, then you will have to use a 'sudo -i'. 
 This
 will generate a mail with the 'stdin: is not a tty' message each time the job
 runs. +
 The solution is to replace the 'mesg n' line by 'tty -s  mesg n' in root's
 profile.
 
 Crontab example:
 -
 00 08 * * * /usr/bin/sudo how-can-i-help -q
 -
 
 ADDITIONAL PACKAGES
 ---
 *how-can-i-help* can also monitor packages not installed locally. These are
 listed in ~/.config/how-can-i-help/packages separated by whitespaces or
 newlines.
 
 For example one can monitor all package from a server as follow:
 
   # ssh myserver dpkg -l | tail -n+5 | awk '{ print $2 }' \
~/.config/how-can-i-help/packages
 
 SEE ALSO
 
 https://wiki.debian.org/how-can-i-help
 
 AUTHOR
 --
 Lucas Nussbaum (lu...@debian.org)
 
 DATE
 
 2013-10-30
 
 // vim: set filetype=asciidoc:


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



Bug#720981: Seems already done!

2013-10-30 Thread Joseph Herlant
Thanks a lot Christophe for noticing that point.

I updated the manpage accordingly. Please find attached the corrected files.

Regards,
Joseph
how-can-i-help(1)

:doctype: manpage

NAME

how-can-i-help - show opportunities for contributing to Debian

SYNOPSIS

*how-can-i-help* ['-ahq'] ['--help'] ['--all'] ['--quiet']

DESCRIPTION
---
*how-can-i-help* hooks into APT to list opportunities for contributions to
Debian (orphaned packages, bugs tagged 'gift') for packages installed
locally, after each APT invocation. It can also be invoked directly, and
then lists all opportunities for contribution (not just the new ones).

OPTIONS
---
Options must come before the other command line arguments.

*-h*, *--help*::
  Show some help.

*-a*, *--all*::
  Show all opportunities for contribution.
*
*-q*, *--quiet*::
  Do not display header and footer.

PROXY SUPPORT
-

*how-can-i-help* uses the HTTP_PROXY (or http_proxy) environment variable as 
http
proxy configuration. Be carefull when using how-can-i-help directly with the
sudo command, you must have set the http_proxy variable in root's bashrc and 
launch the sudo command with a '-i' option.

As it is executed after the APT invocations, the same configuration applies when
using APT with sudo.

RUNNING ON REGULAR BASIS


You can run *how-can-i-help* in a cron job as normal user so that you
recieve a mail when new things are reported. To recieve only mails when new
contributions are recieve, use the '-q' flag.

Crontab example:
-
00 08 * * * how-can-i-help -q
-

ADDITIONAL PACKAGES
---
*how-can-i-help* can also monitor packages not installed locally. These are
listed in ~/.config/how-can-i-help/packages separated by whitespaces or
newlines.

For example one can monitor all package from a server as follow:

  # ssh myserver dpkg -l | tail -n+5 | awk '{ print $2 }' \
   ~/.config/how-can-i-help/packages

SEE ALSO

https://wiki.debian.org/how-can-i-help

AUTHOR
--
Lucas Nussbaum (lu...@debian.org)

DATE

2013-10-30

// vim: set filetype=asciidoc:


how-can-i-help.1
Description: Binary data


Bug#720981: Seems already done!

2013-10-30 Thread Joseph Herlant
Correcting a typo errors.

Sorry.
how-can-i-help(1)

:doctype: manpage

NAME

how-can-i-help - show opportunities for contributing to Debian

SYNOPSIS

*how-can-i-help* ['-ahq'] ['--help'] ['--all'] ['--quiet']

DESCRIPTION
---
*how-can-i-help* hooks into APT to list opportunities for contributions to
Debian (orphaned packages, bugs tagged 'gift') for packages installed
locally, after each APT invocation. It can also be invoked directly, and
then lists all opportunities for contribution (not just the new ones).

OPTIONS
---
Options must come before the other command line arguments.

*-h*, *--help*::
  Show some help.

*-a*, *--all*::
  Show all opportunities for contribution.
*
*-q*, *--quiet*::
  Do not display header and footer.

PROXY SUPPORT
-

*how-can-i-help* uses the HTTP_PROXY (or http_proxy) environment variable as 
http proxy configuration. Be carefull when using *how-can-i-help* directly with
the sudo command, you must have set the http_proxy variable in root's bashrc 
and 
launch the sudo command with a '-i' option.

As it is executed after the APT invocations, the same configuration applies when
using APT with sudo.

RUNNING ON REGULAR BASIS


You can run *how-can-i-help* in a cron job as normal user so that you
recieve a mail when new things are reported. To recieve only mails when new
contributions are recieved, use the '-q' flag.

Crontab example:
-
00 08 * * * how-can-i-help -q
-

ADDITIONAL PACKAGES
---
*how-can-i-help* can also monitor packages not installed locally. These are
listed in ~/.config/how-can-i-help/packages separated by whitespaces or
newlines.

For example one can monitor all package from a server as follow:

  # ssh myserver dpkg -l | tail -n+5 | awk '{ print $2 }' \
   ~/.config/how-can-i-help/packages

SEE ALSO

https://wiki.debian.org/how-can-i-help

AUTHOR
--
Lucas Nussbaum (lu...@debian.org)

DATE

2013-10-30

// vim: set filetype=asciidoc:


how-can-i-help.1
Description: Binary data