-
Notifications
You must be signed in to change notification settings - Fork 217
ensure --review-pr can find dependencies included in PR #3979
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
ensure --review-pr can find dependencies included in PR #3979
Conversation
|
Well, I can confirm that I had a similar issue with For me, it seemed to occur because we use But, running with So, in terms of functionality, I'm happy with this PR. Now only thing todo is make the CI happy too ;-) |
1ebbed1 to
7053916
Compare
boegel
left a comment
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.
| # which are picked up via 'pr_paths' build option in fetch_files_from_pr | ||
| pr_paths = None | ||
| if from_prs and review_pr: | ||
| from_prs.append(review_pr) if review_pr not in from_prs else from_prs |
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.
@jfgrimm Please update to:
if from_prs and review_pr and review_pr not in from_prs:
from_prs = from_prs + [review_pr]Two reasons:
- We shouldn't append to the
from_prslist that is passed toalt_easyconfig_paths, since that's a side effect (that change will stick even outside of the scope of thealt_easyconfig_pathscall); - The
if ... elseconstruct here doesn't make sense, in particular theelse from_prspart doesn't (since we're not assigning the result of that expression)
6ab1ac6 to
fa62968
Compare
boegel
left a comment
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.
lgtm
(created using
eb --new-pr)