Closed Bug 47943 Opened 25 years ago Closed 24 years ago

versioncache configuration file

Categories

(Bugzilla :: Bugzilla-General, defect, P3)

defect

Tracking

()

VERIFIED INVALID

People

(Reporter: efm-mozillabugzilla, Assigned: justdave)

Details

versioncache needed some work. I've refactored it, as a first pass, but it really should be split into two files, one for the specific packages being tracked, and one for the system-wide data to be tracked. Here's my refactored versioncache: # # Configuration file for Bugzilla # # Products # TestProduct is used as an example # my $productName = "Product Name"; # end of Products # List of all products # This should match the list above, unless a product has been # retired from active tracking #@::legal_product = ('TestProduct'); @::legal_product = ( "$productName"); # Product Details # proddesc should be replaced with the full description, if known #$::proddesc{'TestProduct'} = 'This is a test product. This ought to be blown away and replaced with real stuff in a finished installation of bugzilla.'; #$::prodmaxvotes{'TestProduct'} = '0'; #$::milestoneurl{'TestProduct'} = ''; #$::milestoneurl{'TestProduct'} = ''; $::prodmaxvotes{"$productName"} = '0'; $::proddesc{"$productName"} = 'Product description.'; $::milestoneurl{"$productName"} = ''; # Versions for each product #$::versions{'TestProduct'} = ['other']; $::versions{"$productName"} = ['beta']; # end of Versions # List of all of the legal versions @::legal_versions = ('other', 'beta'); # Products which have components #$::components{'TestProduct'} = ['TestComponent']; $::components{"$productName"} = ['Product Name Component']; # end of products with components # List of all legal components #@::legal_components = ('TestComponent'); @::legal_components = ('Product Name Component'); # Platforms (the hardware that these run on) @::legal_platform = ('all','1gen','2gen'); # Operating Systems @::legal_opsys = ('All', 'Windows 3.1', 'Windows 95', 'Windows 98', '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', 'AIX', 'BSDI', 'HP-UX', 'IRIX', 'Linux', 'FreeBSD', 'OSF/1', 'Solaris', 'SunOS', 'Neutrino', 'OS/2', 'BeOS', 'OpenVMS', 'other'); #=========== You shouldn't have to change anything below this line ===== # Priority values @::legal_priority = ('P1','P2','P3','P4','P5'); # Severity values @::legal_severity = ('blocker', 'critical', 'major', 'normal', 'minor', 'trivial', 'enhancement'); @::legal_bug_status = ('UNCONFIRMED', 'NEW', 'ASSIGNED', 'REOPENED', 'RESOLVED', 'VERIFIED', 'CLOSED'); @::legal_resolution = ('', 'FIXED', 'INVALID', 'WONTFIX', 'LATER', 'REMIND', 'DUPLICATE', 'WORKSFORME'); @::legal_resolution_no_dup = ('', 'FIXED', 'INVALID', 'WONTFIX', 'LATER', 'REMIND', 'WORKSFORME'); $::anyvotesallowed = '0'; @::legal_target_milestone = (); @::legal_keywords = (); @::log_columns = ('assigned_to', 'bug_file_loc', 'bug_severity', 'bug_status', 'component', 'everconfirmed', 'groupset', 'keywords', 'op_sys', 'priority', 'product', 'qa_contact', 'rep_platform', 'reporter', 'resolution', 'short_desc', 'status_whiteboard', 'target_milestone', 'version', 'votes'); 1;
versioncache is an automatically generated file. If you edit it, it'll get overwritten within an hour, or the next time someone queries the database, whichever happens later, since it regenerates itself after that time period. If you want to change the format of the file, the code that generates it (which I believe is in either CGI.pl or globals.pl, I forget which) would need to be changed to create the new format. Keep in mind that it's not meant to be intuitive, since it's automatically generated and only meant to be machine readable. The information that's in it is all stored in more intuitive formats in other places.
Summary: versioncache configuration file → versioncache configuration file
No reply from efm-mozillabugzilla@tummy.com, I'll close this RESOLVED INVALID in a month if no more replies are received.
Marking INVALID.
Status: NEW → RESOLVED
Closed: 24 years ago
OS: Linux → All
Hardware: PC → All
Resolution: --- → INVALID
v. invalid
Status: RESOLVED → VERIFIED
moving to Bugzilla product reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
Assignee: tara → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.