From 5ac3c944912d06910b0273dc801b04b981245ba3 Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" <> Date: Wed, 3 Feb 1999 10:46:50 +0000 Subject: Added support for URLs that describe the milestones for various projects. --- CHANGES | 8 ++++++++ bug_form.pl | 9 ++++++++- globals.pl | 13 ++++++++++--- makeproducttable.sh | 5 +++-- notargetmilestone.html | 10 ++++++++++ 5 files changed, 39 insertions(+), 6 deletions(-) create mode 100644 notargetmilestone.html diff --git a/CHANGES b/CHANGES index b59b1d460..8cd49cc71 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,14 @@ query the CVS tree. For example, will tell you what has been changed in the last week. +2/2/99 Added a new column "milestoneurl" to the products table that gives a URL +which is to describe the currently defined milestones for a product. If you +don't use target milestone, you might be able to get away without adding this +column, but you might as well be safe and add it anyway: + + alter table products add column milestoneurl tinytext not null; + + 1/29/99 Whoops; had a mispelled op_sys. It was "Mac System 7.1.6"; it should be "Mac System 7.6.1". It turns out I had no bugs with this value set, so I could just do the below simple command. If you have bugs with this value, you diff --git a/bug_form.pl b/bug_form.pl index 595d5808e..8876f8827 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -146,11 +146,18 @@ print " $bug{'assigned_to'}"; if (Param("usetargetmilestone")) { + my $url = ""; + if (defined $::milestoneurl{$bug{'product'}}) { + $url = $::milestoneurl{$bug{'product'}}; + } + if ($url eq "") { + $url = "notargetmilestone.html"; + } if ($bug{'target_milestone'} eq "") { $bug{'target_milestone'} = " "; } print " -Target Milestone: +Target Milestone: