Our release job is broken because we upgraded to Ubuntu 20.04 which drops support for a package we
rely on to complete a release called createrepo.
As far as I can tell, createrepo was dropped because it's abandonware and stuck on Python 2, which
has been EOL'd. I can get it to run from source by installing python2.7 but it further depends on
the package python-rpm which has also been dropped from this version of Ubuntu.
Ideally we wouldn't just drop support for rpm based distros in our packaging, but I think we might
need to at least temporarily do that while we figure out a fix for this.
There are a few choices:
- get
createrepo running from source in our release workflow. This is the path I've started down
and currently need to get an old version of python-rpm installed via source to continue.
- run
createrepo via a container that runs an old version of Ubuntu. This is reasonable but I hate
working with docker and am unsure what gotchas there are about running docker in Actions.
- drop support for rpm package repositories (we'd still package RPMs, just not put them in
repositories)
- try and run the release (or at least this part of the release) on an older version of Ubuntu. I'm not sure how feasible that is or how much runway it gets us.
I'm going to keep working on the first option but am open to suggestion/discussion.
Our release job is broken because we upgraded to Ubuntu 20.04 which drops support for a package we
rely on to complete a release called
createrepo.As far as I can tell,
createrepowas dropped because it's abandonware and stuck on Python 2, whichhas been EOL'd. I can get it to run from source by installing
python2.7but it further depends onthe package
python-rpmwhich has also been dropped from this version of Ubuntu.Ideally we wouldn't just drop support for
rpmbased distros in our packaging, but I think we mightneed to at least temporarily do that while we figure out a fix for this.
There are a few choices:
createreporunning from source in our release workflow. This is the path I've started downand currently need to get an old version of
python-rpminstalled via source to continue.createrepovia a container that runs an old version of Ubuntu. This is reasonable but I hateworking with docker and am unsure what gotchas there are about running docker in Actions.
repositories)
I'm going to keep working on the first option but am open to suggestion/discussion.