I just fixed a teeny tiny bug in my relicensing script.
While recursing, it was checking directories against the excluded list by doing an endsWith(). However, one of the directories to be excluded was "ef" (Electrical Fire), an obsolete piece of debugging code, and it turns out that this was matching all directories ending in "ef" - like, for example "pref".
This small fix has revealed 3500 more files to be relicensed that heretofore I had not suspected the existence of.
Today's lesson then, children, is: Don't trust new tools absolutely. Run cheap cross-checks.
[Update 5.47pm]: OK, so the fix had a bug. The actual number of files is 91, not 3500. Second lesson for today: don't be too eager to write blog posts explaining your own foolishness, lest you demonstrate it to the world in unintended ways...
Posted by gerv at December 30, 2005 5:13 PMhttp://lxr.mozilla.org/mozilla/source/ef/README.html does not sound like this is debugging code... http://www.mozilla.org/projects/ef/ even less so.
Posted by: christian biesinger at December 30, 2005 9:35 PMOops, indeed. I was confusing it with Electric Fence.
Posted by: Gerv at December 30, 2005 10:43 PMJust out of curiosity, how much more needs to be done before the relicensing is completely done?
Posted by: James Napolitano at January 1, 2006 8:12 PMJames: Not very much; but after four years, I've grown wary of giving dates :-) It'll be done when it's done; but the Foundation does see it as a priority, and the time I'm spending on it reflects that.
Posted by: Gerv at January 1, 2006 10:53 PM