pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cvs2fossil: install 99-warnings and use it
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Tue Jun 27 14:42:29 2023 +0200
Changeset: 8b036083302cbe0a81b3afa42b7d59e6f16d409e
Modified Files:
cvs2fossil/Makefile
cvs2fossil/PLIST
cvs2fossil/distinfo
cvs2fossil/patches/patch-convert.sh
Log Message:
cvs2fossil: install 99-warnings and use it
Also run timewarp checker by default
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8b036083302cbe0a81b3afa42b7d59e6f16d409e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
cvs2fossil/Makefile | 2 +-
cvs2fossil/PLIST | 1 +
cvs2fossil/distinfo | 2 +-
cvs2fossil/patches/patch-convert.sh | 10 +++++++++-
4 files changed, 12 insertions(+), 3 deletions(-)
diffs:
diff --git a/cvs2fossil/Makefile b/cvs2fossil/Makefile
index 1338de9ae9..743f8d0e87 100644
--- a/cvs2fossil/Makefile
+++ b/cvs2fossil/Makefile
@@ -25,7 +25,7 @@ do-build:
cd ${WRKSRC} && ./build.sh
do-install:
-.for file in 01-import 02-vendorbranches 03-branchtime 04-commit
+.for file in 01-import 02-vendorbranches 03-branchtime 04-commit 99-warnings
${INSTALL_PROGRAM} ${WRKSRC}/${file}/${file} ${DESTDIR}${PREFIX}/libexec/cvs2fossil
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/convert.sh ${DESTDIR}${PREFIX}/bin/cvs2fossil
diff --git a/cvs2fossil/PLIST b/cvs2fossil/PLIST
index 1e0252bfef..ef01025e16 100644
--- a/cvs2fossil/PLIST
+++ b/cvs2fossil/PLIST
@@ -4,3 +4,4 @@ libexec/cvs2fossil/01-import
libexec/cvs2fossil/02-vendorbranches
libexec/cvs2fossil/03-branchtime
libexec/cvs2fossil/04-commit
+libexec/cvs2fossil/99-warnings
diff --git a/cvs2fossil/distinfo b/cvs2fossil/distinfo
index 0a107f2cba..f5f5f2edf0 100644
--- a/cvs2fossil/distinfo
+++ b/cvs2fossil/distinfo
@@ -6,4 +6,4 @@ Size (cvs2fossil-20140502.tar.gz) = 1258545 bytes
SHA1 (patch-01-import_main.c) = 6177f632e9a7213e9aff911e28ac04378102fae5
SHA1 (patch-04-commit_main.c) = a7afef765fca714dfe672ab7207789d91cd839c8
SHA1 (patch-common_common.h) = 625959ee61513df52696987c9fba2abb83c91262
-SHA1 (patch-convert.sh) = d6cfcaec481719a4e8d1de5da99d1074686cac8a
+SHA1 (patch-convert.sh) = 6dcce41772d1ce9440d20094268c28e73d9cf022
diff --git a/cvs2fossil/patches/patch-convert.sh b/cvs2fossil/patches/patch-convert.sh
index 380792cc8d..327ebd2dfa 100644
--- a/cvs2fossil/patches/patch-convert.sh
+++ b/cvs2fossil/patches/patch-convert.sh
@@ -39,7 +39,7 @@ Adapt script for pkgsrc paths, make arguments available from command line.
oldest=$(echo 'SELECT datetime(r.date,"-1 second") FROM revision r ORDER BY r.date LIMIT 1;' | sqlite3 $db)
#
-@@ -35,14 +46,17 @@ oldest=$(echo 'SELECT datetime(r.date,"-
+@@ -35,14 +46,25 @@ oldest=$(echo 'SELECT datetime(r.date,"-
# revision IN (SELECT revision.id FROM revision WHERE date > "1998-05-01");
#EOF
@@ -62,3 +62,11 @@ Adapt script for pkgsrc paths, make arguments available from command line.
-time fossil rebuild --noverify $fossil
+time fossil1 rebuild --noverify $fossil
#TMPDIR=. time sqlite3 $fossil 'pragma synchronous=off; pragma journal_mode=off; vacuum'
++
++echo Checking for possible problems
++99-warnings $db
++echo End of warnings
++
++echo Checking for timewarp issues
++fossil1 test-timewarp-list --detail -R $fossil
++echo End of timewarp issues
Home |
Main Index |
Thread Index |
Old Index