[Merge] lp:~vorlon/ubuntu-archive-tools/python3-process-removals-and-better-error-handling into lp:ubuntu-archive-tools

Steve Langasek steve.langasek at canonical.com
Thu Jun 15 20:58:26 UTC 2017


Steve Langasek has proposed merging lp:~vorlon/ubuntu-archive-tools/python3-process-removals-and-better-error-handling into lp:ubuntu-archive-tools.

Requested reviews:
  Ubuntu Package Archive Administrators (ubuntu-archive)

For more details, see:
https://code.launchpad.net/~vorlon/ubuntu-archive-tools/python3-process-removals-and-better-error-handling/+merge/325773

ftp-master.debian.org continues to sometimes generate broken date fields in its removals log, and the workaround in process-removals for this doesn't work.  Observed output looks like:

[Date: sh: 0: getcwd() failed: No such file or directory
Sat, 06 May 2017 08:45:30 +0000] [ftpmaster: Chris Lamb]

This branch improves handling of this error by grabbing the date after the line break, instead of silently (and unnecessarily) ignoring it.

In an earlier iteration of this branch I found it useful to have a reasonably featureful strptime(), which requires python3; so this also moves the script to python3 in the process.
-- 
Your team Ubuntu Package Archive Administrators is requested to review the proposed merge of lp:~vorlon/ubuntu-archive-tools/python3-process-removals-and-better-error-handling into lp:ubuntu-archive-tools.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 2816 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-archive/attachments/20170615/e1214ca7/attachment.diff>


More information about the ubuntu-archive mailing list