Skip to content
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

[DO NOT MERGE] Compare brotli and numerics (backported) and http (not backported) #5410

Closed
wants to merge 1 commit into from

Conversation

carlossanlop
Copy link
Member

@carlossanlop carlossanlop commented Mar 11, 2021

This was the original PR, but it was too large to view the diff.

I created this PR with main as the baseline, and only cherry-picked files from System.IO.Compression and System.Numerics and System.Net.Http.

There are only 2 assemblies that contained intellisense.xml files: Compression.Brotli and Numerics.Vectors.

Everything else from Compression, Numerics, and all of System.Net.Http, was also added to this PR as control, to confirm that the docs remained untouched.

@@ -143,15 +140,7 @@ The return value can be as follows:
<summary>Attempts to decompress data that was compressed with the Brotli algorithm.</summary>
<returns>
<see langword="true" /> on success; <see langword="false" /> otherwise.</returns>
<remarks>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious to see remarks like this: They were fully transformed to xml, but the newlines are probably not going to be respected in the preview. Which means I will have to modify DocsPortingTool so that it wraps every line with <para></para> (if the tool detects at least two paragraphs).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sigh ... This will make our triple slash comments less readable. If that's the only choice we have, then I'll work on fixing the tool to address this.

@gewarren
Copy link
Contributor

Close/reopen for build.

@gewarren gewarren closed this Mar 11, 2021
@gewarren gewarren reopened this Mar 11, 2021
@opbld30
Copy link

opbld30 commented Mar 11, 2021

Docs Build status updates of commit 2b50a59:

✅ Validation status: passed

File Status Preview URL Details
xml/System.IO.Compression/BrotliDecoder.xml ✅Succeeded View
xml/System.IO.Compression/BrotliEncoder.xml ✅Succeeded View
xml/System.IO.Compression/BrotliStream.xml ✅Succeeded View
xml/System.IO.Compression/CompressionLevel.xml ✅Succeeded View
xml/System.IO.Compression/CompressionMode.xml ✅Succeeded View
xml/System.IO.Compression/DeflateStream.xml ✅Succeeded View
xml/System.IO.Compression/GZipStream.xml ✅Succeeded View
xml/System.IO.Compression/ZLibStream.xml ✅Succeeded
xml/System.IO.Compression/ZipArchive.xml ✅Succeeded View
xml/System.IO.Compression/ZipArchiveEntry.xml ✅Succeeded View
xml/System.IO.Compression/ZipArchiveMode.xml ✅Succeeded View
xml/System.IO.Compression/ZipFile.xml ✅Succeeded View
xml/System.IO.Compression/ZipFileExtensions.xml ✅Succeeded View
xml/System.Net.Http/ByteArrayContent.xml ✅Succeeded View
xml/System.Net.Http/CFNetworkHandler.xml ✅Succeeded View
xml/System.Net.Http/ClientCertificateOption.xml ✅Succeeded View
xml/System.Net.Http/CookieUsePolicy.xml ✅Succeeded View
xml/System.Net.Http/DelegatingHandler.xml ✅Succeeded View
xml/System.Net.Http/FormUrlEncodedContent.xml ✅Succeeded View
xml/System.Net.Http/HeaderEncodingSelector`1.xml ✅Succeeded View
xml/System.Net.Http/HttpClient.xml ✅Succeeded View
xml/System.Net.Http/HttpClientFactoryExtensions.xml ✅Succeeded View
xml/System.Net.Http/HttpClientHandler.xml ✅Succeeded View
xml/System.Net.Http/HttpCompletionOption.xml ✅Succeeded View
xml/System.Net.Http/HttpContent.xml ✅Succeeded View
xml/System.Net.Http/HttpKeepAlivePingPolicy.xml ✅Succeeded View
xml/System.Net.Http/HttpMessageHandler.xml ✅Succeeded View
xml/System.Net.Http/HttpMessageHandlerFactoryExtensions.xml ✅Succeeded View
xml/System.Net.Http/HttpMessageInvoker.xml ✅Succeeded View
xml/System.Net.Http/HttpMethod.xml ✅Succeeded View
xml/System.Net.Http/HttpRequestException.xml ✅Succeeded View
xml/System.Net.Http/HttpRequestMessage.xml ✅Succeeded View
xml/System.Net.Http/HttpRequestOptions.xml ✅Succeeded View
xml/System.Net.Http/HttpRequestOptionsKey`1.xml ✅Succeeded View
xml/System.Net.Http/HttpResponseMessage.xml ✅Succeeded View
xml/System.Net.Http/HttpVersionPolicy.xml ✅Succeeded View
xml/System.Net.Http/IHttpClientFactory.xml ✅Succeeded View
xml/System.Net.Http/IHttpMessageHandlerFactory.xml ✅Succeeded View
xml/System.Net.Http/MessageProcessingHandler.xml ✅Succeeded View
xml/System.Net.Http/MultipartContent.xml ✅Succeeded View
xml/System.Net.Http/MultipartFormDataContent.xml ✅Succeeded View
xml/System.Net.Http/NSUrlSessionHandler.xml ✅Succeeded View
xml/System.Net.Http/ReadOnlyMemoryContent.xml ✅Succeeded View
xml/System.Net.Http/RtcRequestFactory.xml ✅Succeeded View
xml/System.Net.Http/SocketsHttpConnectionContext.xml ✅Succeeded View
xml/System.Net.Http/SocketsHttpHandler.xml ✅Succeeded View
xml/System.Net.Http/SocketsHttpPlaintextStreamFilterContext.xml ✅Succeeded View
xml/System.Net.Http/StreamContent.xml ✅Succeeded View
xml/System.Net.Http/StringContent.xml ✅Succeeded View
xml/System.Net.Http/WebRequestHandler.xml ✅Succeeded View

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@gewarren
Copy link
Contributor

Yay, no build warnings!

@gewarren
Copy link
Contributor

@carlossanlop
Copy link
Member Author

Any idea why ZLibStream didn't show up in the preview? https://github.com/carlossanlop/dotnet-api-docs/blob/testxmls/xml/System.IO.Compression/ZLibStream.xml

Two reasons:

  • It's a brand new type, introduced in 6.0.
  • It belongs to the assembly System.IO.Compression. We only included the intellisense.xml file for the System.IO.Compression.Brotli assembly.

@maryamariyan maryamariyan added area-System.IO.Compression area-System.Numerics area-Meta Concerns something that extends across runtime area boundaries, for example, IDisposable. and removed area-System.IO.Compression area-System.Net area-System.Numerics area-Meta Concerns something that extends across runtime area boundaries, for example, IDisposable. labels Mar 12, 2021
@carlossanlop carlossanlop deleted the testxmls branch August 6, 2024 20:32
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.

4 participants