HomeSoftware Heritage

Add a sync_mailmaps management command

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Add a sync_mailmaps management command

The command refreshes all the active mailmaps, and disables every
mailmap that has recently been updated and marked as disabled, once.

To do these actions as atomically as possible, we make sure to select
all rows for update, and to defer all _date fields in the default
queryset manager for UserMailmap objects to avoid resetting them to
earlier values by mistake.

Details

Provenance
olasdAuthored on Feb 4 2022, 3:19 PM
olasdPushed on Feb 4 2022, 9:05 PM
Differential Revision
D7090: Add a sync_mailmaps management command
Build Status
Buildable 26566
Build 41550: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.