Your message dated Fri, 09 May 2014 22:04:26 +0000
with message-id <e1wisu2-0002qe...@franck.debian.org>
and subject line Bug#734476: fixed in mozilla-devscripts 0.37
has caused the Debian Bug report #734476,
regarding mozilla-devscripts: tool to convert "Version History" pages to 
changelogs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
734476: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734476
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mozilla-devscripts
Version: 0.35
Severity: wishlist

I'd like mozilla-devscripts to include a tool that will download "Version History"[0] page of an add-on, and then generate upstream changelog from it. I've attached prototype that I used to generate upstream changelog for openinbrowser.


[0] https://addons.mozilla.org/firefox/addon/${addon}/versions/

--
Jakub Wilk
#!/usr/bin/python3

import argparse
import urllib.request
import xml.etree.cElementTree as etree

def main():
    ap = argparse.ArgumentParser()
    ap.add_argument('extension')
    options = ap.parse_args()
    url = 
'https://addons.mozilla.org/en-US/firefox/addon/{ext}/versions/format:rss'.format(ext=options.extension)
    with urllib.request.urlopen(url) as file:
        for event, element in etree.iterparse(file):
            if element.tag != 'item':
                continue
            title = element.find('title').text
            print(title)
            print('=' * len(title))
            descr = element.find('description').text
            print(descr)
            print()

if __name__ == '__main__':
    main()

# vim:ts=4 sw=4 et

--- End Message ---
--- Begin Message ---
Source: mozilla-devscripts
Source-Version: 0.37

We believe that the bug you reported is fixed in the latest version of
mozilla-devscripts, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 734...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Benjamin Drung <bdr...@debian.org> (supplier of updated mozilla-devscripts 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 09 May 2014 23:41:21 +0200
Source: mozilla-devscripts
Binary: mozilla-devscripts
Architecture: source all
Version: 0.37
Distribution: unstable
Urgency: medium
Maintainer: Debian Mozilla Extension Maintainers 
<pkg-mozext-maintainers@lists.alioth.debian.org>
Changed-By: Benjamin Drung <bdr...@debian.org>
Description: 
 mozilla-devscripts - Development scripts used by Mozilla's addons packages
Closes: 734476
Changes: 
 mozilla-devscripts (0.37) unstable; urgency=medium
 .
   [ Ximin Luo ]
   * Add amo-changelog, a script for fetches the version history of an addon
     from the Mozilla Extensions website. (Closes: #734476)
 .
   [ Benjamin Drung ]
   * PEP8 fixes and pylint improvements.
Checksums-Sha1: 
 6bbffd1b7ed866ecd5b9119dfc2776fb5e37a948 1759 mozilla-devscripts_0.37.dsc
 1a4b20d1225d436c60c3cb6629171a631a1996a6 37204 mozilla-devscripts_0.37.tar.xz
 04718bfb47d0183cf3e069f952547168cddc1ec9 37340 mozilla-devscripts_0.37_all.deb
Checksums-Sha256: 
 b07e3e5bd10bd1004b6bf363b2e86bdc1d0b96139ef04c7abf25c973a77747d1 1759 
mozilla-devscripts_0.37.dsc
 0da9dcaf017f69628b2e7113dba85564b4540aa698acf160454328b72df8efff 37204 
mozilla-devscripts_0.37.tar.xz
 34d850c457bec832a6694b462d5204db81d2557c091423605099b8ef1eb1e98f 37340 
mozilla-devscripts_0.37_all.deb
Files: 
 94b75976ee358709d8d4c72f39082107 37340 devel optional 
mozilla-devscripts_0.37_all.deb
 bad902efec950fdd3b6ca57105bcf3f5 1759 devel optional 
mozilla-devscripts_0.37.dsc
 38da1d818642f17dcc8ba3fb208af289 37204 devel optional 
mozilla-devscripts_0.37.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJTbU6gAAoJEBWetcTvyHdMdPIP/2RoLXmlZ9i7wrFLjJN4qhfc
CsFn8Crp71knLfGFA8355hk5Telmxzn6Joe8UocTZVfdHrpq+yMcplchc7vFAhm1
rmGP0FAY2CumvdWYilvrTbVnjf+OhjP1Q90sbvMxjW+jYSp1h6zSjYHo1TahdzsY
og1bJ3evZ6t+TA01UsAOOJU8eOH82knBBrzMax43eT/EPSw46FqlPtPlAdTLE07s
cOuTDZbQVz8KfbIr7pvKZDxfq9fQZv2olWk6D9+cuy1d8VFn2aL+MwJylu1pG+6s
vqu8g90NXjOHrJOjmycujIdMfWbSMwj4z00x62InHmyZALN3uynqzz1oCBwCVXV4
6S6l9M8UVNoIB4H/vUw82+0SBgk357CRplEcbngezUhwTijXR23o0vTlYCqHqqVz
jjWkIWFSa3yQG02WHTsr+R7wVgbfNRDDA9EgOT+nvb4EyTJOvldvTYSFwXIBaqXJ
H7xHDNjQ2Z15wENyohq2447jQLABNDmkTCUOOYcEI5OI1OsenQT5BEtnZa9IeZmK
U6fJ4uSDeAmuz9rtAmxqMw60FQZdcZX5pv1mzVY3hAPtgr793et8npHzYcc+ixA7
ZD+hVPW4Rvmbda/1fdUTDTjih+mlBsNR7h/T8NWPDFBdFI+Fv0jG4NonmzJmhM+7
EkrPvC8/Xo099dg/A29z
=ioAj
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-mozext-maintainers mailing list
Pkg-mozext-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mozext-maintainers

Reply via email to