-
Notifications
You must be signed in to change notification settings - Fork 525
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
Second pass on fixing 2883 #3838
Conversation
Could you please check the tests? Thx |
Oh absolutely I intend to check up the tests, I just pushed this as a draft to:
|
Alright, now I've added integration tests for the fix-nuspecs changes. When we encounter packages that are referenced in paket.references but not declared in paket.dependencies, we don't crash anymore (this was the reason for the revert), instead we issue a warning on the trace mechanism to the user. How do you feel about the changes I made to the group manipulations in fix-packages? And do you have any things you'd like to see changed in the messages themselves? Did I use the correct mechanism for messaging? |
Appveyor test failures seem be some kind of permissions error on the new directories for the tests I made? |
Hi! Sorry, if I look demanding or pushy. But I'm really interested in this feature, so I wanted to ask what has to be done here to finish it? It sounds like the feature was ready, the PR is marked as draft and I guess it is not reviewed. |
I think the last remaining stuff is adding the integration tests I mentioned in the initial comment + get a review. A review would be a lot easier/safer with integration tests IMO :) |
any progress here? We're currently trying to make our projects compile with the standard dotnet toolchain (without fake scripts/etc.) and integration with dotnet would therefore be pretty awesome. I'd be happy to help here. Also (since many F# projects use pretty much the same layout) it would be immensely helpful if paket had an option like |
@baronfel anything I need to do? |
Let me rebase this and see where CI is sitting. It looks ok to me, pending error message approval from you @forki and getting CI green. |
now there are conflicts |
… references files, but not in dependencies files
91c3464
to
42d5a8b
Compare
rebased, thanks! |
Unfortunately there are still couple of compile errors |
The root problem there was being too brittle around the assumption that every reference that was in the references file for a project would be in the dependencies file as a direct dependency. If that didn't hold then we couldn't discover the version requirement for the reference, and we'd crash.
Now we offer a helpful message to the user suggesting that they add the package to their dependencies file for completeness.
In addition group handling has been much improved, so that we can support any package reference a user might reference from non-main groups in their paket.reference files.
The major TODO here is to incorporate the files I've checked in to the repo into a proper integration test, as well as adding a couple more once that initial mechanism is all set up.