Skip to content

Support Target framework in legacy packages.config and other bugs - #14

Merged
pombredanne merged 9 commits into
mainfrom
target-framework
Feb 15, 2023
Merged

pombredanne merged 9 commits into
mainfrom
target-framework

Conversation

@pombredanne

Copy link
Copy Markdown
Member

This PR fixes these bugs:

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* By default we should not includePrerelease and not includeUnlisted
  in the resolution. This should be a command line option in the future.
  (except for metadata where we fetch pre-release if requested)
* Update test expectations
* Also include keywords from tags

Reference: #13
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
* Test for framework compatibility between project and package and
  skip non-compatible packages.
* Correctly extract target framework from legacy project files
* Do not fail on home url when fetching NuGet metadata with empty home
* Format code and reformat code for clarity

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Also rename to LegacyPackagesConfigNoDupeResolver to
PackagesConfigResolver

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne
pombredanne merged commit 5431c75 into main Feb 15, 2023
@pombredanne
pombredanne deleted the target-framework branch February 15, 2023 15:59
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.

1 participant