Skip to content
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

Fixes lock file restrictions parsing #1144

Merged
merged 1 commit into from
Oct 17, 2015

Conversation

mrinaldi
Copy link
Contributor

This PR fixes the parsing of restrictions of transitive dependencies in lock file.

Using the paket.dependencies below

source https://nuget.org/api/v2

nuget Microsoft.Owin.Host.SystemWeb ~> 2.1

It generates a different paket.lock when I run paket install twice.
The same happens if I run a paket update followed by a paket install.

let optionsString =
if parts.Length < 2 then "" else
if parts.[1] <> "" && parts.[1].Contains(":") |> not then
("framework: " + parts.[1]) // TODO: This is for backwards-compat and should be removed later
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be removed by now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. Please remove the comment. I guess we better keep it forever

@mrinaldi mrinaldi force-pushed the parse_lockfile_restrictions branch from 49f9296 to a2977e1 Compare October 16, 2015 18:10
@forki forki merged commit a2977e1 into fsprojects:master Oct 17, 2015
@mrinaldi mrinaldi deleted the parse_lockfile_restrictions branch October 18, 2015 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants