ensure --review-pr can find dependencies included in PR#3979
Merged
boegel merged 5 commits intoeasybuilders:developfrom Mar 29, 2022
Merged
ensure --review-pr can find dependencies included in PR#3979boegel merged 5 commits intoeasybuilders:developfrom
boegel merged 5 commits intoeasybuilders:developfrom
Conversation
Contributor
|
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
requested changes
Mar 29, 2022
| # 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 |
Member
There was a problem hiding this comment.
@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
requested changes
Mar 29, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(created using
eb --new-pr)