summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2021-09-15 10:53:39 -0400
committerMike Pagano <mpagano@gentoo.org>2021-09-15 10:53:39 -0400
commitee193ee9d95da3127d22e7a475e1c8f487e54966 (patch)
tree1fb5d7855454f2a77f6fccb6c86ec1923ad8d315
parentChange scp to rsync (diff)
downloadlinux-patches-ee193ee9.tar.gz
linux-patches-ee193ee9.tar.bz2
linux-patches-ee193ee9.zip
Add --progress to rsync commandgenpatches-misc
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
-rwxr-xr-xscripts/gpdorelease2
-rwxr-xr-xscripts/gpdoweb10
2 files changed, 6 insertions, 6 deletions
diff --git a/scripts/gpdorelease b/scripts/gpdorelease
index f57be91..5936489 100755
--- a/scripts/gpdorelease
+++ b/scripts/gpdorelease
@@ -129,7 +129,7 @@ git push --tags -u origin ${BRANCH}
# copy files to distfiles-local
#scp /tmp/${TARBALL_BASENAME}-$newfullver.* ${USERNAME}@dev.gentoo.org:/tmp
echo "rsycn'in files to dev.gentoo.org:~/public_html/dist/genpatches"
-rsync /tmp/${TARBALL_BASENAME}-$newfullver.* ${USERNAME}@dev.gentoo.org:~/public_html/dist/genpatches
+rsync -P /tmp/${TARBALL_BASENAME}-$newfullver.* ${USERNAME}@dev.gentoo.org:~/public_html/dist/genpatches
##if [[ ${DO_WEBSITE} == "yes" ]] ; then
# mv ${file_base} ${file_extras} ${file_experimental} ${WEB_LOCAL}/tarballs/
diff --git a/scripts/gpdoweb b/scripts/gpdoweb
index feb2240..4b06e5b 100755
--- a/scripts/gpdoweb
+++ b/scripts/gpdoweb
@@ -11,7 +11,7 @@ fi
# send generated htm files for site
echo "calling rsync command: rsync --exclude=/trunk --exclude=/tarballs --delete -Cavze ssh ${WEB_LOCAL}/output/ ${USERNAME}@${WEB_GENPATCHES_BASE}"
-rsync --exclude=/trunk --exclude=/tarballs --delete -Cavze ssh \
+rsync -P --exclude=/trunk --exclude=/tarballs --delete -Cavze ssh \
${WEB_LOCAL}/output/ ${USERNAME}@${WEB_GENPATCHES_BASE}
# delete directory if /tmp/linux-patches exists
@@ -38,17 +38,17 @@ for BRANCH in $(git -C ${LOCAL_TMP}/linux-patches for-each-ref --format='%(refna
git -C ${LOCAL_TMP}/linux-patches checkout ${BRANCH}
# copy patches
- rsync --delete -Cavze ssh ${LOCAL_TMP}/linux-patches/ ${USERNAME}@${WEB_GENPATCHES_BASE}/trunk/$BRANCH
+ rsync -P --delete -Cavze ssh ${LOCAL_TMP}/linux-patches/ ${USERNAME}@${WEB_GENPATCHES_BASE}/trunk/$BRANCH
done
# should be easy, copy uploaded files from dev server to tarballs directory locally
#echo "rsync -avz ${USERNAME}@dev.gentoo.org:/space/distfiles-local/${KERNEL_NAME}* ${WEB_LOCAL}/tarballs/"
#rsync -avz ${USERNAME}@dev.gentoo.org:/space/distfiles-local/${KERNEL_NAME}* ${WEB_LOCAL}/tarballs/
-echo "rsync -avz ${USERNAME}@dev.gentoo.org:~${USERNAME}/public_html/dist/genpatches/${KERNEL_NAME}* ${WEB_LOCAL}/tarballs/"
-rsync -avz ${USERNAME}@dev.gentoo.org:~${USERNAME}/public_html/dist/genpatches/${KERNEL_NAME}* ${WEB_LOCAL}/tarballs/
+echo "rsync -avzP ${USERNAME}@dev.gentoo.org:~${USERNAME}/public_html/dist/genpatches/${KERNEL_NAME}* ${WEB_LOCAL}/tarballs/"
+rsync -avzP ${USERNAME}@dev.gentoo.org:~${USERNAME}/public_html/dist/genpatches/${KERNEL_NAME}* ${WEB_LOCAL}/tarballs/
# easy again, copy local tarballs to public_html
-rsync -Cavze ssh ${WEB_LOCAL}/tarballs/ ${USERNAME}@${WEB_GENPATCHES_BASE}/tarballs
+rsync -CavzeP ssh ${WEB_LOCAL}/tarballs/ ${USERNAME}@${WEB_GENPATCHES_BASE}/tarballs
# remove linux-patches
rm -rf ${LOCAL_TMP}/linux-patches