Skip to content

Handle transient dependencies better in pack command - #649

Merged
forki merged 2 commits into
fsprojects:masterfrom
mavnn:master
Feb 24, 2015
Merged

Handle transient dependencies better in pack command#649
forki merged 2 commits into
fsprojects:masterfrom
mavnn:master

Conversation

@mavnn

@mavnn mavnn commented Feb 24, 2015

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/Paket.Core/PackageMetaData.fs Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

typo?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes :)

@forki

forki commented Feb 24, 2015

Copy link
Copy Markdown
Member

which case are we fixing here?

@mavnn

mavnn commented Feb 24, 2015

Copy link
Copy Markdown
Contributor Author

This fixes a "not found" exception when a package listed in paket.references for a project is not listed in the paket.dependencies file.

It came up for me in a solution where one project relied on package A, which depends on package B - and another project relied directly on package B. Package B was removed from paket.dependencies by simplify and 💥

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

do we need to go via NormalizedPackageName or did we get both sides in correct casing?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah... honestly not sure? I suppose we'd have to normalize both sides at that point; I'd take your advice as to whether it's needed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I will check

forki added a commit that referenced this pull request Feb 24, 2015
Handle transient dependencies better in pack command
@forki
forki merged commit 016da70 into fsprojects:master Feb 24, 2015
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