Skip to content

don't remove nodes that correspond to packed projects from nuspecs - #3983

Merged
forki merged 4 commits into
fsprojects:masterfrom
baronfel:fix-project-refs
Jun 13, 2021
Merged

don't remove nodes that correspond to packed projects from nuspecs#3983
forki merged 4 commits into
fsprojects:masterfrom
baronfel:fix-project-refs

Conversation

@baronfel

@baronfel baronfel commented Feb 8, 2021

Copy link
Copy Markdown
Contributor

While working on fsprojects/FsLexYacc#145 I discovered that paket fix-nuspecs was removing package references from the nuspec that corresponded to project references, but only when those project references correspond to a packagereference that paket is tracking.

This happens for fslex because it has a project ref on the fslexyacc.runtime project to run the generated lexers and parsers it contains, but it also needs to generate those parsers using the fslexyacc meta-package, which includes a transitive reference to fslexyacc.runtime. This transitive is what caused the removals.

I'll add a test to this as time permits.

@baronfel

baronfel commented Feb 8, 2021

Copy link
Copy Markdown
Contributor Author

The CI issues seem to be because a roslyn feed is missing?

@baronfel

baronfel commented Feb 8, 2021

Copy link
Copy Markdown
Contributor Author

This test works for me when I manually build and do all the orchestration things the FAKE script would do, since there's a dependency problem there with the roslyn bits it seems.

@baronfel
baronfel marked this pull request as ready for review June 9, 2021 15:29
@baronfel
baronfel force-pushed the fix-project-refs branch from b98e4ae to a0656c3 Compare June 9, 2021 15:30
@baronfel

baronfel commented Jun 9, 2021

Copy link
Copy Markdown
Contributor Author

I believe that the single test failure here is unrelated to my change, as it's checking for Microsoft.CSharp on the v3 endpoint, which I didn't change at all here. Any thoughts on the implementation?

@forki

forki commented Jun 13, 2021

Copy link
Copy Markdown
Member

thanks

@forki
forki merged commit 6bcf635 into fsprojects:master Jun 13, 2021
@baronfel
baronfel deleted the fix-project-refs branch June 13, 2021 18:23
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