[Piuparts-commits] [SCM] piuparts git repository branch, piatti.git, updated. 4d2c7abb7c5a5a8ae3a0e51c77b65c605e0eb457
Andreas Beckmann
debian at abeckmann.de
Sun Jan 22 12:24:58 UTC 2012
The following commit has been merged in the piatti.git branch:
commit 7a448e706cffab3e6d22479d7dfb54ea421f570e
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Wed Jan 4 07:18:02 2012 +0100
replace some hardcoded values with variables
don't hardcode paths and timeouts
run 'du -x' (--one-file-system)
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/home/piupartsm/bin/detect_archive_issues b/home/piupartsm/bin/detect_archive_issues
index 2cba81a..d9f116c 100755
--- a/home/piupartsm/bin/detect_archive_issues
+++ b/home/piupartsm/bin/detect_archive_issues
@@ -40,6 +40,7 @@ get_config_value MASTER global master-directory
get_config_value SECTIONS global sections
get_config_value HTDOCS global output-directory
get_config_value URLBASE global urlbase http://piuparts.debian.org
+get_config_value DAYS global reschedule-untestable-days 7
#
@@ -68,7 +69,7 @@ if [ -s $URLS ]; then
echo "generated breaks' in failed logs.)"
echo
echo 'The following packages have been moved to $section/untestable and will be'
- echo "tested again in 7 days."
+ echo "tested again in $DAYS days."
echo
echo "Broken packages are usually a temporary problem in the archive and are"
echo "caught by other tools like britney or http://edos.debian.net/edos-debcheck/"
diff --git a/home/piupartsm/bin/detect_tmp_cruft b/home/piupartsm/bin/detect_tmp_cruft
index bedfab8..bbb8e9e 100755
--- a/home/piupartsm/bin/detect_tmp_cruft
+++ b/home/piupartsm/bin/detect_tmp_cruft
@@ -45,7 +45,7 @@ if [ "$(echo "$LS_TMP" | wc -l)" -gt 12 ] ; then
echo
echo "$LS_TMP"
echo
- echo "$(du -sh /org/piuparts.debian.org/tmp 2>/dev/null)"
+ echo "$(du -shx $PIUPARTS_TEMPDIR 2>/dev/null)"
echo
echo "One is normal for piuparts operation, more is not."
echo "Please investigate and cleanup."
diff --git a/home/piupartsm/bin/report_newly_bugged_packages b/home/piupartsm/bin/report_newly_bugged_packages
index b8f5d9a..f1e4d9e 100755
--- a/home/piupartsm/bin/report_newly_bugged_packages
+++ b/home/piupartsm/bin/report_newly_bugged_packages
@@ -41,12 +41,12 @@ get_config_value SECTIONS global sections
get_config_value PIUPARTS_PREFIX global prefix /org/piuparts.debian.org
-export PYTHONPATH=/org/piuparts.debian.org/lib/python2.6/dist-packages:/org/piuparts.debian.org/lib/python2.7/dist-packages
+export PYTHONPATH=$PIUPARTS_PREFIX/lib/python2.6/dist-packages:$PIUPARTS_PREFIX/lib/python2.7/dist-packages
for SECTION in $SECTIONS ; do
if [ -d $MASTER/$SECTION ]; then
echo $SECTION
cd $MASTER/$SECTION
- /org/piuparts.debian.org/share/piuparts/piuparts-analyze
+ $PIUPARTS_PREFIX/share/piuparts/piuparts-analyze
fi
done
--
piuparts git repository
More information about the Piuparts-commits
mailing list