[Phpmyadmin-devel] adding linecounts cache to .gitignore

I created a script to calculate the line counts of the javascript files and output them in an array in a php file. I use this php file in my calculations to calculate the line number where an exception occurs. I call this script in the release script so that it would be included in every release. My question is should I add the output php file to the gitignore or no. I am thinking that I should since it is generated but I am not sure if that is the correct way to go -- Mohamed Ashraf

2013/7/29 Mohamed Ashraf <mohamed.ashraf.213@gmail.com>:
I created a script to calculate the line counts of the javascript files and output them in an array in a php file. I use this php file in my calculations to calculate the line number where an exception occurs. I call this script in the release script so that it would be included in every release. My question is should I add the output php file to the gitignore or no. I am thinking that I should since it is generated but I am not sure if that is the correct way to go
As it is a generated file, I don't see the need to track it in git. If a developer needs it, it can be generated with the script you supply. BTW : Make sure that the generated file complies with the guidelines for a new file : http://wiki.phpmyadmin.net/pma/File_template
-- Mohamed Ashraf
------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
-- Kind regards, Dieter Adriaenssens
participants (2)
-
Dieter Adriaenssens
-
Mohamed Ashraf