Skip to content

Conversation

@simonbyrne
Copy link
Member

@simonbyrne simonbyrne commented May 11, 2022

On 1.7 and 1.8, if you provide a directory to env_project_file, it will return true even if there is a project file in the directory.

Note that this PR is against the release-1.8 branch: it was fixed on master by #44318, so we could also backport that one.

@simonbyrne simonbyrne requested a review from KristofferC May 11, 2022 21:26
@KristofferC KristofferC changed the base branch from release-1.8 to backports-release-1.8 May 12, 2022 05:53
@KristofferC
Copy link
Member

I changed the branch to be against the backport branch (so it will go through PkgEval) and apparently that messed things up. Perhaps it needs to be rebased... Sorry.

@KristofferC KristofferC force-pushed the sb/env_project_file branch from ca2a94a to 9eef9cc Compare May 12, 2022 13:49
On 1.7 and 1.8, if you provide a directory to `env_project_file`, it will return `true` even if there is a project file in the directory.

Note that this PR is against the release-1.8: it was fixed on master by #44318, so we could also backport that one.
@KristofferC KristofferC force-pushed the sb/env_project_file branch from 9eef9cc to dea3992 Compare May 12, 2022 13:49
Copy link
Member

@KristofferC KristofferC left a comment

Choose a reason for hiding this comment

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

I guess a test would be good if it isn't too much effort.

@KristofferC KristofferC added packages Package management and loading merge me PR is reviewed. Merge when all tests are passing labels May 16, 2022
@KristofferC
Copy link
Member

Seems like testing fails on e.g. tester_win64.

Base automatically changed from backports-release-1.8 to release-1.8 May 26, 2022 17:17
@vtjnash vtjnash removed the merge me PR is reviewed. Merge when all tests are passing label May 27, 2022
@vtjnash vtjnash changed the title env_project_file correctly handle directories [v1.8] env_project_file correctly handle directories May 27, 2022
@vtjnash
Copy link
Member

vtjnash commented May 27, 2022

It fails on all systems. Seems like the test is just written incorrectly?

Co-authored-by: Jameson Nash <[email protected]>
@KristofferC
Copy link
Member

#44318 was backported so this can be closed.

@vtjnash vtjnash deleted the sb/env_project_file branch August 31, 2022 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages Package management and loading

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants