mirror of
https://git.rockylinux.org/rocky/comps.git
synced 2024-11-27 07:06:27 +00:00
move scripts to own dir
This commit is contained in:
parent
f4fb0ee677
commit
1a75e364e2
@ -7,7 +7,7 @@ fi
|
|||||||
echo "Fetching from upstream"
|
echo "Fetching from upstream"
|
||||||
git fetch https://gitlab.com/redhat/centos-stream/release-engineering/comps.git main
|
git fetch https://gitlab.com/redhat/centos-stream/release-engineering/comps.git main
|
||||||
echo "Formatting patch and applying..."
|
echo "Formatting patch and applying..."
|
||||||
git format-patch --stdout ${HOWMANY} FETCH_HEAD | sed -e 's/centos-stream-9/rocky-9-lh/ ; s/centos-stream-10/rocky-10-lh/' | git apply
|
git format-patch --stdout ${HOWMANY} FETCH_HEAD | sed -e 's/centos-stream-9/rocky-9-lh/' | git apply
|
||||||
echo "!! DIFF OF CHANGES !!"
|
echo "!! DIFF OF CHANGES !!"
|
||||||
git --no-pager diff HEAD
|
git --no-pager diff HEAD
|
||||||
|
|
14
scripts/sync-from-upstream-10
Executable file
14
scripts/sync-from-upstream-10
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
HOWMANY="-$1"
|
||||||
|
if [ -z $1 ]; then
|
||||||
|
HOWMANY="-1"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Fetching from upstream"
|
||||||
|
git fetch https://gitlab.com/redhat/centos-stream/release-engineering/comps.git c10s
|
||||||
|
echo "Formatting patch and applying..."
|
||||||
|
git format-patch --stdout ${HOWMANY} FETCH_HEAD | sed -e 's/centos-stream-10/rocky-10-lh/' | git apply
|
||||||
|
echo "!! DIFF OF CHANGES !!"
|
||||||
|
git --no-pager diff HEAD
|
||||||
|
|
||||||
|
echo "You may now commit and push."
|
Loading…
Reference in New Issue
Block a user