Configurable Access On Value Transitions?

Joel Peshkin bugreport at peshkin.net
Fri Sep 13 17:56:56 UTC 2002


Gervase Markham wrote:

>
> - Which Bugzilla installations want this feature?
> - If there is demand, do they want a variety of things or the same 
> sort of thing?
> - would a simple system suffice?
>
> For example, if we rearranged CheckCanChangeField() a bit, and 
> commented it better, many sites' needs could be accommodated by a 
> little bit of local Perl hacking in there.
>

Rather than inventing a new language Perl may be a very good language in 
which to capture site-specific rules.
If we can ensure that CheckCanChangeField has easy access to sufficient 
information and is structured in a manner that causes site-changes not 
to generally conflict with BZ update, this is a perfectly good way to go.

If CheckCanChangeField has the old and desired new field values 
available to it according to a very standard naming convention, and has 
a point in the code resembling.....

#
#
#
# insert site-specific rules CheckCanChangeField here
#
#
#
#

Then it would be very rare that such rules would cause merge conflicts.

-Joel





More information about the developers mailing list