Repository navigation
Fix Conditional Group Dependencies not working as expected - #2335
Merged
Merged
Conversation
matthid
force-pushed
the
fix_razorEngine_465
branch
from
May 13, 2017 12:23
3a07af9 to
6613988
Compare
matthid
commented
May 13, 2017
| false | ||
| | _ -> | ||
| dict.Add(packageName,v) | ||
| dict.Add(packageName,(v,hasCondition)) |
Member
Author
There was a problem hiding this comment.
here are the relevant changes...
matthid
commented
May 13, 2017
| | true,(v',hasCondition') -> | ||
| if v' = v then | ||
| traceWarnfn "Package %O is referenced through multiple groups in %s (inspect lockfile for details). To resolve this warning use a single group for this project to get a unified dependency resolution or use conditions on the groups if you know what you are doing." packageName project.FileName | ||
| false |
Member
Author
There was a problem hiding this comment.
We can argue about this warning, but I think it's the correct thing to do...
Member
Author
Member
Author
There was a problem hiding this comment.
Member
Author
|
Apparently we broke the CI with 5e9c716 (because the error message was changed only in the code, not in the test). Maybe we should have a similar test running on travis as well? |
matthid
commented
May 14, 2017
| | DependenciesFile _ -> | ||
| loop tl (errorReport.AppendLinef " - Dependencies file requested package %O: %s%s" req.Name vr pr) | ||
| | Package (parentName,version,_) -> | ||
| loop tl (errorReport.AppendLinef " - %O %O requested package %O: %s%s" parentName version req.Name vr pr) |
Member
Author
There was a problem hiding this comment.
req here is a bug, right?
Member
|
Probably
Am 14.05.2017 11:09 vorm. schrieb "Matthias Dittrich" <
[email protected]>:
… ***@***.**** commented on this pull request.
------------------------------
In src/Paket.Core/Dependencies/PackageResolver.fs
<#2335 (comment)>:
> let rec loop conflicts (errorReport:StringBuilder) =
match conflicts with
| [] -> errorReport
- | hd::tl ->
- let vr = formatVR hd.VersionRequirement
- let pr = formatPR hasPrereleases hd.VersionRequirement
-
- match hd.Parent with
- | DependenciesFile _ ->
- loop tl (errorReport.AppendLinef " - Dependencies file requested package %O: %s%s" req.Name vr pr)
- | Package (parentName,version,_) ->
- loop tl (errorReport.AppendLinef " - %O %O requested package %O: %s%s" parentName version req.Name vr pr)
req here is a bug, right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2335 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNPmnOj-jteqUgiM7Zou1pAbIgO9vks5r5sSsgaJpZM4NaDhP>
.
|
Member
Author
|
AppVeyor seems kind of slow today, but I don't think the timeouts are related to the changes in this PR... |
Member
Author
|
Or we introduced some change which makes everything slower recently ... |
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.
Antaris/RazorEngine#465