Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Remove System.Buffers package #32096

Merged
merged 3 commits into from
Sep 12, 2018
Merged

Remove System.Buffers package #32096

merged 3 commits into from
Sep 12, 2018

Conversation

safern
Copy link
Member

@safern safern commented Sep 4, 2018

Fixes: https://github.com/dotnet/corefx/issues/31776

Since API is frozen because this package is inbox in both netcoreapp and uap, we no longer need to build this package anymore. If we need to make changes to the package we can do it from the release branches.

cc: @weshaggard @ericstj

@karelz karelz added this to the 3.0 milestone Sep 6, 2018
$(PackageConfigurations);
uap;
netfx;
netstandard;
Copy link
Member

Choose a reason for hiding this comment

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

Should we make this netcoreapp and uap? Once this becomes part of netstandard vnext we will be forced to do that.

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 will try to make this netcoreapp and uap. There was a reference to this ref assembly that was preventing me from doing so, but I will figure it out.

Copy link
Member Author

Choose a reason for hiding this comment

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

The reason why I made this netstandard was because System.IO.Pipelines references System.Buffers and now with this change IO.Pipelines ref is built for netstandard, should we wait until this becomes part of vnext to make this ref netcoreapp and uap? or should we just build Pipelines ref assembly for netcoreapp and uap?

Copy link
Member

Choose a reason for hiding this comment

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

Lets keep it simple for now and stick with netstandard.

<BuildConfigurations>
$(PackageConfigurations);
netstandard;
Copy link
Member

Choose a reason for hiding this comment

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

This now adds the netstandard2.0 configuration to the package which didn't exist before we should decide if we want to do that or not.

Copy link
Member Author

Choose a reason for hiding this comment

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

The src already has a netstandard PackageConfiguration and since the ref was being built for ns1.3 it was alread ns2.0 supported. What configuration should we build it for instead?

Copy link
Member

Choose a reason for hiding this comment

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

I think I'm OK with adding the netstandard2.0 configuration to the package. It is probably better that way anyhow because it helps eliminate some package dependencies.

Copy link
Member

@weshaggard weshaggard left a comment

Choose a reason for hiding this comment

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

Other then my one comment about pipelines package the change looks good.

@safern
Copy link
Member Author

safern commented Sep 12, 2018

@bartonjs I added commit a5c4f14 to harvest S.S.C.Cng ns1.3 and ns1.4 implementation assets.

@weshaggard would you mind taking another look please?

@@ -30,9 +30,6 @@
<ItemGroup Condition="'$(TargetsNETCoreApp)'=='true'">
<Compile Include="System\IO\Pipelines\ThreadPoolScheduler.netcoreapp.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)'=='netstandard1.3'">
<Compile Include="System\IO\Pipelines\ThreadPoolScheduler.netstandard1.3.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetGroup)'=='netstandard'">
Copy link
Member

Choose a reason for hiding this comment

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

nit: above we are using TargetsNETCoreApp, should we use TargetNetStandard here too instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

The reason why we're using TargetsNETCoreApp is because it is used by both, netcoreapp2.1 and netcoreapp targetgroups, but here it is specific to netstandard. Since it is the only version of netstandard used I think it is better to leave it like is.

@bartonjs
Copy link
Member

@safern Are there runtimes where the current CNG package could be pulled in and netstandard1.3 or netstandard1.4 would be the best match? I'd be concerned that we'd then not be shipping bugfixes that we thought we were shipping.

I'd rather "not support" a lib than harvest it, personally.

@weshaggard
Copy link
Member

When we start harvesting it we are essentially moving it to servicing only mode so fixes will only come from the servicing branches. So as long as there aren't any live active platforms that expect fixes, which is generally the case for any NS less then 2 then I think we are good harvesting the assets.

@safern safern merged commit b09c098 into dotnet:master Sep 12, 2018
@safern safern deleted the RemoveSBuffers branch September 12, 2018 21:17
@jkotas jkotas mentioned this pull request Sep 12, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
* Remove System.Buffers package and harvest System.IO.Pipelines for ns1.3

* Run UpdateVSConfigurations

* Harvest Security.Cryptography.Cng ns1.3 and ns1.4 implementations


Commit migrated from dotnet/corefx@b09c098
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants