1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
|
'\" t
.\" Title: how-can-i-help
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/24/2017
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "HOW\-CAN\-I\-HELP" "1" "01/24/2017" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
how-can-i-help \- show opportunities for contributing to Debian
.SH "SYNOPSIS"
.sp
\fBhow\-can\-i\-help\fR [\fI\-haoqs\fR] [\fI\-\-help\fR] [\fI\-\-all\fR] [\fI\-\-old\fR] [\fI\-\-quiet\fR] [\fI\-\-show <type>\&...\fR]
.SH "DESCRIPTION"
.sp
\fBhow\-can\-i\-help\fR hooks into APT to list opportunities for contributions to Debian (orphaned packages, bugs tagged \fInewcomer\fR) 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)\&.
.SH "OPTIONS"
.sp
Options must come before the other command line arguments\&.
.PP
\fB\-h\fR, \fB\-\-help\fR
.RS 4
Show some help\&.
.RE
.PP
\fB\-a\fR, \fB\-\-all\fR
.RS 4
Show new opportunities for contribution to all available Debian packages\&.
.RE
.PP
\fB\-o\fR, \fB\-\-old\fR
.RS 4
Show opportunities that were already shown before (will also show the new ones)\&.
.RE
.PP
\fB\-q\fR, \fB\-\-quiet\fR
.RS 4
Do not display header and footer\&.
.RE
.PP
\fB\-j\fR, \fB\-\-json\fR
.RS 4
Display output in JSON format\&.
.RE
.PP
\fB\-p\fR, \fB\-\-apt\fR
.RS 4
Always exit with code 0\&. By default run by apt hook to prevent apt failures\&.
.RE
.PP
\fB\-s <type>\&...\fR, \fB\-\-show <type>\&...\fR
.RS 4
Show only specific types of opportunities\&. Provided types have to be separated by commas\&.
.RE
.SH "PROXY SUPPORT"
.sp
\fBhow\-can\-i\-help\fR uses the HTTP_PROXY (or http_proxy) environment variable as HTTP proxy configuration\&.
.SH "RUNNING ON REGULAR BASIS"
.sp
You can run \fBhow\-can\-i\-help\fR in a cron job as a normal user so that you receive a mail when new things are reported\&. To receive only mails when new contributions are reported, use the \fI\-q\fR flag\&.
.sp
Crontab example:
.sp
.if n \{\
.RS 4
.\}
.nf
0 8 * * * how\-can\-i\-help \-q
.fi
.if n \{\
.RE
.\}
.SH "DISPLAY OUTPUT IN JSON FORMAT"
.sp
\fBhow\-can\-i\-help\fR can be configured to provide machine readable JSON output\&. When running in this mode, only error messages and JSON output will be produced\&. If there are no packages that would be shown, no output will be produced\&. Elements in the JSON output are not sorted\&. All the other options can be used alongside the \fI\-\-json\fR option\&.
.sp
Simple example:
.sp
.if n \{\
.RS 4
.\}
.nf
how\-can\-i\-help \-\-json \-\-show testing\-autorm
.fi
.if n \{\
.RE
.\}
.SH "EXIT CODES"
.sp
When run by apt hook, \fBhow\-can\-i\-help\fR will always exit with code 0, even if an error occurred\&. When \fBhow\-can\-i\-help\fR is called without \fI\-\-apt\fR option, import and command line parsing errors will still exit with code 0, but all the other errors will return appropriate exit codes\&. Regardless of the \fI\-\-apt\fR option, all error messages will be displayed normally\&.
.SH "SHOW ONLY SPECIFIC TYPES OF OPPORTUNITIES"
.sp
\fBhow\-can\-i\-help\fR can be configured to show only specific types of opportunities\&. You only need to run it with \-\-show option followed by a single space and then a list of types\&. Types have to be separated only by commas\&.
.sp
Simple example:
.sp
.if n \{\
.RS 4
.\}
.nf
how\-can\-i\-help \-\-show newcomer,RFH
.fi
.if n \{\
.RE
.\}
.sp
Example showing newcomer opportunities (also the ones that were already shown before):
.sp
.if n \{\
.RS 4
.\}
.nf
how\-can\-i\-help \-\-old \-\-show newcomer
.fi
.if n \{\
.RE
.\}
.sp
The following types can be used: wnpp, newcomer, help, no\-testing, testing\-autorm, rfs
.sp
Specific WNPP types: O, RFA, RFH, ITA
.sp
And special types: pseudo\-package
.SH "IGNORE SELECTED TYPES OF OPPORTUNITIES"
.sp
\fBhow\-can\-i\-help\fR can also ignore selected types of opportunities\&. These are listed in ~/\&.config/how\-can\-i\-help/ignored separated by whitespaces or newlines\&.
.sp
Allowed types: wnpp, newcomer, help, no\-testing, testing\-autorm, rfs
.sp
Allowed WNPP types: O, RFA, RFH, ITA
.sp
Allowed special types: pseudo\-package
.sp
Running with \fI\-\-show\fR option will override "ignored types" configuration\&.
.SH "TYPES OF OPPORTUNITIES"
.sp
The following acronyms are used to describe the supported types:
.sp
\fBwnpp\fR Work\-Needing and Prospective Packages\&.
.sp
\fBnewcomer\fR Bugs tagged with the \fInewcomer\fR tag\&. Those bugs were formerly tagged with the now deprecated \fIgift\fR tag\&.
.sp
\fBhelp\fR Bugs tagged with the \fIhelp\fR tag\&.
.sp
\fBno\-testing\fR Packages removed from Debian \fItesting\fR\&.
.sp
\fBtesting\-autorm\fR Packages going to be removed from Debian \fItesting\fR\&.
.sp
\fBrfs\fR Request For Sponsorship\&.
.sp
\fBO\fR Orphaned\&.
.sp
\fBRFA\fR Request For Adoption\&.
.sp
\fBRFH\fR Request For Help\&.
.sp
\fBITA\fR Intent To Adopt\&.
.sp
\fBpseudo\-package\fR Newcomer bugs affecting Debian infrastructure (general Debian services)\&. Those pseudo\-packages cannot be installed\&.
.SH "ADDITIONAL PACKAGES"
.sp
\fBhow\-can\-i\-help\fR can also monitor packages not installed locally\&. These are listed in ~/\&.config/how\-can\-i\-help/packages separated by whitespaces or newlines\&.
.sp
For example one can monitor all package from a server as follow:
.sp
.if n \{\
.RS 4
.\}
.nf
# ssh myserver dpkg \-l | tail \-n+6 | awk \*(Aq{ print $2 }\*(Aq \e
>> ~/\&.config/how\-can\-i\-help/packages
.fi
.if n \{\
.RE
.\}
.SH "SEE ALSO"
.sp
https://wiki\&.debian\&.org/how\-can\-i\-help
.sp
https://wiki\&.debian\&.org/qa\&.debian\&.org/GiftTag
.sp
https://www\&.debian\&.org/devel/wnpp
.SH "AUTHORS"
.sp
Tomasz Nitecki (tnnn@tnnn\&.pl)
.sp
Lucas Nussbaum (lucas@debian\&.org)
.SH "DATE"
.sp
2016\-03\-03
|