Search the web
Sign In
New User? Sign Up
cvszilla
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: After upgrading CVSziila don't work properly with Bugzilla 2.22.   Message List  
Reply | Forward Message #163 of 169 |
Re: Re: [cvszilla] Re: After upgrading CVSziila don't work properly with Bugzilla 2.22.

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";






Tue Sep 12, 2006 12:47 am

bruce.hoult@...
Send Email Send Email

Forward
Message #163 of 169 |
Expand Messages Author Sort by Date

Hi Jason, I patched file /usr/share/bugzilla/globals.pl. After commit log file: cmd: cvs commit -F "/home/lshulov/.crossvc/tmp.Pknw9Y" "ProjectOpen.py" ...
Leonid Shulov
lshulov@...
Send Email
Sep 11, 2006
11:05 pm

... O.k. I'll install bugzilla 2.22 tonight and have a look. :) Jason...
Jason Pollock
Jason_Pollock
Offline Send Email
Sep 12, 2006
12:18 am

... 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...
Bruce Hoult
bruce.hoult@...
Send Email
Sep 12, 2006
1:49 am

I haven't had a chance to commit Bruce's changes yet, but the BugsLongdescs.pm changes should be sufficient to help you. As he said, the CGI scripts for user...
Jason Pollock
Jason_Pollock
Offline Send Email
Sep 13, 2006
9:07 am

Hi Jason, I did all Bruce's patches without any new result. Maybe I do same thing wrong in config.pl ? I attached it. Best Regards, ... -- Shulov Leonid...
Leonid Shulov
lshulov@...
Send Email
Sep 13, 2006
10:55 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help