Control: tags -1 +patch On 2017-04-30 15:06:08, Paul Wise wrote: > Package: debian-goodies > Version: 0.71 > Severity: wishlist > File: /usr/bin/dman > X-Debbugs-CC: Antoine Beaupré <anar...@debian.org>, > debian-...@lists.debian.org > > dman currently reports an error when I try to use it to read its own > manual page, because it defaults to stretch with no fallback.
Yes. Note that you can use the --release argument to select a suite. This works, in other words: $ ./dman --release experimental dman | head -1 DMAN(1) General Commands Manual DMAN(1) > There are several situations where it would be nice to be able to > automatically fall back to the manual page from a different suite: > > * where the package is only in a newer suite: > * when using stable and it was first uploaded after the release > * when using unstable and it was uploaded during the freeze > * where the package was removed from unstable recently, is still in > use on a remote system running stable but dman is run on an unstable > system > > I expect this will probably need support on the server side? > If so, please clone this bug to the manpages.debian.org package. This should be possible by making an extra request to the manpages site without an explicit suite. Here's a patch, for review: https://anonscm.debian.org/git/collab-maint/debian-goodies.git/commit/?h=no-suite&id=d6dcb0fc15f340b581c2cf138a1cb02055410090 > pabs@chianamo ~ $ dman dman > /usr/bin/dman: A download error occurred. Neither > /usr/bin/dman: https://manpages.debian.org/stretch/dman.en.gz nor > /usr/bin/dman: https://manpages.debian.org/stretch/dman.gz could be > fetched. > pabs@chianamo ~ $ dman --release experimental dman > pabs@chianamo ~ $ I take it the last one succeeded? :) A. -- That's one of the remarkable things about life: it's never so bad that it can't get worse. - Calvin