Update yum spider and download page for new reporpms
authorMagnus Hagander <magnus@hagander.net>
Wed, 15 May 2019 09:40:11 +0000 (11:40 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 16 May 2019 15:13:13 +0000 (17:13 +0200)
commit18c7292eaa55fd4d1df9ea002408dcb083c6aad3
tree5d0dbfe823dc8ca40a4baa524fab08b33885760e
parent7aab2eac7cf258e1759396d5b848d5b1f5f24da7
Update yum spider and download page for new reporpms

The yum project has switched to single-reporpm-for-multiple-versions as
well as putting them in a dedicated directory. This makes a lot of the
cruft in the code to deal with the distribution of reporpms unnecessary,
so change it.

We still need to keep track of which platforms exist for which versions,
so we do still need some spidering, but it's  alot simpler.

Since all versions are also always availeble, the javascript that
populates the version list can now just use the list of supported
versions. This could be rendered directly in the HTML, but we might need
to restrict versions-per-platform at some point in the future, and
javascript is needed anyway for the rest of the page, so we keep doing
it the old way.
templates/downloads/js/yum.js
tools/ftp/spider_yum.py