Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions scripts/compare-package-contents.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ rpm -q podman meld copr-cli diffutils grep
RESULTDIR=$(mktemp -d)
CONTAINERFILE=$(mktemp)

copr_project=${1:-@fedora-llvm-team/llvm-snapshots}

cat <<EOF > $CONTAINERFILE
FROM fedora:rawhide AS old

Expand All @@ -41,12 +43,11 @@ FROM fedora:rawhide AS new

ARG INTERESTING_PKGS
RUN dnf install -y 'dnf5-command(copr)'
RUN dnf copr enable -y @fedora-llvm-team/llvm-snapshots
RUN dnf copr enable -y $copr_project
RUN dnf install -y \${INTERESTING_PKGS} --setopt=install_weak_deps=False
EOF

# Get list of packages that we're interested in:
copr_project=@fedora-llvm-team/llvm-snapshots
chroot=fedora-rawhide-x86_64
build_url=$(copr-cli monitor --output-format text-row --fields "chroot,url_build" $copr_project | grep -Po "$chroot\s*\Khttps://.*")
echo $build_url
Expand Down