Backport #10728: Fix file+noindex URI usage on Windows#10871
Merged
mergify[bot] merged 1 commit into3.14from Mar 28, 2025
Merged
Backport #10728: Fix file+noindex URI usage on Windows#10871mergify[bot] merged 1 commit into3.14from
mergify[bot] merged 1 commit into3.14from
Conversation
Contributor
Author
|
Cherry-pick of e10db19 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
6 tasks
f1b213c to
1a4b028
Compare
2461a58 to
7963542
Compare
jasagredo
approved these changes
Mar 28, 2025
(cherry picked from commit e10db19)
7963542 to
bbbec9b
Compare
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.
This PR fixes the parsing of URIs for file+noindex repositories when using Windows paths. As suggested by @phadej in #10703 we now use (and specify in the docs)
//./C:/...paths on Windows.QA
In Windows, one can now specify
//./paths in file+noindex repositories. To check, create a simple package, thencabal sdist, move the tar.gz to some directory and in a different project declare the following stanza:It might still fail because of #9891
Template Α: This PR modifies behaviour or interface
Include the following checklist in your PR:
significance: significantin the changelog file.This is an automatic backport of pull request Fix file+noindex URI usage on Windows #10728 done by Mergify.