Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Move dependency model from cli repo to core-setup - #231

Merged
livarcocc merged 316 commits into
dotnet:masterfrom
livarcocc:move_dependency_model
Aug 4, 2016
Merged

livarcocc merged 316 commits into
dotnet:masterfrom
livarcocc:move_dependency_model

Conversation

@livarcocc

Copy link
Copy Markdown

cc @eerhardt @piotrpMSFT @brthor

pakrym and others added 30 commits March 4, 2016 11:06
…o moves rid graph section to root leve instead of being inside arget subsection
…o moves rid graph section to root leve instead of being inside arget subsection
livarcocc and others added 13 commits August 2, 2016 10:37
…emove into move_dependency_model

* 'feature/msbuild' of /Users/livarcocc/Documents/git/to_remove: (51 commits)
  Preparing InternalAbstractions public types to move to PlatformAbstractions in core-setup.
  Merge rel/1.0.0-preview2 to rel/1.0.0 (dotnet#3677)
  replicate dotnet/cli#3492
  mark InternalAbstractions and DependencyModel Stable
  Updating CoreFX, CoreCLR, Roslyn, CoreSetup to stable versions.
  Updating CoreFx, CoreClr, Roslyn, CoreSetup to rc3-24210-10, rc3-24210-10, beta1-20160610-04, rc3-3004459-00 respectively
  Introducing a in progress sentinel that gets verified before running the first time experience. If we can get a handle for this sentinel, we proceed with the first time run, otherwise, it means there is a first time experience running already, in which case we continue running dotnet normally, even though the final (real) sentinel is not present yet. This prevents multiple dotnet commands from running the first time experience in parallel and prevents us from running into parallel nuget restores.
  Revert "move all version suffixes to preview3 and rc4"
  Adding a create method to the sentinel and invoking it from the Primer when appropriate.
  move all version suffixes to preview3 and rc4
  Almost all of the code to prime the NuGet cache from the archive.
  Updating CoreFx, CoreClr, CoreSetup to rc3-24210-06, rc3-24210-01, rc3-3004449-00 respectively
  Updating CoreFx, CoreClr, CoreSetup to rc3-24209-08, rc3-24208-04, rc3-3004442-00 respectively
  Updating CoreFx, CoreClr, Roslyn, CoreSetup, DiaSymReader to rc3-24208-04, rc3-24208-04, beta1-20160608-03, rc3-004425, rc2-60608-04 respectively
  Updating CoreFx, CoreClr, CoreSetup to rc3-24207-03, rc3-24207-03, rc3-004415 respectively.
  Updating CoreFx, CoreSetup to rc3-24206-00, rc3-004404 respectively
  Updating CoreFx, CoreSetup to rc3-24204-00, rc3-004400 respectively
  Updating CoreFx, CoreSetup, Roslyn to rc3-24201-00, rc3-004391, beta1-20160602-01
  move all version suffixes to preview3 and rc4
  Updating CoreFx, CoreSetup to rc3-24131-00, rc3-004363 respectively
  ...
…get netstandard1.3 and still use it to write the .deps.json file.
Using low level JsonTextReader in DependencyContextJsonReader class for performance reasons
Using low level JsonTextReader in DependencyContextJsonReader class for performance reasons
…_from_rel100

Merge the JsonTextReader change from rel/1.0.0 to feature/msbuild
…emove into move_dependency_model

* 'feature/msbuild' of /Users/livarcocc/Documents/git/to_remove: (135 commits)
  Preparing Microsoft.Extensions.DependencyModel to move to core-setup.
  Use JsonTextReader in DependencyContextJsonReader  (#3972)
  Add netstandard1.3 TFM to DependencyModel so the MSBuild task can target netstandard1.3 and still use it to write the .deps.json file.
  After NuGet started lower casing the packages, we started hitting issues where we failed to locate dependencies under our list of libraries due to different casing in the libraries names. The fix here is to compare the library names ignoring casing.
  Workaround native deps resolver not lower casing the file paths into the NuGet cache.
  Fix package code for new NuGet.
  Merge rel/1.0.0-preview2 to rel/1.0.0 (dotnet#3677)
  replicate dotnet/cli#3492
  Trim platfrom libraries from deps fiels
  mark InternalAbstractions and DependencyModel Stable
  Update to Json.NET 9.0.1
  Updating CoreFX, CoreCLR, Roslyn, CoreSetup to stable versions.
  Updating CoreFx, CoreClr, Roslyn, CoreSetup to rc3-24210-10, rc3-24210-10, beta1-20160610-04, rc3-3004459-00 respectively
  Revert "move all version suffixes to preview3 and rc4"
  move all version suffixes to preview3 and rc4
  Updating CoreFx, CoreClr, CoreSetup to rc3-24210-06, rc3-24210-01, rc3-3004449-00 respectively
  Updating CoreFx, CoreClr, CoreSetup to rc3-24209-08, rc3-24208-04, rc3-3004442-00 respectively
  Updating CoreFx, CoreClr, Roslyn, CoreSetup, DiaSymReader to rc3-24208-04, rc3-24208-04, beta1-20160608-03, rc3-004425, rc2-60608-04 respectively
  Updating CoreFx, CoreClr, CoreSetup to rc3-24207-03, rc3-24207-03, rc3-004415 respectively.
  Bumping JSON.NET to 9.0.1
  ...
…emove into move_dependency_model

* 'feature/msbuild' of /Users/livarcocc/Documents/git/to_remove: (96 commits)
  Preparing the Microsoft.Extensions.DepdencyModel.Tests to be moved to core-setup.
  Use JsonTextReader in DependencyContextJsonReader  (#3972)
  Workaround native deps resolver not lower casing the file paths into the NuGet cache.
  Fix package code for new NuGet.
  Trim platfrom libraries from deps fiels
  Updating CoreFX, CoreCLR, Roslyn, CoreSetup to stable versions.
  Updating CoreFx, CoreClr, Roslyn, CoreSetup to rc3-24210-10, rc3-24210-10, beta1-20160610-04, rc3-3004459-00 respectively
  Updating CoreFx, CoreClr, CoreSetup to rc3-24210-06, rc3-24210-01, rc3-3004449-00 respectively
  Updating CoreSetup to rc3-004443-00.
  Updating CoreFx, CoreClr, CoreSetup to rc3-24209-08, rc3-24208-04, rc3-3004442-00 respectively
  Updating CoreFx, CoreClr, Roslyn, CoreSetup, DiaSymReader to rc3-24208-04, rc3-24208-04, beta1-20160608-03, rc3-004425, rc2-60608-04 respectively
  Updating CoreFx, CoreClr, CoreSetup to rc3-24207-03, rc3-24207-03, rc3-004415 respectively.
  Updating CoreSetup, Roslyn, DiaSymReader to rc3-004408, beta1-20160606-02, 1.0.8-rc2-60606-01 respectively.
  Updating CoreSetup to rc3-004406
  Updating CoreFx, CoreSetup to rc3-24206-00, rc3-004404 respectively
  Updating CoreFx, CoreSetup to rc3-24204-00, rc3-004400 respectively
  Update CoreSetup to rc3-004397
  Updating CoreFx, CoreSetup, Roslyn to rc3-24201-00, rc3-004391, beta1-20160602-01
  Updating CoreSetup to rc3-004373
  Addressing code review comments and adding opensuse 13.2
  ...
…setup. Renamed InternalAbstractions to PlatformAbstractions.
@livarcocc

Copy link
Copy Markdown
Author

@dotnet-bot Test RHEL7.2 x64 Release Build please.

foreach (var project in PackageTargets.ProjectsToPack)
{
// Just build them, we'll pack later
var packBuildResult = DotNetCli.Stage0.Build(

This comment was marked as spam.

@eerhardt

eerhardt commented Aug 4, 2016

Copy link
Copy Markdown
Member

Looks good. I just had a few minor comments/questions. And then one naming comment/question.

@livarcocc

Copy link
Copy Markdown
Author

Can't really call it Extensions.PlatformAbstractions because there is a package called that already. I will stick with the old name.

@eerhardt

eerhardt commented Aug 4, 2016

Copy link
Copy Markdown
Member

I see that now: http://www.nuget.org/packages/Microsoft.Extensions.PlatformAbstractions/

But isn't this going to be confusing? Won't customers ask what the difference is between:

Microsoft.DotNet.InternalAbstractions
Microsoft.DotNet.PlatformAbstractions
Microsoft.Extensions.PlatformAbstractions

?

@livarcocc

Copy link
Copy Markdown
Author

Yes, but we are not exactly shipping this as an API to be used by customers, right? If we were, we should be spending A LOT, and I mean A LOT more time designing the APIs surface.

@eerhardt

eerhardt commented Aug 4, 2016

Copy link
Copy Markdown
Member

Yes, but we are not exactly shipping this as an API to be used by customers, right?

It is a public API in an officially shipped NuGet package. I think we should treat it just like any other public API.

@livarcocc

Copy link
Copy Markdown
Author

Well, then we should stop picking and choosing what we pick to treat as any other public API. The very content of the package should then be improved tremendously. It is very confusing to me how we pick on the naming of the package but the contents are far from great. Why treat the naming with one standard but the contents of the package with another?

I imagined we were using the API as we are because it is not really intended to be a package like System.Linq.

@brthor

brthor commented Aug 4, 2016

Copy link
Copy Markdown

LGTM :shipit:

@livarcocc
livarcocc merged commit 5dfb070 into dotnet:master Aug 4, 2016
@livarcocc
livarcocc deleted the move_dependency_model branch August 4, 2016 17:32
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.