On Thu, Mar 24, 2011 at 12:19:47PM -0700, Amit Uttamchandani wrote:
> Just wanted to report that I applied your patch and works as expected on
> Bugzilla 4.0.
>
> Thanks alot!
>
> Amit
Modified the patch slightly to work with 4.1.1 (patch attached).
Bugzilla 4.1.1 works great as well.
Thanks,
Amit
diff --git a/scripts/bugzilla/Bugzilla.pm b/scripts/bugzilla/Bugzilla.pm
index fc08d3a..1560bd8 100644
--- a/scripts/bugzilla/Bugzilla.pm
+++ b/scripts/bugzilla/Bugzilla.pm
@@ -61,7 +61,7 @@ my $VERSION_3_2_0 = "3.2.0";
my $VERSION_3_3_0 = "3.3.0";
my $VERSION_3_5_0 = "3.5.0";
my $VERSION_4_0_0 = "4.0.0";
-my $VERSION_LATEST = "4.0.99";
+my $VERSION_LATEST = "4.1.1";
# Compare two version numbers lexicographically
#
@@ -596,7 +596,7 @@ sub set_version_type {
$self->{ version_type } = "up_to_3_4";
} elsif ( $major == 3 && $minor == 6) {
$self->{ version_type } = "up_to_3_6";
- } elsif ( $major == 4 && $minor == 0) {
+ } elsif ( $major == 4 && $minor == 1) {
$self->{ version_type } = $BUGTRACKER_VERSION_LATEST;
$VERSION_LATEST = "$major.$minor.99";
} else {
diff --git a/scripts/bugzilla/daemon.conf b/scripts/bugzilla/daemon.conf
index 4569ab7..9408305 100644
--- a/scripts/bugzilla/daemon.conf
+++ b/scripts/bugzilla/daemon.conf
@@ -46,7 +46,7 @@ log4perl.appender.Logfile.layout.ConversionPattern = %d Scmbug %p> %F{1}:%L:%M -
type => 'Bugzilla',
# This MUST be in the format x.y.z, where x,y,z
# are integers.
- version => '4.0.0',
+ version => '4.1.1',
database_location => '127.0.0.1',
database_port => '3306',
# Valid values are the ones accepted by the Perl DBI.
diff --git a/scripts/bugzilla/scmbug-server b/scripts/bugzilla/scmbug-server
index 20dc71a..cab2b4c 100755
--- a/scripts/bugzilla/scmbug-server
+++ b/scripts/bugzilla/scmbug-server
@@ -2,6 +2,7 @@
#
# start/stop scmbug-server.
+export PERL5LIB=/var/www/bugzilla/lib
PID_FILE=`cat /etc/scmbug/daemon.conf | grep -i daemon_pidfile | sed -e 's/.*=> "//g' | sed -e 's/".*//'`
if ! [ -x /usr/sbin/scmbug_daemon.pl ]; then
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users