[Pkg-mozext-maintainers] Bug#762310: Bug#762310: amo-changelog currently pointless
Ximin Luo
infinity0 at pwned.gg
Sun Sep 21 12:57:40 UTC 2014
On 21/09/14 02:12, David Prévot wrote:
> As can be seen in /usr/share/doc/xul-ext-password-editor/changelog.gz,
> the output is terrible: lists are not honored, and limited to the first
> page available on the website.
>
How do you suggest lists to be "honoured"? One way could be to put it through pandoc or something, which IIRC can convent simple HTML to markdown or rst. However I'm not sure how complex AMO changelogs can get, if pandoc supports everything, and how good it might look in all cases. It would also add a non-trivial dependency to this package. So that's why I chose to leave it as it is.
The two-pages thing is going to be a bit awkward to solve. We use the rss format, because it's easy to parse and less likely to change structure (compared to the html format), but I can't figure out how to get AMO to give us page 2 in this format.
For example, the source of https://addons.mozilla.org/en-US/firefox/addon/saved-password-editor/versions/?page=2 says
<link rel="alternate" type="application/rss+xml"
title="RSS" href="/en-US/firefox/addon/saved-password-editor/versions/?page=2format:rss">
But this URL doesn't work and seems like an oversight on part of the original web developer.
I also tried https://addons.mozilla.org/en-US/firefox/addon/saved-password-editor/versions/format:rss?page=2 but this just gives me page 1.
> Furthermore, the manpage advises to use debian/changelog.upstream, maybe
> using the already documented (in uscan(1) and DEP-12) debian/upstream
> directory would be interesting, and installing debian/upstream/changelog
> without the need of writing an override_dh_installchangelogs target
> would be worth it (feel free to upstream this last request directly into
> debhelper if it makes sense).
>
This could be interesting, yes. We should add this to DEP-12 though.
--
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozext-maintainers/attachments/20140921/fefcce27/attachment.sig>
More information about the Pkg-mozext-maintainers
mailing list