Fix file+noindex URI usage on Windows#10728
Conversation
8cacda3 to
fe6eed7
Compare
fe6eed7 to
0b33fff
Compare
0b33fff to
5558a47
Compare
|
Notice this was broken on Windows #10095 (comment), see how the paths in the output do not have a |
5558a47 to
82788ec
Compare
82788ec to
37ab8b4
Compare
ulysses4ever
left a comment
There was a problem hiding this comment.
Thanks! I wonder if we can pull in some of Andrea’s PRs after this fix…
37ab8b4 to
7349d88
Compare
390ce77 to
85d3807
Compare
a03d515 to
19c9a86
Compare
I'd suggest not to inline it. I'd definitely prefer reading unrelated code that calls a function like that rather than seeing the list comprehension. |
|
This pull request has been removed from the queue for the following reason: Pull request #10728 has been dequeued. Branch protection setting 'linear history' conflicts with Mergify configuration. Branch protection setting 'linear history' works only if You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. If you want to requeue this pull request, you need to post a comment with the text: |
|
@hasufell pointed out that NT namespace doesn't work as I said in my comment above. My goal here is to provide some "standard" way of declaring filepaths for a
The NT mention above was just an experiment I tried to run, motivated by what I saw in the GHC User Guide, but it seems it was a misuse on my side from what Julian points out. To be clear, I don't want to use the NT namespace in particular. I just want to use the simplest option available, which seems to be |
|
@mergify refresh |
✅ Pull request refreshed |
|
This pull request has been removed from the queue for the following reason: Pull request #10728 has been dequeued. The pull request rule doesn't match anymore. The following conditions don't match anymore:
You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. If you want to requeue this pull request, you need to post a comment with the text: |
|
@Mergifyio requeue |
☑️ This pull request is already queued |
|
|
|
@mergify backport 3.14 |
✅ Backports have been createdDetails
|
Backport #10728: Fix file+noindex URI usage on Windows
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.