/[qa]/trunk/wml/man-pages.wml
ViewVC logotype

Contents of /trunk/wml/man-pages.wml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 260 - (show annotations) (download)
Thu Nov 1 21:00:02 2001 UTC (11 years, 6 months ago) by tbm
File size: 4224 byte(s)
When reading in the listing of helpers, check if the package he wants to
work on is still listed in the lintian report.  Otherwise, the package
would be listed even though it's not in the lintian report anymore because
"$in_work += $#{$man{$package}} + 1;" adds $package to %key...
1 #use wml::templ::template title="Man page" author="Martin Michlmayr"
2
3 <P>As per Debian's Policy, every executable file in Debian has to
4 supply a man page. However, many packages don't follow this
5 requirement yet. Below is a listing of all executables for which no
6 corresponding man page is available yet. If you use any of these
7 packages listed below, please consider writing a man page for its
8 executable files and submit it to the
9 <A HREF = "http://bugs.debian.org">Bug Tracking System</A> (BTS).
10 For those man pages listed in <B>bold</B>, a bug report has already
11 been file so these pages should be given priority.
12
13 <P>Writing man pages is not very difficult. You can simply look at
14 some man pages in /usr/share/man and follow their structure (also see the
15 file /usr/share/doc/man-db/examples/manpage.example). Furthermore, some
16 information about the format of man pages is available
17 in the man page of
18 <A HREF = "http://Linux.com.hk/man/showman.cgi?url=http://linux.com.hk/man/man7/man.7.inc">man</A>
19 (man 7 man) and
20 <A HREF = "http://www.perl.com/pub/doc/manual/html/utils/pod2man.html">pod2man</A>
21 (man 1 pod2man). Finally, you can also install the package help2man (man
22 help2man) which is an automatic manpage generator.
23
24 <P>When you decide to help out, please write the man pages for a whole
25 package. Send e-mail to man-pages@qa.debian.org and tell us which
26 package you are working on. We can then add you to this web site so other
27 people know that someone is working on that particular package already.
28 Please also send your man page to the
29 <A HREF = "http://www.netmeister.org/misc/m2p2/index.html">Missing Man
30 Pages Project</A>.
31
32 <P>When you have written a man page, please let us know at
33 man-pages@qa.debian.org and submit the man page to the BTS.
34 Before submitting a new bug, please check the bug listing (linked from
35 the package name) for an existing bug. If a bug exists already,
36 send your man page to <I>nnn</I>@bugs.debian.org where <I>nnn</I> is
37 the bug number (e.g. 92423@bugs.debian.org). If there is no bug yet,
38 file a new one by sending a message to submit@bugs.debian.org.
39
40 <P>If you have written a man page for the executable file <I>foobar</I>
41 in the package <I>bar</I>, you would send a bug report like this:
42
43 <PRE>
44 To: &lt;nnn or submit&gt;@bugs.debian.org
45 Subject: man page for foobar
46
47 Package: bar
48 Tags: patch
49
50 &lt;attach foobar.1 here&gt;
51 </PRE>
52
53 <:
54
55 use POSIX qw(strftime);
56
57 $missing = 0;
58 open(LINTIAN, "/org/qa.debian.org/data/lintian.txt") || die "Cannot open lintian report";
59 $lintian_date = (stat LINTIAN)[9];
60 while(<LINTIAN>) {
61 (undef, $package, $error) = split(/: /);
62
63 if ($error =~ /^(link-to-undocumented-manpage|binary-without-manpage)/) {
64 (undef, $file) = split(/ /, $error);
65 push(@{$man{$package}}, $file);
66 $missing++;
67 }
68 }
69 close(LINTIAN);
70
71 $in_work = 0;
72 open(HELPERS, "/org/qa.debian.org/data/man-page-help.txt") || die "Cannot open helpers file";
73 while($package = <HELPERS>) {
74 chomp($package);
75 $who = <HELPERS>;
76 $who =~ s/\<.+\>//;
77 chomp($who);
78 $who =~ s/\s+$//;
79 <HELPERS>; # ignore starting date
80 # helpers don't get removed from the man-page-help.txt file so check if
81 # the package is still listed in the lintian report.
82 if (exists($man{$package})) {
83 $worked_on{$package} = $who;
84 $in_work += $#{$man{$package}} + 1;
85 }
86 <HELPERS>; # blank line
87 }
88 close(HELPERS);
89
90 print "<P>In total $missing man pages are missing at the moment. ";
91 print scalar(keys %worked_on);
92 print " packages ($in_work man pages) are being worked on. ";
93 print "This listing was generated from a Lintian report published on ";
94 print strftime '%a, %d %b %Y', gmtime $lintian_date;
95 print ".</P>\n";
96
97 foreach $package (sort keys %man) {
98 printf "<H2><A HREF = \"http://bugs.debian.org/$package\">$package</A></H2>";
99 if (exists($worked_on{$package})) {
100 printf "<PRE>\n";
101 printf ($worked_on{$package} . " is working on this package\n");
102 printf "</PRE>\n";
103 }
104 printf " <UL>\n";
105 foreach (@{$man{$package}}) {
106 if (s/\.gz$//) {
107 s#.*/##;
108 $_ = "<B>" . $_ . "</B>";
109 }
110 printf " <LI>$_\n";
111 }
112 printf " </UL>\n";
113 }
114
115 :>
116

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5