Skip to content
Snippets Groups Projects
Commit 4e6a487c authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

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.
parent 0e517e6b
No related branches found
Tags v0.0.356
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment