andymeneely / chromium-history

Scripts and data related Chromium's history
11 stars 4 forks source link

Write a loader for our Git log file #25

Closed andymeneely closed 10 years ago

andymeneely commented 11 years ago

The loader should minimally pick up the following attributes from chromium-gitlog.txt: For Commit Model:

For CommitFiles Model:

Don't bother with the churn data - we'll use our own scripts to collect churn if we need it (but we may not even need it)

This also means creating two models: Commit and CommitFiles.

Also: take ~5 commits from the chromium-gitlog.txt on our data repo and commit it to this repo as our test data under test/data/

andymeneely commented 11 years ago

Use the new Loader conventions, as seen here:

https://github.com/andymeneely/chromium-history/blob/1dd65f2cef51efc38faa066404a7027bd6c1d042/lib/chromium_history/loaders/code_review_loader.rb

Create a new GitLoader

andymeneely commented 11 years ago

Check out this commit, which is pretty similar in nature: 1dd65f2cef51efc38faa066404a7027bd6c1d042