I'd mentioned this in a previous note, on a thread that got long:
- The "show_possible_srpms.sh" script relies on checking for the word
"import" in the git logs to determine SRPM versions, embedded in the git logs themselves. This raises the risk of *any* commit that uses that word for other reasons to report an invalid SRPM version number.
I tried to submit this at bugs.centos.org, but there's not a category there for 'centos-git-common' that I could easily find. The patch is below:
diff --git a/show_possible_srpms.sh b/show_possible_srpms.sh index 5f5fb93..d296449 100755 --- a/show_possible_srpms.sh +++ b/show_possible_srpms.sh @@ -110,7 +110,7 @@ if [[ "x${BRANCH}" != 'x' ]]; then LOGARGS="${LOGARGS} ${BRANCH}" fi
-loglist=$(git log ${LOGARGS} |grep import) +loglist=$(git log ${LOGARGS} |grep '|\import ') if [[ $? -ne 0 ]]; then exit 1 fi
Am 05.07.2014 18:43, schrieb Nico Kadel-Garcia:
I'd mentioned this in a previous note, on a thread that got long:
- The "show_possible_srpms.sh" script relies on checking for the word
"import" in the git logs to determine SRPM versions, embedded in the git logs themselves. This raises the risk of *any* commit that uses that word for other reasons to report an invalid SRPM version number.
I tried to submit this at bugs.centos.org, but there's not a category there for 'centos-git-common' that I could easily find. The patch is below:
try changing the project to Buildsys - there git.centos.org is available.
cheers