Repository navigation
Lock down public surface - #950
Merged
Merged
Conversation
Member
Member
eerhardt
approved these changes
Mar 8, 2017
eerhardt
left a comment
Member
There was a problem hiding this comment.
Thanks for doing this! This has been annoying for quite a while.
ramarag
self-requested a review
March 8, 2017 22:43
ramarag
approved these changes
Mar 8, 2017
Contributor
Author
Member
agreed! |
eerhardt
approved these changes
Mar 8, 2017
Contributor
Author
333fred
reviewed
Mar 9, 2017
| <!-- Non-shipping binaries are simply signed with the Roslyn internal key. --> | ||
| <Otherwise> | ||
| <PropertyGroup> | ||
| <!-- Public sign on non-Windows as full signing isn't currently supported (https://github.com/dotnet/roslyn/issues/8210) --> |
Member
There was a problem hiding this comment.
I don't think this is necessary; this should already be true on non-Windows.
Member
There was a problem hiding this comment.
Since the <SignAssembly Condition="'$(OS)'=='Windows_NT'">true</SignAssembly> conditional set was removed.
Contributor
Author
There was a problem hiding this comment.
We only set public-sign/delay-sign for non-shipping != true. Here we assume since we're using the internal key we can just full sign, but we can't.
livarcocc
approved these changes
Mar 9, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #55 - We now public-sign on non-Windows builds instead of leaving assemblies unsigned there
Fix #656 - Limit public surface to Tasks and use InternalsVisibleTo(tests) for other things that were public only for test purposes and being blocked by #55
Also, get rid of the #if PRODUCT and special handling of CacheArtifactParser.cs. I had intended to make this go through IVTA too, but then found that this level of tests do not reference the build tasks, but merely execute them via msbuild, and I didn't want to break that layering. I just wrote the trivial parsing from scratch in to the test using an XLinq query. This is intentionally different from the product code. If the format changes, the tests will break, but I consider that a feature.
@eerhardt @ramarag @333fred @dsplaisted