这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@kalefranz
Copy link
Contributor

@kalefranz kalefranz commented Jun 6, 2018

Per conversation with @mingwandroid, cygpath "$(cygpath -w "$PATH")" is not invariant. See #7316 for additional context. This PR is only a partial fix. A full fix would require substantial hacks and additional logic in conda.sh. It's my opinion at this time that suboptimal decisions made by upstream msys2 have lead to this situation (msys2 should have no /bin--just /usr/bin--and there'd be no bind mount for us to worry about here), and a full solution is ultimately incumbent on upstream.

NOTE: This PR needs to be rebased against master following merge of #7320. The functionality in this PR will most likely be back ported to conda 4.5.x.

The first commit of this PR is 4b9e079. If reviewing, start by looking only at that commit.

@kalefranz kalefranz requested a review from a team as a code owner June 6, 2018 17:19
@mingwandroid
Copy link
Contributor

It's my opinion at this time that suboptimal decisions made by upstream msys2 have lead to this situation (msys2 should have no /bin--just /usr/bin--and there'd be no bind mount for us to worry about here

I know you said your opinion and while I wish we'd made a different choice way back, I do think having bind mounts is a 'user' choice .. here we're just guarding against the ill effects of it WRT conda and our prefixes so us taking extra care is not a case of fixing this 'issue' in the wrong place (just my opinion).

@kalefranz kalefranz force-pushed the msys2-path-conversion branch from c65c086 to 4a5b236 Compare June 15, 2018 20:03
kalefranz added 19 commits June 15, 2018 15:08
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
…ficiency

Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
Signed-off-by: Kale Franz <kfranz@continuum.io>
@kalefranz kalefranz force-pushed the msys2-path-conversion branch from 4a5b236 to 82a515f Compare June 15, 2018 20:09
@kalefranz kalefranz merged commit 082fe8f into conda:master Jun 18, 2018
@kalefranz kalefranz deleted the msys2-path-conversion branch June 18, 2018 19:43
kalefranz added a commit to kalefranz/conda that referenced this pull request Jun 28, 2018
Signed-off-by: Kale Franz <kfranz@continuum.io>
kalefranz added a commit that referenced this pull request Jun 28, 2018
…ersion-4.5.x

backport #7389 msys2 path conversion to 4.5.x
@kalefranz kalefranz added this to the 4.6.0 milestone Jul 6, 2018
@github-actions
Copy link

github-actions bot commented Sep 2, 2021

Hi there, thank you for your contribution to Conda!

This pull request has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue or pull request if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Sep 2, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked [bot] locked due to inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants