Closed elfkuzco closed 2 months ago
Attention: Patch coverage is 73.62637%
with 24 lines
in your changes missing coverage. Please review.
Project coverage is 72.75%. Comparing base (
95c2609
) to head (edd6bb4
). Report is 4 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Rationale
Add
Region
table for keeping information of countries and mirror location. In order to keep the data in the db compatible with the schema changes, theregion
data forCountry
andMirror
are set toNone
by default. However, CLI commands which update mirrors and countries update this field accordingly.To synchronize the data in the db fully, one should create the regions first using
mirrors-qa-backend create-countries < csv-file
. Afterwards,mirrors-qa-backend update-mirrors
. This updates the region data for all the mirrors in the database.This resolves #38
Changes
mirrors-qa-backend create-countries -h
to see the argumentsupdate-mirrors
subcommand