Adding more OS to select from dropdown list while entering

David Miller justdave at syndicomm.com
Thu Apr 10 22:18:42 UTC 2003


On 4/11/03 3:02 AM +0530, Me And You wrote:

> Hey David ,
>
> I liked u'r suggestion.
>
> Why don't you let me know the file details to do it :)

I did.  Read the post again. :)

The file is called localconfig, and it's in your bugzilla root directory.
There's a list of op_sys values in there.  Edit that list to suit, and when
you run checksetup.pl, it'll fix the database to match what's in that file.

>>From: David Miller
>>Reply-To: developers at bugzilla.org
>>To: developers at bugzilla.org
>>Subject: Re: Adding more OS to select from dropdown list while entering
>>Date: Tue, 8 Apr 2003 14:38:47 -0400
>>
>>On 4/8/03 10:52 PM +0530, Me And You wrote:
>>
>> > Thanks so much friend,
>> >
>> > Finally I could find the solution :)
>> >
>> > I modified the field "op_sys" under the table "bugs".
>> >
>> > The the field "op_sys" is of type
>> >
>> > ENUM('All','Windows 3.1','Windows 95','Windows 98','Windows ME','Windows
>> >2000','Windows NT','Mac System 7','Mac System 7.5','Mac System 7.6.1','Mac
>> >System 8.0','Mac System 8.5','Mac System 8.6','Mac System
>> >9.0','Linux','BSDI','FreeBSD','NetBSD','OpenBSD','AIX','BeOS','HP-UX','IRIX','Neutrino','OpenVMS','OS/2','OSF/1','Solaris','SunOS','other')
>> >
>> > You can run the command (to add 'Windows XP','Windows XP Home' and
>> >'Windows XP Pro')
>> >
>> > mysql> ALTER TABLE bugs MODIFY op_sys enum('All','Windows 3.1','Windows
>> >95','Windows 98','Windows ME','Windows 2000','Windows XP','Windows XP
>> >Home','Windows XP Pro','Windows NT','Mac System 7','Mac System 7.5','Mac
>> >System 7.6.1','Mac System 8.0','Mac System 8.5','Mac System 8.6','Mac
>> >System
>> >9.0','Linux','BSDI','FreeBSD','NetBSD','OpenBSD','AIX','BeOS','HP-UX','IRIX','Neutrino','OpenVMS','OS/2','OSF/1','Solaris','SunOS','other');
>> >
>> > Hope this experience of mine will be helpful for all of us.
>> >
>> > Thanks to all for you for quick attempts to help me.
>>
>>Uhhh, why not just change the list in the localconfig file and run
>>checksetup.pl again? It'll change the schema for you.
>>--
>>Dave Miller Project Leader, Bugzilla Bug Tracking System
>>http://www.justdave.net/ http://www.bugzilla.org/
>>----
>>To view or change your list settings, click here:
>>
>
>
> Mobile, masti, magic! Cool ringtones & logos.
><http://g.msn.com/8HMIENIN/2737>Get noticed


-- 
Dave Miller      Project Leader, Bugzilla Bug Tracking System
http://www.justdave.net/             http://www.bugzilla.org/



More information about the developers mailing list