[Pkg-voip-commits] r6646 - /tools/builder/builder

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Fri Jan 9 19:22:35 UTC 2009


Author: tzafrir-guest
Date: Fri Jan  9 19:22:35 2009
New Revision: 6646

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6646
Log:
builder: save logs from successful builds in the repo.

Modified:
    tools/builder/builder

Modified: tools/builder/builder
URL: http://svn.debian.org/wsvn/pkg-voip/tools/builder/builder?rev=6646&op=diff
==============================================================================
--- tools/builder/builder (original)
+++ tools/builder/builder Fri Jan  9 19:22:35 2009
@@ -18,6 +18,7 @@
 # SOURCES_SPEC
 SOURCES_FILE=${SOURCES_SPEC:-sources}
 REPREPRO="reprepro -b $LOCAL_REPO"
+LOGS_DIR="$LOCAL_REPO/logs"
 
 say() {
   echo >&2 "$0: $@"
@@ -161,6 +162,7 @@
 
   # Commit:
   changes_file=$svn_checkout_base/${package}_${full_version}_$ARCH.changes
+  build_log_file=$svn_checkout_base/${package}_${full_version}_$ARCH.build
   # finished building. commit package to repository
   if [ "$dummy_mod_package" = 'yes' ]; then
     # commit the embedded packages rather than the dummy package
@@ -174,6 +176,7 @@
   else
     $REPREPRO --ignore=wrongdistribution include $LOCAL_DISTRO $changes_file
   fi
+  cp -a $build_log_file $LOGS_DIR/
   # Commiting a new version of zaptel invalidates zaptel-modules
   case "$package" in
     zaptel) mods_package='zaptel-modules';;




More information about the Pkg-voip-commits mailing list