Hi
Dne Tue, 17 Sep 2013 23:30:50 +0200 Mohamed Ashraf mohamed.ashraf.213@gmail.com napsal(a):
I use a line counts file to allow for some line number translation for submission of bug reports and the script that generates this file is run from the release scripts. If however a developer uses a git revision instead of a release, this file will not have been created. another situation is that the developer generates the file but does changes to the js files which renders the file obsolete.
I can detect the obsolescence of the file by checking of modification dates however what do I do if the file does not exist or is obsolete. should I disable error reporting entirely or just display a warning? keeping in mind that a problem with line number translation may result in inaccuracies of grouping similar reports together on the error report server.
Isn't there option to calculate needed information on the fly when it's not available? I guess it would mean slowdown, but I think that's acceptable for such use.