set -euo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
curl -sSL https://bodhi.fedoraproject.org/updates/FEDORA-2024-290bbeaac8 | jq -r .update.title
set -euo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
curl -sSL https://bodhi.fedoraproject.org/updates/FEDORA-2024-290bbeaac8 | jq -r .update.builds[].nvr
set -euo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
curl -sSL https://builds.coreos.fedoraproject.org/prod/streams/rawhide/builds/42.20241208.91.0/x86_64/meta.json
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa init --branch rawhide --commit=a66a77cf56b17407c330cbd8f5d5c6a4b1a6dee0 https://github.com/coreos/fedora-coreos-config
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa buildfetch --stream rawhide --build 42.20241208.91.0 --file manifest-lock.generated.x86_64.json
set -xeuo pipefail
if [ `umask` = 0000 ]; then
umask 0022
fi
cosa shell -- env -C overrides/rpm koji download-build rpm-ostree-2024.9-3.fc42 --arch x86_64 --arch noarch