fedora-infra / mirrormanager2

Rewrite of the MirrorManager application in Flask and SQLAlchemy
https://mirrormanager.fedoraproject.org
GNU General Public License v2.0
63 stars 46 forks source link

The new split between primary and secondary arches didn't work for updates-released-debug-f26 #212

Closed puiterwijk closed 4 years ago

puiterwijk commented 6 years ago

The database did not have the correct path for most (but not all) secondary arches' updates-released-debug-f26 repos.

mirrormanager2=# select * from repository where prefix='updates-released-debug-f26';
    id    |                    name                     |           prefix           | category_id | version_id | arch_id | directory_id | disabled 
----------+---------------------------------------------+----------------------------+-------------+------------+---------+--------------+----------
 27707789 | pub/fedora-secondary/updates/26/s390x/debug | updates-released-debug-f26 |          10 |     934141 |       9 |       157509 | f
 27707780 | pub/fedora/linux/updates/26/i386/debug      | updates-released-debug-f26 |           3 |     934141 |       2 |              | f
 27707781 | pub/fedora/linux/updates/26/x86_64/debug    | updates-released-debug-f26 |           3 |     934141 |       3 |       143658 | f
 27707783 | pub/fedora/linux/updates/26/ppc64/debug     | updates-released-debug-f26 |           3 |     934141 |       5 |              | f
 27707784 | pub/fedora/linux/updates/26/armhfp/debug    | updates-released-debug-f26 |           3 |     934141 |      13 |       143644 | f
 27707785 | pub/fedora/linux/updates/26/aarch64/debug   | updates-released-debug-f26 |           3 |     934141 |      14 |              | f
 27707788 | pub/fedora/linux/updates/26/ppc64le/debug   | updates-released-debug-f26 |           3 |     934141 |      15 |              | f
puiterwijk commented 6 years ago

(for the record: I just fixed these entries by hand in the database)

adrianreber commented 6 years ago

Thanks for fixing. updates-testing-debug-f26 had the same problem and I remember fixing it manually for previous releases. This needs to be fixed. Hopefully before F27.

adrianreber commented 4 years ago

Closing this. This could be solved by the clean up on the Fedora side of the empty repository tree with wrong directories.