Bug#473793: python-debian: add support for parsing removals.txt

2016-12-26 Thread Stuart Prescott
Dear co-maintainers, Any comments on the inclusion of this patch? on the API or the approach? (thanks to Jakub Wilk for some initial comments -- I'd appreciate an explicit ack on the updated version) cheers Stuart On Mon, 08 Aug 2016 23:11:13 +1000 Stuart Prescott

Bug#473793: python-debian: add support for parsing removals.txt

2016-08-08 Thread Stuart Prescott
Hi all, I attach an updated patch to add support for parsing ftp-master removals. Comments welcome! cheers Stuart -- Stuart Prescotthttp://www.nanonanonano.net/ stu...@nanonanonano.net Debian Developer http://www.debian.org/ stu...@debian.org GPG fingerprint90E2 D2C1 AD14

Bug#473793: python-debian: add support for parsing removals.txt

2016-06-14 Thread Stuart Prescott
Hi Jakub, On Tue, 14 Jun 2016 16:34:19 Jakub Wilk wrote: > * Stuart Prescott , 2016-06-15, 00:02: > >+@property > >+def date(self): > >+""" a datetime object for the removal action """ > >+try: > >+from dateutil.parser import parse > >+

Bug#473793: python-debian: add support for parsing removals.txt

2016-06-14 Thread Jakub Wilk
* Stuart Prescott , 2016-06-15, 00:02: +@property +def date(self): +""" a datetime object for the removal action """ +try: +from dateutil.parser import parse +except ImportError: +warnings.warn("Install the

Bug#473793: python-debian: add support for parsing removals.txt

2016-06-14 Thread Stuart Prescott
Control: tags -1 + patch Hi! Here's a first attempt at wrapping the interpretation of ftp-master removals via removals.822. Like other file formats derived from Deb822, the probable usage would be via an iterator of paragraphs: removals = deb822.Removals.iter_paragraphs(f) As for how

Bug#473793: python-debian: add support for parsing removals.txt

2014-01-14 Thread Jakub Wilk
* Filippo Giunchedi fili...@debian.org, 2008-04-01, 19:18: would it be useful/nice to have support for parsing removals.txt? FYI, these days removals data is also available in the RFC-822 format, which should be easily parsable with python-debian: https://ftp-master.debian.org/removals.822

Bug#473793: python-debian: add support for parsing removals.txt

2008-07-01 Thread Stefano Zacchiroli
On Tue, Apr 01, 2008 at 07:18:11PM +0200, Filippo Giunchedi wrote: would it be useful/nice to have support for parsing removals.txt? I just got the idea by reading [EMAIL PROTECTED] For (ease of) future reference, here is the current removals.txt to be used as a sample for parsing:

Bug#473793: python-debian: add support for parsing removals.txt

2008-04-01 Thread Filippo Giunchedi
Package: python-debian Version: 0.1.9 Severity: wishlist Hi, would it be useful/nice to have support for parsing removals.txt? I just got the idea by reading [EMAIL PROTECTED] filippo -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (900, 'unstable')