pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/pbulk



Module Name:    pkgsrc
Committed By:   joerg
Date:           Wed Jan  8 15:12:01 UTC 2020

Modified Files:
        pkgsrc/pkgtools/pbulk: Makefile
        pkgsrc/pkgtools/pbulk/files/pbulk/scripts: pre-build scan

Log Message:
pbulk-0.66: make it simpler to compute the duration of the scan phase

This is handy when benchmarking whole system performance.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 pkgsrc/pkgtools/pbulk/Makefile
cvs rdiff -u -r1.14 -r1.15 \
    pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build
cvs rdiff -u -r1.9 -r1.10 pkgsrc/pkgtools/pbulk/files/pbulk/scripts/scan

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pbulk/Makefile
diff -u pkgsrc/pkgtools/pbulk/Makefile:1.82 pkgsrc/pkgtools/pbulk/Makefile:1.83
--- pkgsrc/pkgtools/pbulk/Makefile:1.82 Wed Jul  4 13:40:32 2018
+++ pkgsrc/pkgtools/pbulk/Makefile      Wed Jan  8 15:12:01 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.82 2018/07/04 13:40:32 jperkin Exp $
+# $NetBSD: Makefile,v 1.83 2020/01/08 15:12:01 joerg Exp $
 
-PKGNAME=       pbulk-0.65
+PKGNAME=       pbulk-0.66
 COMMENT=       Modular bulk build framework
 
 .include "../../pkgtools/pbulk/Makefile.common"

Index: pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build
diff -u pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build:1.14 pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build:1.15
--- pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build:1.14    Sat Sep 12 23:04:30 2015
+++ pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build Wed Jan  8 15:12:01 2020
@@ -1,5 +1,5 @@
 #!@SH@
-# $NetBSD: pre-build,v 1.14 2015/09/12 23:04:30 joerg Exp $
+# $NetBSD: pre-build,v 1.15 2020/01/08 15:12:01 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -114,6 +114,7 @@ compiler=`cd ${pkgsrc}/pkgtools/pkg_inst
 echo "PLATFORM=${opsys} ${opver}/${platform}" > ${loc}/status
 echo "COMPILER=${compiler}" >> ${loc}/status
 
-date '+%Y-%m-%d %H:%M|%Y%m%d.%H%M' | sed 's/^\(.*\)|\(.*\)$/BUILD_START_ISO=\1\
-BUILD_START_DIR=\2/' >> ${loc}/status
+date '+BUILD_START_ISO=%Y-%m-%d %H:%M
+BUILD_START_DIR=%Y%m%d.%H%M
+BUILD_START_EPOCHE=%s' >> ${loc}/status
 echo "BASE_URL=${base_url}" >> ${loc}/status

Index: pkgsrc/pkgtools/pbulk/files/pbulk/scripts/scan
diff -u pkgsrc/pkgtools/pbulk/files/pbulk/scripts/scan:1.9 pkgsrc/pkgtools/pbulk/files/pbulk/scripts/scan:1.10
--- pkgsrc/pkgtools/pbulk/files/pbulk/scripts/scan:1.9  Mon Nov 24 00:52:09 2014
+++ pkgsrc/pkgtools/pbulk/files/pbulk/scripts/scan      Wed Jan  8 15:12:01 2020
@@ -1,5 +1,5 @@
 #!@SH@
-# $NetBSD: scan,v 1.9 2014/11/24 00:52:09 asau Exp $
+# $NetBSD: scan,v 1.10 2020/01/08 15:12:01 joerg Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -113,3 +113,4 @@ else
                exit 1
        fi
 fi
+date '+SCAN_END_EPOCHE=%s' >> ${loc}/status



Home | Main Index | Thread Index | Old Index