Skip to content

nukulb/pullrequest-spy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pullrequest-spy

Simply goes through the pull request to validate what is needed to close this pull request

##To Build Make sure you have node installed ./configure

##To Run ./bin/start

##To add a condition

  1. Add your condition file under lib/conditions/.js
  2. Expose an evaluate method on the condition
  3. Add the repo and condition information to the lib/repo.js

##Current supported conditions

  1. Memory test required
  2. Check to see if the CI build is failing - hudson CI /api/json (This covers lint and testing)
  3. Check if the branch is running behind the base branch
  4. Check to see if the Pull request has not been updated in 3 days.
  5. Check to see if there is no comment saying "r+" or "code complete"
  6. Existence of issue# ##Next conditions on the list
  7. Test if the files are being changed by another open pull request.
  8. Check if at least one test file has changed
  9. Check to see if the extension folder has been modified - does it need tests
  10. Check to see that files begin with the correct license headers
  11. pull request sentiment
  12. Add another library - check if OSS has been udpated

##Upcoming features

  1. Automatically put the comment into the pull request
  2. Pass in arguments from the configuration file
  3. Suggested reviewers - based on person with max commits on file or history of the file

About

Simply goes through the pull request to validate what is needed to close this pull request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published