Skip to content
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

code analysis #22

Closed
jantman opened this issue Aug 23, 2015 · 6 comments · Fixed by #27
Closed

code analysis #22

jantman opened this issue Aug 23, 2015 · 6 comments · Fixed by #27
Milestone

Comments

@jantman
Copy link
Owner

jantman commented Aug 23, 2015

Look into running a linter, Code Climate and maybe https://www.pullreview.com/

@jantman jantman added this to the 0.3.0 milestone Aug 23, 2015
@jantman
Copy link
Owner Author

jantman commented Aug 26, 2015

CodeClimate is working: https://codeclimate.com/github/jantman/vagrant-r10k/code
it flagged 3 methods for complexity, and they might be in number of lines, but they're pretty simple in logic.

@jantman
Copy link
Owner Author

jantman commented Aug 26, 2015

CodeClimate should also now be commenting on PRs and opening issues.

@jantman
Copy link
Owner Author

jantman commented Aug 26, 2015

PullReview.com actually found a whole bunch of issues, some of which appear really valid (at least idiomatically/stylisticly, whether or not this project needs them or not). It seems a lot better than codeclimate for this purpose.

See: https://www.pullreview.com/github/jantman/vagrant-r10k/reviews/master

@jantman
Copy link
Owner Author

jantman commented Aug 26, 2015

Still to do:

  1. fix issues found by pullreview.com, or figure out how to ignore them
  2. enable PR commenting - https://www.pullreview.com/settings/repositories/175828/how_to_enable_pullrequest_comment

jantman added a commit that referenced this issue Aug 27, 2015
jantman added a commit that referenced this issue Aug 27, 2015
issue #22 - add pullreview.com yml file
@jantman
Copy link
Owner Author

jantman commented Aug 27, 2015

PR commenting enabled in #25

@jantman
Copy link
Owner Author

jantman commented Aug 28, 2015

Sent email to [email protected] to try and figure out why (even with manual syncing at both the Review and account level) PullReview isn't updating with new commits or working for PRs. The webhook is also listed as getting a HTTP 422.

If I don't get a response in a day or two, I'll split this branch into 2, one for the fixes and one for enabling pullreview.com, and let the latter sit until this is sorted out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant