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

Add CLI option to analyse *open* PR statuses #9

Open
jayvdb opened this issue Oct 29, 2018 · 1 comment
Open

Add CLI option to analyse *open* PR statuses #9

jayvdb opened this issue Oct 29, 2018 · 1 comment

Comments

@jayvdb
Copy link
Collaborator

jayvdb commented Oct 29, 2018

For each repository, check the status of open PRs.

To make this useful, the date of the last master green build is needed. And if the latest master build is red, analysis of PR status can be omitted unless given a second CLI argument to --force the check.

It is not especially interesting to know that a recent PR is red, if there was a newer PR which is green. It means the red PR is buggy.

It is also not especially interesting to know that the most recent PR is red, if there was a green PR recently. It means that the green PR possibly needs to be merged to fix master, and then all red PRs need to be rebased.

Some suggested analysis

  • How many PRs are open
  • Date of most recently created PR which is green
  • Date of most recently created PR which is red, if more recent that all green PRs, and the build was greater than a certain number of days
  • How many PRs are green CI? (maybe list the most recent few by PR number only)
@jayvdb
Copy link
Collaborator Author

jayvdb commented Nov 11, 2018

This issue reserved for Google Code-in task 6539192793300992.

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

No branches or pull requests

1 participant