On 9/12/06, Jason Pollock <jason@...> wrote:
> > In CVSzilla transaction I see it, but in bugzilla I don't see any changes.
>
> O.k. I'll install bugzilla 2.22 tonight and have a look. :)
It's because the longdescs table now has an isprivate not-null field.
(yay!) So we neeed to fill it in. I chose to make all commit
messages private.
Also CGI.pl is no more, and what used to be in there is now spread
around. I'm not sure that the following is entirely necessary, and I
know that it is not 100% sufficient because editjob.cgi, joblist.cgi
and usermapping.cgi still do not work. Everything else seems to
though -- and I can handle job and user editing by hand in mysql, just
like the old days.
Also I'm using cvszilla direct in a cvs checkout directory, not using
install (which is broken for svn installs anyway), which might explain
the different path to config.pl.
The meat is definitely the change in BugsLongdescs.pm
Hope this helps,
Bruce
Index: config.pl
===================================================================
RCS file: /home/cvs/cvsroot/cvszilla/config.pl,v
retrieving revision 1.4
diff -r1.4 config.pl
39c39
< $::bugzilla_version = "2.18";
---
> $::bugzilla_version = "2.22";
Index: cvssupport/logmsg-parsing.pl
===================================================================
RCS file: /home/cvs/cvsroot/cvszilla/cvssupport/logmsg-parsing.pl,v
retrieving revision 1.12
diff -r1.12 logmsg-parsing.pl
22c22
< require "$::scriptdir/../etc/config.pl";
---
> require "$::scriptdir/../config.pl";
Index: cvssupport/cvsdb/BugsLongdescs.pm
===================================================================
RCS file: /home/cvs/cvsroot/cvszilla/cvssupport/cvsdb/BugsLongdescs.pm,v
retrieving revision 1.1
diff -r1.1 BugsLongdescs.pm
9,10c9,10
< INSERT INTO __TABLE__ (bug_when, %s)
< VALUES (sysdate(), %s)
---
> INSERT INTO __TABLE__ (bug_when, isprivate, %s)
> VALUES (sysdate(), 1, %s)
Index: cvszilla/bugzilla_globals.pl
===================================================================
RCS file: /home/cvs/cvsroot/cvszilla/cvszilla/bugzilla_globals.pl,v
retrieving revision 1.1
diff -r1.1 bugzilla_globals.pl
3c3,11
< require "$::bugzilla_path/CGI.pl";
---
>
> #require "$::bugzilla_path/CGI.pl";
> use Bugzilla;
> use Bugzilla::Constants;
> use Bugzilla::User;
>
> require "globals.pl";
>
> use Bugzilla::Bug;
Index: cvszilla/cvs_globals.pl
===================================================================
RCS file: /home/cvs/cvsroot/cvszilla/cvszilla/cvs_globals.pl,v
retrieving revision 1.5
diff -r1.5 cvs_globals.pl
22c22
< require "../etc/config.pl";
---
> require "../config.pl";