SHA256
1
0
forked from pool/qemu

Accepting request 662675 from home:olh:branches:Virtualization

- Modify update_git.sh script:
  pass --zero-commit to format-patch
  This removes needless noise in the buildservice when the same set
  of patches is imported/exported at different times by different users.
  pass --no-signature to format-patch
  Remove sed call which used to remove the signature, use mv instead

This SR does no include the noise of the all-zero hashes.

OBS-URL: https://build.opensuse.org/request/show/662675
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=442
This commit is contained in:
Bruce Rogers 2019-01-03 16:37:27 +00:00 committed by Git OBS Bridge
parent 81559de7dc
commit 87b037dbdd
3 changed files with 23 additions and 4 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Jan 3 14:12:56 UTC 2019 - olaf@aepfle.de
- Modify update_git.sh script:
pass --zero-commit to format-patch
This removes needless noise in the buildservice when the same set
of patches is imported/exported at different times by different users.
pass --no-signature to format-patch
Remove sed call which used to remove the signature, use mv instead
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 14 06:24:53 UTC 2018 - lma@suse.com Fri Dec 14 06:24:53 UTC 2018 - lma@suse.com

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Jan 3 14:12:56 UTC 2019 - olaf@aepfle.de
- Modify update_git.sh script:
pass --zero-commit to format-patch
This removes needless noise in the buildservice when the same set
of patches is imported/exported at different times by different users.
pass --no-signature to format-patch
Remove sed call which used to remove the signature, use mv instead
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 14 06:24:53 UTC 2018 - lma@suse.com Fri Dec 14 06:24:53 UTC 2018 - lma@suse.com

View File

@ -214,6 +214,8 @@ else # not based on LATEST upstream master, rather any upstream commitish
fi fi
(cd $GIT_DIR && git format-patch -N --stat=72 --indent-heuristic \ (cd $GIT_DIR && git format-patch -N --stat=72 --indent-heuristic \
--zero-commit \
--no-signature \
$GIT_UPSTREAM_COMMIT_ISH --suffix= -o $CMP_DIR --no-renames >/dev/null) $GIT_UPSTREAM_COMMIT_ISH --suffix= -o $CMP_DIR --no-renames >/dev/null)
check_patch() check_patch()
@ -241,10 +243,7 @@ rm -rf $GIT_DIR
# chars before extension and remove git signature. ('30' below gets us past # chars before extension and remove git signature. ('30' below gets us past
# dir prefix) # dir prefix)
for i in $CMP_DIR/*; do for i in $CMP_DIR/*; do
# format-patch may append a signature, which per default contains the mv $i $CMP_DIR/${i:30:40}.patch
# git version. wipe everything starting from the signature tag
sed '/^-- $/Q' $i > $CMP_DIR/${i:30:40}.patch
rm $i
done done
for i in 0???-*.patch; do for i in 0???-*.patch; do