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

mm2_move-devel-to-release: adapt to latest repository layout #196

Closed adrianreber closed 7 years ago

adrianreber commented 7 years ago

mm2_move-devel-to-release was still assuming that the 'releases/' directory has the 'Everything/' part in it but that 'Everything/' does not exist under 'development/'. As this has changed this script needs to adapt to the new layout. Without this change the script was looking for directories like

pub/fedora-secondary/releases/24/Everything/Everything/ppc64/debug/tree

which do not exist.

Bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1395695

Fixes #195

Signed-off-by: Adrian Reber adrian@lisas.de

pypingou commented 7 years ago

Looks good to me, I just wish we would stop constantly changing those paths :( Or at least that it was clearly announced somewhere.