- Package:
- debian-goodies
- Source:
- debian-goodies
- Submitter:
- Javier Fernandez-Sanguino
- Date:
- 2017-11-07 12:06:04 UTC
- Severity:
- normal
Dman's manual page claims that "It will fallback to the default manpage if the translated version is not found.", but this is not actually implemented in the script itself. This is easy to test by setting the environment (LANG) to any language and then try to download a manual page that does not have any translation and is only available in English (e.g. clips, https://manpages.debian.org/stretch/clips/clips.1.en.html). If doing this, dman will claim that it did not found the manual page. I have commited a patch to GIT that should fix this bug, by trying first downloading a localised manpage and, in case of failure, attempting the download of the English version. Best regards Javier
Note that this was apparently fixed by Antoine Beaupré in commit
a909d0584b3ca8bde10717d7247eb7f1a3ef8b35 (in 0.71). However, dman
behavior was later modified in 0.74 after the following changes:
* dman: Offload suite and locale resolution to debiman. This optimizes the
case where there is a typo or no actual manpage, as we only do one hit
on the webserver.
* dman: use the dyn.manpages.debian.org alias to speed up requests even
more.
There seems to be a regression now, with the current code dman and
behaviour of manpages.debian.org non-localised pages are never
retrieved (based on my tests)
Regards
Javier