dctrl2xml (0.23) unstable; urgency=medium * Fix autopkgtest dependencies -- Stephen Gelman Sat, 14 Sep 2024 11:09:18 -0500 dctrl2xml (0.22) unstable; urgency=medium * Source-only upload * Add autopkgtest -- Stephen Gelman Sat, 14 Sep 2024 00:33:05 -0500 dctrl2xml (0.21) unstable; urgency=medium * Modernize package. * Update for python3 support. * Fix bug where a package having enough tags to be split onto multiple lines created a document with invalid xml -- Stephen Gelman Sat, 07 Sep 2024 05:30:25 +0000 dctrl2xml (0.20) unstable; urgency=medium * QA upload. * Fix the build with debhelper 11.3.5. -- Adrian Bunk Mon, 27 Aug 2018 21:17:18 +0300 dctrl2xml (0.19) unstable; urgency=medium * QA upload. * Set maintainer to the QA team. * Fix FTBFS with --no-arch-any [Santiago Vila] (Closes: #831953) * Debhelper 10. -- Adam Borowski Tue, 25 Jul 2017 06:18:21 +0200 dctrl2xml (0.18+nmu1) unstable; urgency=medium * Non-maintainer upload. * Port from python-support to dh_python2 (Closes: #785978) -- Stefano Rivera Wed, 26 Aug 2015 13:04:55 -0700 dctrl2xml (0.18) unstable; urgency=low * dctrl2xml: - Added option to output control data as JSON instead of XML. - Added "Drivers" to the list of fields that contain contact information. This field is used in Debian Enhancement Proposals (DEPs). - Changed parse_date() to not fail on non RFC 2822 formatted dates. * Bumped Standards-Version from 3.8.4 to 3.9.1, no changes required. * Added test suite that compares previous, saved conversions with temporary conversions which are made with the current dctrl2xml. -- Frank S. Thomas Sun, 12 Dec 2010 12:27:38 +0100 dctrl2xml (0.17) unstable; urgency=low * dctrl2xml: - Node texts can be any string objects (str or unicode), so check for types.StringTypes because it contains StringType and UnicodeType. - Use list and dict instead of types.ListType and types.DictType since the Python documentation says this is preferred over using the types module. - Use package 'debian' instead of the deprecated 'debian_bundle'. -- Frank S. Thomas Sun, 18 Apr 2010 10:15:38 +0200 dctrl2xml (0.16) unstable; urgency=low * Fixed typo in doc/dctrl2xml.xml ("similiar" -> "similar"). * dctrl2xml: Added {XSBC-,}Original-Maintainer to the list of fields that contain contact information. * debian/control: - Bumped Standards-Version from 3.8.3 to 3.8.4, no changes required. - Replaced the python-dev build dependency by python as suggested by Lintian. -- Frank S. Thomas Sun, 14 Mar 2010 13:17:46 +0100 dctrl2xml (0.15) unstable; urgency=low * Bumped Standards-Version from 3.8.1 to 3.8.3, no changes required. * Adapted debian/copyright to DEP5. * dctrl2xml: Improved code with Pylint's help. * Switched to source format "3.0 (native)". -- Frank S. Thomas Sun, 22 Nov 2009 01:54:17 +0100 dctrl2xml (0.14) unstable; urgency=low * debian/control: - Added ${misc:Depends} to Depends to appease Lintian. - Bumped Standards-Version from 3.8.0 to 3.8.1, no changes required. -- Frank S. Thomas Thu, 12 Mar 2009 11:07:43 +0100 dctrl2xml (0.13) unstable; urgency=low * Switched from CDBS to debhelper 7. * Bumped Standards-Version from 3.7.3 to 3.8.0, no changes required. -- Frank S. Thomas Sun, 15 Jun 2008 10:08:39 +0200 dctrl2xml (0.12) unstable; urgency=low * Updated dctrl2xml to use ElementTree from Python's standard library, because it is part of the standard library since 2.5 and this version is the default Python version in Lenny now: - dctrl2xml: Import functions from xml.etree.cElementTree instead of elementtree.ElementTree. - debian/control: Removed the dependency on python-elementtree. - debian/pyversions: Bumped the required Python version to "2.5-". -- Frank S. Thomas Fri, 25 Apr 2008 14:08:05 +0200 dctrl2xml (0.11) unstable; urgency=low * dctrl2xml: - Parse the bug numbers of the Closes field in .changes files. - Parse the new Checksums-Sha{1,256} fields that have been introduced in dpkg 1.14.17. For this change the //files/*/md5sum element was renamed to //files/*/checksum. - Parse the Python-Version field. -- Frank S. Thomas Fri, 11 Apr 2008 16:22:32 +0200 dctrl2xml (0.10) unstable; urgency=low * doc/dctrl2xml.xml: - Fixed Lintian's "I: hyphen-used-as-minus-sign" by enclosing the command examples with the element. - Updated from DocBook 4.2 to 4.4, which is the latest version in etch. - Enhanced the command synopsis and added to the description of the --file option that dctrl2xml can read plain text, gzip, bzip2 or ZIP files. * Updated the debhelper compatibility level from V5 to V6 since this is the current recommended level and raised the build dependency to "debhelper (>= 6)". * dctrl2xml: Improved parse_filelist() and added error handling to it. -- Frank S. Thomas Thu, 24 Jan 2008 01:04:28 +0100 dctrl2xml (0.9) unstable; urgency=low * dctrl2xml: - Do not fail on truncated tags where the "::" separator is missing. - Improved contacts parsing to handle strings such as "john@example.org (John R. Doe)". - Instead of replacing only "3" with "_3" in tags, prefix all tags that begin with a decimal digit with an underscore. - Added the "generator" attribute, whose value is "dctrl2xml/$VERSION", to the topmost element of dctrl2xml's XML output. - Parse also the file list of the Conffiles field. - Print error messages to standard error if the format of field data of several fields could not be recognized. - Do not fail if 'UTC' is used as time zone designator (as it is done in Release files), although RFC 2822 does not seem to permit this. - Do not discard the last (or the only) control entry if data input does not end with an empty line. * debian/rules: Added test target that stress tests dctrl2xml with the dpkg available file and the output of "apt-cache dumpavail". * debian/control: Moved python-support from Build-Depends to Build-Depends-Indep, because it is not required for the clean target. -- Frank S. Thomas Wed, 02 Jan 2008 10:11:11 +0100 dctrl2xml (0.8) unstable; urgency=low * dctrl2xml: - Print dctrl2xml's version number if the --version option is given. - Convert RFC 2822 dates in Date fields to a ISO 8601 representation and save them in elements. - Enabled Debtags parsing again, it was disabled in 0.7 due to errors when parsing "compressed tags". This has been corrected. * doc/dctrl2xml.xml: Added reference to deb-control(5) to the SEE ALSO section. * stylesheets/pkglist{,compact}.xsl: Reformatted and added example usage of dctrl2xml and the stylesheets with a Packages file. -- Frank S. Thomas Sat, 22 Dec 2007 17:41:24 +0100 dctrl2xml (0.7) unstable; urgency=low * Initial upload to Debian. (closes: #456597) * dctrl2xml: - DebianControlParser.parse_package_string() has been very much simplified by using Deb822 from the debian_bundle.deb822 module. This requires a dependency on the python-debian package. - Do not parse the long description for upstream author or homepage. The Homepage field is a proper control field since dpkg 1.14.6 and the Author pseudo field in the long description is not widely used. - Added Breaks to the list of package relations. - Improved the parsing of the Description and Files fields. - Instead of reading entire files, read them line by line and dump the XML tree after an empty line occured. This improves dctrl2xml's performance and decreases it's memory usage. * doc/dctrl2xml.xml: - Added the DESCRIPTION section and updated the examples. - Removed < and > from email elements, because docbook2x-man adds those now itself. * debian/control: - Bumped Standards-Version from 3.7.2 to 3.7.3, no changes required. - Removed Homepage pseudo field from description, there is no homepage. - Added Vcs-{Git,Browser} fields to the source stanza. - Reworked the short description and enhanced the long description. Thanks to Justin B Rye for the review. * debian/rules: Do not ignore "make clean" errors. * Changed my email address to fst@debian.org. -- Frank S. Thomas Tue, 18 Dec 2007 21:22:44 +0100 dctrl2xml (0.6) unstable; urgency=low * scripts/dctrl2xml: - Now parses also debtags. Facets and tags are both elements and tags are always empty. Colons in tags are replaced with a hyphen. - Removed the second level element which was a duplicate of the element. * doc/dctrl2xml.xml: Added an example which pipes dctrl2xml's output to xmllint to reformat and reindent the XML to make it easier to read. * debian/control: Added homepage field to long description. -- Frank S. Thomas Thu, 1 Mar 2007 17:28:21 +0100 dctrl2xml (0.5) unstable; urgency=low * scripts/dctrl2xml: Use /usr/bin/python instead of /usr/bin/python2.3 as interpreter. However, 2.3 remains the minimum required Python version. * Updated packaging to the new Python policy using python-support. * Bumped Standards-Version from 3.6.2 to 3.7.2, no changes required. -- Frank S. Thomas Sat, 23 Sep 2006 17:55:13 +0200 dctrl2xml (0.4) unstable; urgency=low * Added example XSL stylesheets for converting dctrl2xml's XML output to XHTML. Thanks to Antonio Ospite for providing these stylesheets. * Remove full stops from blank lines in the long description of a package. * debian/control.in: - Added docbook-xml to Build-Depends to make docbook2x-man happy. - Bumped Standards-Version from 3.6.1 to 3.6.2, no changes required. * debian/rules: Don't autogenerate debian/control at build-time with CDBS. * Updated postal address of the Free Software Foundation (FSF). -- Frank S. Thomas Sat, 10 Sep 2005 02:37:39 +0200 dctrl2xml (0.3) unstable; urgency=low * Rewrote parts of the Debian control parser and switched from xml.dom to the python-elementtree module for building the XML tree. This implementation is twice as fast as the old one with xml.dom. * Removed the -e / --encoding command line option, because it was only needed for the xml.dom module. * Added manual page for dctrl2xml. * debian/control.in: - Added Build-Depends-Indep on docbook2x for building dctrl2xml's man page. - Removed python (>= 2.3) from Build-Depends-Indep. I don't even remember why I put it there in the first place. The (unversioned) dependency on python is needed for dh_python, which is used in CDBS' python-distutils class. - Added Depends on python-elementtree. - Finally wrote the extended description for this package. :-) -- Frank S. Thomas Tue, 7 Jun 2005 20:54:30 +0200 dctrl2xml (0.2) unstable; urgency=low * Added command line option to specify the input's encoding. * Minor bugs fixed. -- Frank S. Thomas Thu, 13 Jan 2005 18:53:24 +0100 dctrl2xml (0.1) unstable; urgency=low * Initial release. -- Frank S. Thomas Wed, 12 Jan 2005 20:34:50 +0100