[Qa-jenkins-scm] [jenkins.debian.net] 03/03: reproducible: rename cleanup_userContent() to cleanup_pkg_files()

Holger Levsen holger at moszumanska.debian.org
Fri Aug 7 15:09:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 6580bf44b38ab35476b43fca16eb018b3df2c276
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Aug 7 17:07:59 2015 +0200

    reproducible: rename cleanup_userContent() to cleanup_pkg_files()
---
 bin/reproducible_blacklist.sh | 2 +-
 bin/reproducible_build.sh     | 2 +-
 bin/reproducible_common.sh    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_blacklist.sh b/bin/reproducible_blacklist.sh
index 09bc789..f541dee 100755
--- a/bin/reproducible_blacklist.sh
+++ b/bin/reproducible_blacklist.sh
@@ -18,7 +18,7 @@ blacklist_packages() {
 	for PKG in $PACKAGES ; do
 		VERSION=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT version FROM sources WHERE name='$PKG' AND suite='$SUITE';")
 		PKGID=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT id FROM sources WHERE name='$PKG' AND suite='$SUITE';")
-		cleanup_userContent
+		cleanup_pkg_files
 		sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO results (package_id, version, status, build_date) VALUES ('$PKGID', '$VERSION', 'blacklisted', '$DATE');"
 	done
 }
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 6a6978c..4cccab1 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -553,7 +553,7 @@ build_rebuild  # defines FTBFS redefines RBUILDLOG
 if [ $FTBFS -eq 0 ] ; then
 	check_buildinfo
 fi
-cleanup_userContent
+cleanup_pkg_files
 diff_copy_buildlogs
 update_rbuildlog
 if [ $FTBFS -eq 1 ] ; then
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 5b6faf3..107c55e 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -439,7 +439,7 @@ get_filesize() {
 		fi
 }
 
-cleanup_userContent() {
+cleanup_pkg_files() {
 	rm -vf $BASE/rbuild/${SUITE}/${ARCH}/${SRCPACKAGE}_*.rbuild.log{,.gz}
 	rm -vf $BASE/logs/${SUITE}/${ARCH}/${SRCPACKAGE}_*.build?.log{,.gz}
 	rm -vf $BASE/dbd/${SUITE}/${ARCH}/${SRCPACKAGE}_*.debbindiff.html

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list