7
0
mirror of https://git.rockylinux.org/rocky/comps.git synced 2024-11-21 20:51:24 +00:00
comps/sync-from-upstream
nazunalika f59a1df48e
Update Comps
* Remove unneeded comps from older releases
* Add translations to 9.0
* Add script to sync from upstream
2022-06-01 17:37:19 -07:00

11 lines
352 B
Bash
Executable File

#!/bin/bash
echo "Fetching from upstream"
git fetch https://gitlab.com/redhat/centos-stream/release-engineering/comps.git main
echo "Formatting patch and applying..."
git format-patch --stdout -1 FETCH_HEAD | sed -e 's/centos-stream-9/rocky-9-lh/' | git apply
echo "!! DIFF OF CHANGES !!"
git --no-pager diff HEAD
echo "You may now commit and push."