Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer CPAN distribution.

Report information
The Basics
Id: 57229
Status: resolved
Priority: 0/
Queue: Dancer

People
Owner: Nobody in particular
Requestors: JAWNSY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: Missing whatis entries
Hi there: I'm having trouble finishing the packaging of Dancer due to some documentation issues -- they're sort of unimportant and probably wouldn't stop us from uploading the package if we really wanted, but it would be better to have this in place. For many of your modules, the so-called "whatis" entries are missing -- these are entries used by apropos and mandb. They are essentially a short description arranged in your POD like so: =head1 NAME Module::Name - thingy to do stuff It is common convention that the dash reads like "is a", so the whatis entry must start with a noun; in the above example: "Module::Name is a thingy to do stuff" Incidentally, these whatis entries are also displayed in your distribution page next to module names: http://search.cpan.org/dist/Dancer/ - It's really useful for giving people a quick idea of what each module does and how it fits into the overall design of the package as a whole. This description from lintian, one of Debian's Quality Assurance tools, might also be informative: W: libdancer-perl: manpage-has-bad-whatis-entry usr/share/man/man3/Dancer::Plugin.3pm.gz N: N: Each manual page should start with a "NAME" section, which lists the N: name and a brief description of the page separated by "\-". The "NAME" N: section is parsed by lexgrog and used to generate a database that's N: queried by commands like apropos and whatis. This tag indicates that N: lexgrog was unable to parse the NAME section of this manual page. N: N: For manual pages that document multiple programs, functions, files, or N: other things, the part before "\-" should list each separated by a comma N: and a space. Each thing listed must not contain spaces; a man page for a N: two-part command like "fs listacl" must use something like "fs_listacl" N: in the "NAME" section so that it can be parsed by lexgrog. N: N: Refer to the lexgrog(1) manual page, the groff_man(7) manual page, and N: the groff_mdoc(7) manual page for details. N: N: Severity: normal, Certainty: certain N: W: libdancer-perl: manpage-has-bad-whatis-entry usr/share/man/man3/Dancer::Serializer::JSON.3pm.gz W: libdancer-perl: manpage-has-bad-whatis-entry usr/share/man/man3/Dancer::Serializer::Mutable.3pm.gz W: libdancer-perl: manpage-has-bad-whatis-entry usr/share/man/man3/Dancer::Serializer::YAML.3pm.gz I hope to hear from you soon, as I'd like to get this package into Debian as quickly as possible, and this would be a great help for us. Cheers, Jonathan On behalf of the Debian Perl team
Le Mer 05 Mai 2010 11:43:06, JAWNSY a écrit : Show quoted text
> Hi there: > > I'm having trouble finishing the packaging of Dancer due to some > documentation issues -- they're sort of unimportant and probably > wouldn't stop us from uploading the package if we really wanted, but it > would be better to have this in place. > > For many of your modules, the so-called "whatis" entries are missing
Hi, I've pushed a FIX for that issue, could you review it and tell me if that's OK for you? http://github.com/sukria/Dancer/commit/bc74483e8b2a76bb5b89e15ce80bd73f30e864d2 Thanks.
Hey Alexis (et. al.), Sorry, I have been really swamped with work lately (my first week of an internship, so I'm still getting acclimated). I just wanted to leave you a note so you'd know I haven't forgot about Dancer, and that I'll take a closer look at the package as soon as I have a free moment. Thanks for your help with these issues. Cheers, Jonathan On behalf of the Debian Perl Group ps. If you require more immediate action, you can contact someone else in the group; see: http://pkg-perl.alioth.debian.org/
I'm closing this report has the patch have been done and released. Feel free to reopen if there's something wrong.
Hi Alexis, I finally got to taking a look at the latest version of Dancer. There seem to be some (more minor) problems, and it would be nice to have these fixed prior to the Debian package release: 1. typo in Dancer::Cookbook - choosen vs chosen 2. the following modules are still missing proper whatis entries: Dancer::Introduction, Dancer::Serializer::Mutable, Dancer::Serializer::XML 3. there appears to be some garbage from a merge conflict in Dancer::Serializer::YAML, leading to some lines that are too long for nroff/man to break properly; see this error message from lintian: W: libdancer-perl: manpage-has-errors-from-man usr/share/man/man3/Dancer::Serializer::YAML.3pm.gz 152: warning [p 1, 3.2i]: can't break line N: N: This man page provokes warnings or errors from man. N: N: "cannot adjust" or "can't break" are trouble with paragraph filling, N: usually related to long lines. Adjustment can be helped by left N: justifying, breaks can be helped with hyphenation, see "Manipulating N: Filling and Adjusting" and "Manipulating Hyphenation" in the manual. N: N: "can't find numbered character" usually means latin1 etc in the input, N: and this warning indicates characters will be missing from the output. N: You can change to escapes like \[:a] described on the groff_char man N: page. N: N: Other warnings are often formatting typos, like missing quotes around a N: string argument to .IP. These are likely to result in lost or malformed N: output. See the groff_man (or groff_mdoc if using mdoc) man page for N: information on macros. N: N: This test uses man's --warnings option to enable groff warnings that N: catch common mistakes, such as putting . or ' characters at the start of N: a line when they are intended as literal text rather than groff N: commands. This can be fixed either by reformatting the paragraph so that N: these characters are not at the start of a line, or by adding a N: zero-width space (\&) immediately before them. N: N: At worst, warning messages can be disabled with the .warn directive, see N: "Debugging" in the groff manual. N: N: To test this for yourself you can use the following command: N: LANG=C MANWIDTH=80 man --warnings -E UTF-8 -l manpage-file >/dev/null N: N: Severity: normal, Certainty: certain N:
Issue was resolved a long time ago. JAWNSY, thank you for bringing it to our attention and helping us package Dancer for Debian! :)