-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data timestamp should be down to the second #96
Comments
Hi @chendrix That's a good point. I'd like to discuss what the actual change should be and how you think it should behave. The On a first pass level, we'd need to change all the places (which is unfortunately more than one) where yaml files are read in or written to read and write The next questions are
|
I actually did just a quick smoke test by renaming the files in my _data directory to also have HMS, and reran metric_fu so it would regenerate graphs. It all worked fine, except each data-point in the graph was labeled only by its Month/Day. All the information was there, the x-axis scaling was just wonky :)
|
Sounds good, then. If you want to make a PR, I think this is what should be in it.
Also, if you could add your ci config to the docs or wiki that would be awesome! |
Yeah - my pull request at #94 is with an eye toward some of this - ultimately what I'm wanting is to generate metric_fu output on a per commit basis and then graph that over time. Using the formatter/output approach there, it is trivial to generate a metric_fu data file with whatever filename scheme you want. |
In terms of uniquely identifying code, it may be worth looking at some dead code I removed awhile ago: |
Overcommit has some interesting pre-commit hooks that run rubocop, among things, over the diff |
This is actually something I want for 5.0
|
As it stands, there's only a single .yml file per day to represent the latest data. However, when running metrics on a continuous integration tool per commit, you need to track metrics per commit.
https://github.com/metricfu/metric_fu/blob/master/lib/metric_fu/run.rb#L37
The text was updated successfully, but these errors were encountered: