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

clarify unstable/closed PR warning message #2129

Merged

Conversation

migueldiascosta
Copy link
Member

No description provided.

@@ -382,7 +382,8 @@ def fetch_easyconfigs_from_pr(pr, path=None, github_user=None):

if not(pr_data['merged']):
if not stable or closed:
print "\n*** WARNING: Using easyconfigs from unstable/closed PR #%s ***\n" % pr
state_msg = "unstable (failed tests or merge conflict)" if not stable else "closed (but not merged)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think pending tests also result in 'unstable' state?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, right (that was the original scenario...)

can we distinguish between pending and failed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, we may be able to, but the GitHub API documentation isn't very clear on that...

@boegel boegel added this to the 3.2.0 milestone Feb 23, 2017
@boegel
Copy link
Member

boegel commented Feb 23, 2017

lgtm

@boegel boegel merged commit 6c425d0 into easybuilders:develop Feb 23, 2017
@boegel boegel modified the milestones: 3.1.1, 3.2.0 Feb 28, 2017
@migueldiascosta migueldiascosta deleted the clarify_unstable_closed_pr_warning branch March 2, 2017 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants