Renaming Things

Max Kanat-Alexander mkanat at bugzilla.org
Mon Jun 9 09:38:43 UTC 2008


On Mon, 09 Jun 2008 10:14:05 +0100 Gervase Markham <gerv at mozilla.org>
wrote:
> So do we write "best effort" code, or do we say that because we can't
> do a complete job, then users have to do all the updates themselves?

	I think as long as we centralize it in a subroutine somewhere,
it's fine to do best-effort code. Most people won't be using the
Boolean Charts, so fixing their queries is fine. We can print warnings
when renaming things that Boolean Charts won't be fixed.

> What are the chances of us messing things up? If we avoid touching
> boolean charts, can we write regexps to get 100% accuracy for the
> rest?

	I think we can do it 100% accurately, yeah, since the
characters we're matching against ("&" and "=") would have to be
escaped if they were values instead of parameters. We'd be matching
against:

	&field_name=(value)(&|$)

	-Max



More information about the developers mailing list