HomePhabricator

Allow to update database for a given list of events
f75bc8531107Unpublished

Tags
None
Referenced Files
None
Subscribers
None

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.

Description

Allow to update database for a given list of events

While a contest is running, we want to update its data
as often as possible. However, updating all events
(including some finished for years) is fairly expensive
and cannot be done as it overloads the database servers.

This allows to pass a given list of events to update as
command-line arguments and only update those.

(The tool already knows how to incrementally update each dataset.)

Also switch to argparse for sane argument handling.

Bug: T203702

Details

Provenance
JeanFredAuthored on Sep 6 2018, 6:42 PM
Parents
R1969:1df570ced581: Add unit tests for update_event_data
Branches
Unknown
Tags
Unknown
ChangeId
None