Ivan Shmakov [EMAIL PROTECTED] writes:
David Weinehall [EMAIL PROTECTED] writes:
A helper script, `lintian-man', could be introduced to hide all the
hackery, and to provide a way for the developer to reproduce the
problem. Then, Tag: may be changed to, e. g.,
David Weinehall [EMAIL PROTECTED] writes:
A helper script, `lintian-man', could be introduced to hide all
the hackery, and to provide a way for the developer to reproduce
the problem. Then, Tag: may be changed to, e. g.,
`manpage-has-messages-from-lintian-man'. (Or should this script
Colin Watson [EMAIL PROTECTED] writes:
In a recent thread in debian-devel, it was suggested that lintian
could call man(1) in such a way that the groff(1), called by `man',
will emit warnings for every undefined macro, which is useful in
catching the bugs like this:
.B foo
. Note:
On Wed, Nov 21, 2007 at 09:33:49PM +0600, Ivan Shmakov wrote:
[snip]
A helper script, `lintian-man', could be introduced to hide all
the hackery, and to provide a way for the developer to reproduce
the problem. Then, Tag: may be changed to, e. g.,
On Mon, Nov 19, 2007 at 10:23:36AM +0600, Ivan Shmakov wrote:
Colin Watson [EMAIL PROTECTED] writes:
(Unfortunately, you might have to parse groff's warning text in order
to ignore particular cases.)
I'm not familiar with Groff at all... Does it allow later `.de'
to override
On Sat, Nov 17, 2007 at 06:50:18PM -0800, Russ Allbery wrote:
Colin Watson [EMAIL PROTECTED] writes:
W: dpkg-dev: manpage-has-errors-from-man
usr/share/man/man1/dpkg-architecture.1.gz 104: warning: `C`' not defined
I'm not entirely sure what all this line noise is trying to achieve.
Colin Watson [EMAIL PROTECTED] writes:
[...]
W: libdirectfb-dev: manpage-has-errors-from-man
usr/share/man/man1/directfb-config.1.gz 24: warning: `l' not defined
W: dvidvi: manpage-has-errors-from-man usr/share/man/man1/a5booklet.1.gz 9:
warning: `IX' not defined
The lines like
On Fri, Nov 16, 2007 at 12:32:26AM +0600, Ivan Shmakov wrote:
In a recent thread in debian-devel, it was suggested that
lintian could call man(1) in such a way that the groff(1),
called by `man', will emit warnings for every undefined macro,
which is useful in catching
On Fri, Nov 16, 2007 at 12:05:39AM +0600, Ivan Shmakov wrote:
$ lintian --root=$PWD/../lintian-root-2007-11-15 \
*.deb \
| grep -F has-errors
W: libdirectfb-dev: manpage-has-errors-from-man
usr/share/man/man1/directfb-config.1.gz 24: warning: `l' not defined
W: dvidvi:
Colin Watson [EMAIL PROTECTED] writes:
.IX is probably from pod2man, which does:
.\ If the F register is turned on, we'll generate index entries on stderr
for
.\ titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
.\ entries marked with X in POD. Of course, you'll
IS == Ivan Shmakov [EMAIL PROTECTED] writes:
CW == Colin Watson [EMAIL PROTECTED] writes:
[...]
The -wmac option to groff will emit a warning for this mistake.
[...]
It's not especially easy right now to make Lintian pass this, since
man doesn't expose an interface to add extra options
In a recent thread in debian-devel, it was suggested that
lintian could call man(1) in such a way that the groff(1),
called by `man', will emit warnings for every undefined macro,
which is useful in catching the bugs like this:
.B foo
. Note: ...
Below is
CW == Colin Watson [EMAIL PROTECTED] writes:
What I'm expected to do, then? (With respect to Debian BTS.) I
believe, start filing multiple bug reports would be a bad idea (for
me now.) May I suggest an explicit warning to be generated by Groff
on unknown ``command'', so that
Russ Allbery [EMAIL PROTECTED] writes:
Ivan Shmakov [EMAIL PROTECTED] writes:
Russ Allbery [EMAIL PROTECTED] writes:
or with the period escaped.
... And this is the thing I haven't found how to do. Could you
please show me that spell?
\. Note:
\ is a null token that can be put at
On Tue, Nov 13, 2007 at 01:44:23AM +0600, Ivan Shmakov wrote:
Last week I've reported a bug in ifconfig(8) (as of net-tools
1.60-17.) The problem is in that the ifconfig.8 contains the
following:
--cut--
.B ifconfig eth0:0 down
. Note: for every scope (i.e. same net with
Ivan Shmakov [EMAIL PROTECTED] writes:
Russ Allbery [EMAIL PROTECTED] writes:
No, lintian doesn't file bugs. Someone still has to go file the
bugs, even if lintian is used to do the check.
Lintian documentation reads:
--cut: /usr/share/doc/lintian/lintian.html/ch1.html--
3.
On Tue, Nov 13, 2007 at 01:44:23AM +0600, Ivan Shmakov wrote:
What I'm expected to do, then? (With respect to Debian BTS.) I
believe, start filing multiple bug reports would be a bad idea
(for me now.) May I suggest an explicit warning to be generated
by Groff on
Last week I've reported a bug in ifconfig(8) (as of net-tools
1.60-17.) The problem is in that the ifconfig.8 contains the
following:
--cut--
.B ifconfig eth0:0 down
. Note: for every scope (i.e. same net with address/netmask combination) all
aliases are deleted, if you
Hi Ivan,
great!
Ivan Shmakov wrote:
$ bash check-man-periods.sh /usr/share/man/man1/*.gz
Debian has lintian and linda to check for machine-detectable errors like
this one. Maybe you could wirte the same test in perl/python and submit
it as a whishlist item to the BTS for one of those packages.
Ivan Shmakov [EMAIL PROTECTED] writes:
Last week I've reported a bug in ifconfig(8) (as of net-tools
1.60-17.) The problem is in that the ifconfig.8 contains the
following:
--cut--
.B ifconfig eth0:0 down
. Note: for every scope (i.e. same net with address/netmask
Russ Allbery [EMAIL PROTECTED] writes:
[...]
--cut--
.B ifconfig eth0:0 down
. Note: for every scope (i.e. same net with address/netmask combination) all
aliases are deleted, if you delete the first (primary).
--cut--
[...]
Yeah, this is a common roff coding problem. That text
TV == Thomas Viehmann [EMAIL PROTECTED] writes:
[...]
$ bash check-man-periods.sh /usr/share/man/man1/*.gz
Debian has lintian and linda to check for machine-detectable errors
like this one. Maybe you could wirte the same test in perl/python and
submit it as a whishlist item to the BTS
Ivan Shmakov [EMAIL PROTECTED] writes:
Russ Allbery [EMAIL PROTECTED] writes:
or with the period escaped.
... And this is the thing I haven't found how to do. Could you
please show me that spell?
\. Note:
\ is a null token that can be put at the beginning of a line to
23 matches
Mail list logo