~racb/git-ubuntu:changelog-date-edge-cases

Last commit made on 2023-01-17
Get this branch:
git clone -b changelog-date-edge-cases https://git.launchpad.net/~racb/git-ubuntu
Only Robie Basak can upload to this branch. If you are Robie Basak please log in for upload directions.

Branch merges

Branch information

Name:
changelog-date-edge-cases
Repository:
lp:~racb/git-ubuntu

Recent commits

66cd050... by Robie Basak

More edge case changelog date parsing

According to the import specification, it's fine to parse Thurs as
Thu, Tues as Tue, and Sept as Sep, as these are all unambiguous. This
fixes imports of the following:

apachetop 0.12.5-7 Thurs, 12 Jan 2006 12:09:58 +0000
easychem 0.6-0ubuntu1 Tues, 20 Dec 2005 16:57:16 -0500
gnome-shell-extension-tilix-shortcut 1.0.1-1 Tue, 19 Sept 2017 14:23:17 +0200
libapp-cache-perl 0.35-1 Wed, 24 Sept 2008 19:32:23 +0200
libcrypt-hcesha-perl 0.70-2 Wed, 24 Sept 2008 19:44:01 +0200

Applications of multiple regular expression replacements are factored
out into _apply_re_substitutions(). This function isn't explicitly
tested; the comprehensive test coverage of its only caller
Changelog._parse_changelog_date() is sufficient.

5c99643... by Robie Basak

Add further changelog date overrides (2)

I've checked that these all fail to parse due to invalid date strings,
and added them to the exception list in the spec.

a2df474... by Robie Basak

Add further changelog date overrides

I've checked that these all fail to parse due to invalid date strings,
and added them to the exception list in the spec.

81bd897... by Robie Basak

denylist: add known failures and refer to bugs

6ce5a58... by Robie Basak

denylist: remove successful imports

These repositories already existed and have been updated successfully,
so can continue as normal now.

5f07169... by Robie Basak

Add further mass import failures to denylist

In importing source packages that exist in non-EOL releases but have
since been deleted, these further twelve packages fail to import and
have never been imported, so add these to the denylist for now.

bef5ef5... by Robie Basak

Add mass import failures to denylist

These package are not yet imported. They will need individual
investigation to fix the edge case issues that cause them to fail. In
the meantime, we won't attempt to import them automatically to avoid
blocking up worker slots.

843964b... by Robie Basak

Add production systemd service definitions

These are installed and managed manually; these are the current ones in
use in production, with the exception that in
git-ubuntu-importer-service-worker@.service we're currently manually
specifying the IP to connect to, and so this is substituted out.

ab5d7ad... by Robie Basak

Move import_srcpkg() to importer_service_worker.py

This function is only used from here, so there's no need for it to be in
a different module.

4a01d97... by Robie Basak

importer-service-worker: add --no-push argument

Asking the worker for --no-push enables a deeper dry run for performance
testing purposes. Unlike the behaviour of "git ubuntu import", "push
mode" is the default here because normally when one sets up the importer
service, it would be surprising behaviour not to do this, and this is
the only use case for this command.