Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Deploy only compressed metadata for dotnet sdk implementation#15230

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
KevinRansom merged 9 commits intodotnet:mainfromKevinRansom:nosigoptdata
May 24, 2023

Conversation

KevinRansom
Copy link
Contributor

When we deploy fsharp.core and fsharp.compiler.service to nuget we deploy uncompressed metadata because we need the LTS dotnet sdk to be usable in building apps consuming them. The current LTS does not understand compressed F# metadata.

However, the implementation F# compiler in the latest dotnet SDK understands compressed F# metadata so we don't need to waste those compressable bytes.

With this PR ... the dotnet SDK should be almost 3 MBytes smaller on disk and in VM, which has to be a good thing.

@vzarytovskii
Copy link
Member

What concerns me is that people update fsharp.core quite often without updating sdk, which may result in either cryptic errors or undefined behavior.

@KevinRansom
Copy link
ContributorAuthor

KevinRansom commentedMay 17, 2023
edited
Loading

What concerns me is that people update fsharp.core quite often without updating sdk, which may result in either cryptic errors or undefined behavior.

@vzarytovskii the nuget package that we embed in the sdk FSharp\library-packs folder and ship to nuget still has uncompressed metadata.

This change only impacts the files that form the compiler implementation.

@vzarytovskii
Copy link
Member

What concerns me is that people update fsharp.core quite often without updating sdk, which may result in either cryptic errors or undefined behavior.

@vzarytovskii the nuget package that we embed in the sdk FSharp\library-packs folder and ship to nuget still has uncompressed metadata.

This change only impacts the files that form the compiler implementation.

OH, got it now

Copy link
Member

@T-GroT-Gro left a comment

Choose a reason for hiding this comment

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

Is the new separate Configuration a mechanism of isolation, or does it do anything special?
I can see theCompressAllMetadata=true doing the real work, is ReleaseCompressed there to ensure it has its own dedicated artefacts subfolder?

@KevinRansom
Copy link
ContributorAuthor

Is the new separate Configuration a mechanism of isolation, or does it do anything special? I can see theCompressAllMetadata=true doing the real work, is ReleaseCompressed there to ensure it has its own dedicated artefacts subfolder?
Yes, quite so, it needs it's own folder, with it's separate bits.

@KevinRansom
Copy link
ContributorAuthor

KevinRansom commentedMay 18, 2023
edited
Loading

Although, I should check that the options are the correct ones matching release.

Checked, it builds the bits with the correct switches.

@psfinaki
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@KevinRansomKevinRansom self-assigned thisMay 24, 2023
@KevinRansomKevinRansomenabled auto-merge (squash)May 24, 2023 17:12
@KevinRansomKevinRansom merged commit0d81a05 intodotnet:mainMay 24, 2023
vzarytovskii added a commit that referenced this pull requestMay 31, 2023
* LexFilter: cleanup whitespaces (#15250)* Parser: rewrite tuple expr recovery to allow better items recovery (#15227)* Checker: recover on unknown record fields (#15214)* Make anycpu work correctly on Arm64 (#15234)* Makeanuycpu work correctly on arm64* Update Microsoft.FSharp.Targets* Fix15254 (#15257)* Deploy only compressed metadata for dotnet sdk implementation (#15230)* compress fsharp for sdk* Update FSharp.DependencyManager.Nuget.fsproj* Parser: more binary expressions recovery (#15255)* Use background CancellableTask in VS instead of async & asyncMaybe (#15187)* wip* iteration* iteration: quickinfo, help context* fantomas* todo* moved tasks to editor project, fixed comment colouring bug* fantomas* Fantomas + PR feedback* Update vsintegration/src/FSharp.Editor/Hints/HintService.fsCo-authored-by: Andrii Chebukin <xperiandri@live.ru>* Revert "Update vsintegration/src/FSharp.Editor/Hints/HintService.fs"This reverts commitbf51b31.---------Co-authored-by: Andrii Chebukin <xperiandri@live.ru>* Name resolution: actually add reported item when trying to replace (#14772)Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>* Move flatErrors tests from fsharpqa (#15251)* temp* tests* flaterrors* update tests* preserve ranges in result of UnsolvedTyparsOfModuleDef to help with warnings (#15243)* preserve ranges in result of UnsolvedTyparsOfModuleDef to help with warnings* use fallback range only for range0* pattern match instead of Option.isSome* Add test* Revert "Add test"This reverts commite05e808.* Make `FSharpReferencedProject` representation public (#15266)* Make FSharpReferencedProject representation public* Update surface area* Fantomas* Fantomas---------Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>* Fix navigation for external enums, DUs and name resultion for members (#15270)* Update FSharp.Compiler.Service.SurfaceArea.netstandard20.debug.bsl* Add warning when compiler selects among multiple record type candidates, fslang-suggestion 1091 (#15256)* Protect assembly exploration for C# extension members (#15271)* Compute ValInline.Never for externs (#15274)* Compute ValInline.Never for externs---------Co-authored-by: Eugene Auduchinok <eugene.auduchinok@jetbrains.com>Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>Co-authored-by: Andrii Chebukin <xperiandri@live.ru>Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>Co-authored-by: dawe <dawedawe@posteo.de>
@KevinRansomKevinRansom deleted the nosigoptdata branchMarch 21, 2024 22:26
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@abonieabonieabonie approved these changes

@T-GroT-GroT-Gro approved these changes

Assignees

@KevinRansomKevinRansom

Projects
Archived in project
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@KevinRansom@vzarytovskii@psfinaki@abonie@T-Gro

[8]ページ先頭

©2009-2025 Movatter.jp