We need a new data source for ReleaseFilepath - SLOC (source lines of code). This means we need to actually collect new data and add it to run:slurp. Here's what needs to be done:
Write a bash script for lib/scripts that calls cloc on the current directory to count the lines of code. Output that to a CSV file
Clone the Chromium git repository using this command: git clone https://chromium.googlesource.com/chromium/src.git ~/chromium/src
Run the bash script on the root of the chromium git tree to get the SLOC into a CSV file - let me know and I'll run it and put it in the production data. You'll need to check out the git repository to Chromium 11, which is git revision c1bf8951e07a42ecc493ed2e4481211dabbc5f61
Write a new loader that will update ReleaseFilepath after it's been loaded and optimized.
Chop down the SLOC so it just includes the test data for release filepath
Get some sample SLOC data for dev and commit that.
Write a verify that it got loaded into ReleaseFilepath okay.
We need a new data source for
ReleaseFilepath
- SLOC (source lines of code). This means we need to actually collect new data and add it torun:slurp
. Here's what needs to be done:lib/scripts
that callscloc
on the current directory to count the lines of code. Output that to a CSV filegit clone https://chromium.googlesource.com/chromium/src.git ~/chromium/src
c1bf8951e07a42ecc493ed2e4481211dabbc5f61
ReleaseFilepath
after it's been loaded and optimized.ReleaseFilepath
okay.