Skip to content

Remove dnxcore50 moniker from lock file - #2813

Merged
forki merged 2 commits into
masterfrom
i2810
Oct 2, 2017
Merged

Remove dnxcore50 moniker from lock file#2813
forki merged 2 commits into
masterfrom
i2810

Conversation

@forki

@forki forki commented Oct 2, 2017

Copy link
Copy Markdown
Member

fixes #2810

@matthid matthid left a comment

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.

Schaut gut aus. ich frage mich ob man den Filter auch in extractPlatforms reinziehen kann. Aber vermutlich eher nicht weil sonst Gruppen als Fallback Gruppen erkannt werden

(cachedObject.Version <> version.Normalize())
then
traceVerbose (sprintf "Invalidating Cache '%s:%s' <> '%s:%s'" cachedObject.PackageName cachedObject.Version packageName.Name (version.Normalize()))
if verbose then

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.

macht den check nicht auch traceVerbose schon?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yes, but the right side (sprintf ...) would be evaluated even if verbose is false.
This was serious perf problem in the past

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.

Should we remove traceVerbose in that case ?

@forki

forki commented Oct 2, 2017

Copy link
Copy Markdown
Member Author

if we move it into extractPlatforms then we get the annoying warnings that dnxcore is not real moniker

@forki

forki commented Oct 2, 2017 via email

Copy link
Copy Markdown
Member Author

@matthid

matthid commented Oct 2, 2017

Copy link
Copy Markdown
Member

Tests need to be adapted. The current failure looks a bit suspicious, but it might be that the error message is just incomplete and everything is fine.

@forki

forki commented Oct 2, 2017 via email

Copy link
Copy Markdown
Member Author

@forki
forki merged commit 7e4acae into master Oct 2, 2017
@forki
forki deleted the i2810 branch October 2, 2017 12:30
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.

Remove dnxcore50 moniker from lock file

2 participants