The $STAGE argument has been unused since @kevin split the script
up and fixed some problems in it. Just removing it could cause
problems if people use old invocations fron history or something,
though, so let's allow either passing it or not passing it and
print a warning if it's passed.
Also, update the comment on how the script should be run to
account for the changes to the repository layout and the script's
name.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
Currently we write the data for Rawhide to rawhide.json and
rawhide.txt. This is how Bodhi expects to find it...so long as
the release in question *still is* Rawhide. But there's a timing
issue at branching: the release that was Rawhide suddenly no
longer is, and its branch name changes to fXX, so now Bodhi will
look for the critpath data as fXX.json or fXX.txt. From the time
the Bodhi branch name is changed until the first time critpath
generation runs after a Branched compose has completed and been
synced, Bodhi will no longer have critpath data for the release
and will consider all updates non-critpath, which is bad.
This should completely avoid the problem by just *always* writing
the Rawhide critpath data under both names, so at branching, until
we get 'correct' fresh critpath data for the newly-branched release
we will at least just apply the latest Rawhide critpath to it.
Having the numbered files when we don't need them shouldn't cause
any problems. And given the way this script is written it also
should never be possible for us to write Rawhide numbered files
over top of Branched numbered files. So I'm pretty sure it should
be safe to always do this.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
...like right now, after branching, we're blowing up because alt
arches aren't synced for some reason. We'd rather have some
critpath than no critpath at all, thanks.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
We no longer have Modular updates
We no longer ship i686 updates
We no longer ship armhfp (32bit arm) updates.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
I've extended the initial comment to better explain how to use the script and removed the `fedscm_admin` code since we're no longer maintain that tool.
Signed-off-by: mattia <mattia.verga@proton.me>
Regular builds are sometimes tagged into the flatpak-runtime tag as a form
of override in order to get it into the runtimes or the flatpak-app-build
tag as needed. This allows such overrides to also benefit flatpak container
builds (e.g. fixes to gdk-pixbuf2/glycin for icon detection).
The latest stable branches already have these modifications, this is to
propagate them to future branches.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>