use SourceLink.Create.CommandLine instead of Embed#14231
use SourceLink.Create.CommandLine instead of Embed#14231jtattermusch merged 1 commit intogrpc:v1.9.xfrom
Conversation
|
Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement. After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.
Regards, |
|
Signed the form. |
|
Why aren't the internal CIs running? I'll try reopening this to see if that helps. |
|
@ctaggart the CI only runs automatically if you're a member of grpc org (we can't just run external code without first taking a look). |
|
I'm not sure if source linking is better for us
I initially added source embedding, because with sourcelink one needs to be sure to make the git line ending setting right (CF LF vs LF), otherwise the checksum of the source files might not match with git and they would be broken. |
|
@jtattermusch Line endings are not an issue anymore. You don't need to change anything. |
|
@ctaggart, ok, thanks for the update, that's good news. I still need to do some manual testing that the newly created package works well when debugging in Visual Studio. |
|
I think some end users, Microsoft, and NuGet.org would prefer the smaller size. Another advantages is traceability to the source code repository. It would be nice to be consistent with what everyone else is doing including protocolbuffers/protobuf#4179. |
|
Sounds fair, thanks for the explanation. I'll do the manual testing and once that's done I'll approve. |
|
They look good. The error about |
|
I've tested the packages manually and I was able to step into the code (after VS requested permission to download the sources from github) - so everything seems to work fine. v1.9.0 was released yesterday, so we didn't make it in time, so the change will be in v1.9.1 later and will be upmerged to upstream/master. Thanks for the contribution! A question: |
You should use source linking instead of embedding the source files. This saves 275 KB for the nupkg. It goes from 12317 KB to 12042 KB.