-
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
Add churn option (--ignore_files) #170
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ def name | |
end | ||
|
||
def default_run_options | ||
{ :start_date => %q("1 year ago"), :minimum_churn_count => 10} | ||
{ :start_date => %q("1 year ago"), :minimum_churn_count => 10, :ignore_files => "" } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see comments in churn generator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @such, looks like this causes spec failure at https://github.com/metricfu/metric_fu/blob/master/spec/metric_fu/configuration_spec.rb#L163 Mind updating the spec to reflect the additional option? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually I think we might want to close this pull request. I started working on #167 and it should be ready soon enough. What do you think ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, sure, that would be great! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @such Please feel free to open a work-in-progress (wip) if you'd like some discussion before you're done, or write your thoughts on the google group. The two major issues, off the top of my head
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It might also be a good time to start a 'shared spec' so as not to duplicate tests. (and yes, I know that this is four, not two :) |
||
end | ||
|
||
def has_graph? | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're up for it, this looks like a great opportunity to begin work on #167 which is basically to not require code changes for most of a metric's run options, but just to enable passing them through.
For example
would map to the command-line argument
If you chose to do this, please create the options hash with the Map gem, instead of a the hash primitive. (It's included in metric_fu via churn)