Porting Bugzilla to HP NonStop

Michael Thomas mockodin at gmail.com
Tue Mar 23 16:35:36 UTC 2010


Those being the only support db platforms.

That said to test another db you would need to modify the following:
/bugzilla/Bugzilla/Constants.pm
   Add a section calling the DBD-<your db here>

And you will need to create two files:
Bugzilla\DB\<yourdbtype>.pm
Bugzilla\DB\Schema\<yourdbtype>.pm

Take a look at the patch file I have up on http://www.zplace.com that
is a port for MSSQL. You may want to start be cloning the
Bugzilla\DB\mysql.pm and Bugzilla\DB\Schema\mysql.pm files and edited
where needed.

Keep in mind that your more or less on your own for support, except
where folks are feeling generous, since it is not a supported port.
If you can get it working I imagine if you can submit what you did
back to the community it might get added, that's my goal for mssql.

For my port I found some hard coded instances of functions where
assumptions had been made, such as substring, under mssql all three
parameters are required not just the first two.


Seeing Joel's update, the MSSQL patch is using DBD::ODBC already so
you can probably clone part of my code.

On Tue, Mar 23, 2010 at 7:57 AM, Randall S. Becker
<rsbecker at nexbridge.com> wrote:
> Here's the situation:
>
> Checking for              DBD-Pg (v1.45)    not found
> Checking for           DBD-mysql (v4.00)    not found
> Checking for          DBD-Oracle (v1.19)    not found
>
> As indicated, this box has none of the above three, nor are we going to put those on the box. I'm looking to port to a new database and am looking for advise on doing so. The RDBMS is NonStop SQL/MX, and I'm expert level at that.
>
> -----Original Message-----
> From: developers-owner at bugzilla.org [mailto:developers-owner at bugzilla.org] On Behalf Of Max Kanat-Alexander
> Sent: March-23-10 3:56 AM
> To: developers at bugzilla.org
> Subject: Re: Porting Bugzilla to HP NonStop
>
> On 03/23/2010 12:29 AM, Randall S. Becker wrote:
>> True, but we have a head-start from an older port. I'd be happy to pass on PHP ;-). We do have Perl.
>
>        Okay. Bugzilla is written in Perl, so why not just use Bugzilla as-is?
>
>> Bugzilla 2.4.1 Doc had a discussion about porting. Old stuff. Not useful other than "Talk to the developers"
>
>        There was no Bugzilla 2.4.1. (And if there was, it would have been from
> 1999.) Did you mean 2.14.1? I don't see anything like that in the 2.16
> docs, which are the oldest we have on our website, currently.
>
>        -Max
> --
> http://www.everythingsolved.com/
> Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=rsbecker@nexbridge.com>
>
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=mockodin@gmail.com>
>



More information about the developers mailing list