Bug#562257: native python version comparison

Stefano Zacchiroli zack at debian.org
Thu Dec 24 10:12:22 UTC 2009


package: python-debian
version: 0.1.14
severity: wishlist

[ a bug report is better, otherwise we will _all_ forget about this :-) ]

On Wed, Dec 23, 2009 at 08:07:57PM +0100, Filippo Giunchedi wrote:
> Hi,
> FYI: straight out of IRC, otherwise I'll forget
> 
> 19:29  * buxy is fixing the PTS with the multiples sources in Sources.gz file
> 19:30  <buxy> I wrote a pure-python dpkg version comparison for this
> 19:30  <buxy> if anyone is interested in it, it will be in www/bin/common.py
> in the PTS code as soon as I'll commit it
> 19:31  <phil> Wow, seriously, yet another version comparison algorithm?
> 19:39  <buxy> well, forking dpkg --compare-versions was not interesting and I
> don't like python-apt :)
> 19:39  <buxy> (I simply transposed the perl code from Dpkg::Version in python)
> 19:48  <CIA-6> qa.debian.org: hertzog * r2324 /trunk/pts/www/bin/
> 19:48  <godog> buxy: python-debian would be a nice fit, there isn't one IIRC
> 19:57  <buxy> godog: I agree, feel free to pick it up :)
> 20:00  <godog> buxy: I'm sending this log to the list, the broader the
> audience the better :)
> 20:02  <buxy> godog: thanks
> 
> in fact I just checked, and the Version class makes use of apt_pkg.
> 
> If anyone wants to pick it up that would be nice, I'm not sure I can work on
> it anytime soon.
> 
> cheers,
> filippo

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20091224/58d09c05/attachment.pgp>


More information about the pkg-python-debian-maint mailing list