Le 03/05/2010 16:19, Don Armstrong a écrit : > On Mon, 03 May 2010, David Prévot wrote: >> In order to include upstream changelog distributed in HTML, and convert >> it as a plain text changelog.gz, policy should advise the use of >> html2txt (which debhelper already depends on) rather than lynx that has >> fewer chance to already be on Build-Depends:. > > html2text by default[1] produces output which is decidedly suboptimal > in comparsion to the default lynx output.
You got a point. It may be better to propose on #562874 to drop html2text among dependencies of debhelper and provide a patch to use lynx instead. > I've no problem with html2text being suggested in addition to lynx > -dump -nolist, but I'm not convinced that it should be the default. If debhelper is not modified, what about the attached wording (adding the -nobs option like it is in dh_installchangelogs), and still the preference to html2text so that the newbie scatter-brained maintainer may have a better chance not to provide a zero bit changelog if he forget to add lynx among Build-Depends, and offer the maintainer who cares two choices and let him choose what's best for his package. Let me know if it's better to close this bug, or merge it #562874 once I can provide a better patch to debhelper. Cheers David
--- policy.sgml.cur 2010-05-03 15:36:32.000000000 -0400 +++ policy.sgml 2010-05-03 15:45:49.000000000 -0400 @@ -9216,7 +9216,7 @@ HTML, it should be made available in that form as <file>/usr/share/doc/<var>package</var>/changelog.html.gz</file> and a plain text <file>changelog.gz</file> should be generated - from it using, for example, <tt>lynx -dump -nolist</tt>. If + from it using, for example, <tt>html2text -nobs</tt> or <tt>lynx -dump -nolist</tt>. If the upstream changelog files do not already conform to this naming convention, then this may be achieved either by renaming the files, or by adding a symbolic link, at the
signature.asc
Description: OpenPGP digital signature