-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
629366b
to
e10db19
Compare
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 |
|
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: significant
in the changelog file.