--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: ITP (RFC): python-debian -- python modules to work with Debian-related data formats
- From: Adeodato Simó <dato@net.com.org.es>
- Date: Sat, 5 Aug 2006 21:05:33 +0200
- Message-id: <20060805190533.GA12587@chistera.yi.org>
Package: wnpp
Severity: wishlist
Owner: "Adeodato Simó" <dato@net.com.org.es>
Package name : python-debian
Description : python modules to work with Debian-related data formats
So, uhm, hi all. I've had this in mind for about a couple weeks now, and
I kinda like the idea, but I also wanted to run it by some list, so I'm
doing an ITP/RFC. martin f. krafft mentioned yesterday on IRC a similar
idea, which prompted me to write this mail.
I. The trigger
-----------
I've recently started two small projects in Python (debcache and
deb2bzr) that deal with quite a bit of Debian-related data . In both,
I've ended up with local copies of two fine python modules (authors CC'ed):
- debian_support.py by Florian Weimer, available in the secure-testing
Subversion repository [1].
The pieces I used were the 'ed-patches support', for updates to
Packages files with the pdiff method, and the very sweet Version
class, that implements dpkg --compare-versions in Python (but uses
python-apt if available).
[1] svn://svn.debian.org/secure-testing/lib/python/debian_support.py
- deb822.py by dann frazier and John Wright, which has an IPT of its
own, #380173. This file provides support for parsing rfc822-like
files, with extra goodies like support for continuation lines (e.g.
Description), and whitespace-separated-fields-in-fields (e.g. Files
section in dsc and changes files).
II. The what, and the possible what
-------------------------------
The idea is to have a package where stuff like this can be collected:
python files coming from different sources that are made available for
other packages to depend on. In this scheme, the maintainer does little
more than notice updates and upload updated versions (or lets authors do
that themselves if they so wish).
I'm CC'ing the authors of the two files above to know what they'd think
of their module being incuded in the collection, particularly dann and
John, who were intending to upload it in a separate package.
Another possibility, probably more useful in terms of standardizing a
bit programming Debian stuff in python, would be to have some time spent
in integrating those files that come from different sources into
something consistent, and general enough as to be useful to almost
everybody.
This, of course, would require that a person with time in their hands,
and preferably Python knowledge and Debian insight, would step up to
"maintain/write parts of" such integrated library. Like always, I guess
all of us would like to use/see such library, but nobody can really
commit time to writing it. There must be lots of code out there, though,
that'd just need to be put together, I'd say.
III. The plan
--------
After writing the above, I have a bit more clear what I'd like to do,
probably with modifications after receiving input on the list:
* upload soonishly a python-debian package with the two files
mentioned above, and any others that may get mentioned in the
thread.
These modules would be available in the "debian_bundle" or
"debian.bundle" namespace: `from debian_bundle import deb822`.
* if somebody steps up to drive the implementation of that "integrated
debian python library", let them take it from there, and transfer
maintenance of the above package if they so wish.
If not, I'll create a bzr branch somewhere and will wait for code to
merge, or for inspiration to write something myself. Will probably
also create a mailing list somewhere, to drop a mail when something
of interests gets merged in.
After a while, either the branch will be dead, or there'll be
something interesting in it. If the latter, uploading that to be
provided under the "debian" namespace can be discussed, or maybe
debian_v0 / debian.v0.
Cheers,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
Listening to: Maximilian Hecker - Daylight
--- End Message ---
--- Begin Message ---
Source: python-debian
Source-Version: 0.1.0
We believe that the bug you reported is fixed in the latest version of
python-debian, which is due to be installed in the Debian FTP archive:
python-debian_0.1.0.dsc
to pool/main/p/python-debian/python-debian_0.1.0.dsc
python-debian_0.1.0.tar.gz
to pool/main/p/python-debian/python-debian_0.1.0.tar.gz
python-debian_0.1.0_all.deb
to pool/main/p/python-debian/python-debian_0.1.0_all.deb
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 381599@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James Westby <jw+debian@jameswestby.net> (supplier of updated python-debian 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 15 Aug 2006 18:57:57 +0100
Source: python-debian
Binary: python-debian
Architecture: source all
Version: 0.1.0
Distribution: experimental
Urgency: low
Maintainer: Debian python-debian Maintainers <pkg-python-debian-maint@lists.alioth.debian.org>
Changed-By: James Westby <jw+debian@jameswestby.net>
Description:
python-debian - python modules to work with Debian-related data formats
Closes: 381599
Changes:
python-debian (0.1.0) experimental; urgency=low
.
* Initial release. (Closes: #381599)
Files:
c6affefd61931c2f51e2a02893ddfdf5 736 devel optional python-debian_0.1.0.dsc
ae0e99807214d769563f1e17c9dfef33 36170 devel optional python-debian_0.1.0.tar.gz
052370d479baad3d8fcc0f224feb1a0c 22824 devel optional python-debian_0.1.0_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFYiM29LSwzHl+v6sRAi+LAJ9tHya25kigLmI2ahAJap6P7NibyQCginNh
Z7pa3s04EiCRm32fQC8RhTA=
=0JBH
-----END PGP SIGNATURE-----
--- End Message ---