]> dxcluster.net Git - spider.git/commitdiff
fix git version/build code correctly
authorDirk Koopman <djk@tobit.co.uk>
Wed, 13 Jun 2007 21:57:00 +0000 (22:57 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Wed, 13 Jun 2007 21:57:00 +0000 (22:57 +0100)
add finer graded .gitignores

.gitignore [new file with mode: 0644]
data/.gitignore [new file with mode: 0644]
filter/.gitignore [new file with mode: 0644]
perl/cluster.pl

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..928643d
--- /dev/null
@@ -0,0 +1 @@
+local*
diff --git a/data/.gitignore b/data/.gitignore
new file mode 100644 (file)
index 0000000..fea0d51
--- /dev/null
@@ -0,0 +1,8 @@
+bad*
+debug
+*.db
+*.v?
+spots
+user*
+dupefile
+log
diff --git a/filter/.gitignore b/filter/.gitignore
new file mode 100644 (file)
index 0000000..150f68c
--- /dev/null
@@ -0,0 +1 @@
+*/*
index 8aade278e42ebe2bb38d1297b21cf6e85491a260..8f7106d9dbb82f57978190eeaa375138c9d479f7 100755 (executable)
@@ -121,7 +121,7 @@ use vars qw(@inqueue $systime $version $starttime $lockfn @outstanding_connects
 
 @inqueue = ();                                 # the main input queue, an array of hashes
 $systime = 0;                                  # the time now (in seconds)
-$version = "1.52";                             # the version no of the software
+$version = "1.53";                             # the version no of the software
 $starttime = 0;                 # the starting time of the cluster   
 #@outstanding_connects = ();     # list of outstanding connects
 @listeners = ();                               # list of listeners
@@ -131,13 +131,6 @@ $allowdxby = 0;                                    # 1 = allow "dx by <othercall>", 0 - don't allow it
 
 
 use vars qw($VERSION $BRANCH $build $branch);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/  || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
-$main::build -= 3;                             # fudge (put back for now)
-
-
       
 # send a message to call on conn and disconnect
 sub already_conn