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

Move Inbox data to package index#1337

Merged
ericstj merged 7 commits into
dotnet:masterfrom
ericstj:inboxIndex
Feb 16, 2017
Merged

Move Inbox data to package index#1337
ericstj merged 7 commits into
dotnet:masterfrom
ericstj:inboxIndex

Conversation

@ericstj
Copy link
Copy Markdown
Member

@ericstj ericstj commented Feb 16, 2017

We're growing the inbox concept to accomodate the flat framework packages (eg: NETStandard.Library, MS.NETCore.App, UWP). As such it no longer makes sense to have these things defined as static framework lists that live in the buildtools package. I've moved the data into the packageindex and created mechanisms for migration.

/cc @weshaggard @joperezr

Previously we'd null-ref.  That was wrong, additionally the error is
wrong in light of NETStandard 2.0.  We can now have a reference
that intententionally has no dependencies.
This removes the use of framework lists to define which packages are
inbox.  Instead we'll let that data live with the repro consuming
buildtools and be part of the PackageIndex.  I've added arguments
to UpdatePackageIndex that let folks migrate.  I've done the migration
for corefx and tested that this behaves as expected.

While doing this I also made some changes to make the index more
readable by sorting various things (package list, version list, etc).
These are no longer needed by any of our workflows and result in a lot
of wasted build time.
We already have overlap between Packaging.targets and
PackageLibs.targets.  Packaging.targets is only imported for
pkgprojs while PackageLibs.targets is always imported but is
imported after Packaging.targets.

This common targets allows us to share source between the
two with the correct evaluation sequence.
This moves some shared properties and using tasks to the shared
targets file.
In some cases we want to build the RID off of two independent properties
(OSGroup and TargetGroup) each of which contribute a different portion
(eg: win and aot).
@dotnet-bot
Copy link
Copy Markdown

CROSS Risk Report

Generated: 2/16/2017 10:03:04 AM

High Risk Files

File Score Risk Reason
src/Microsoft.DotNet.Build.Tasks.Packaging/src/PackageFiles/PackageLibs.targets 20 Crypto s="AssignProje
... ... http: Scheme lns="http://sch
src/Microsoft.DotNet.Build.Tasks.Packaging/src/PackageFiles/Packaging.common.targets 20 Crypto ame="VerifyClosu
... ... http: Scheme lns="http://sch
src/Microsoft.DotNet.Build.Tasks.Packaging/src/PackageFiles/Packaging.targets 20 Crypto ame="VerifyClosu
... ... http: Scheme lns="http://sch
src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj 10 Crypto pe>Designer</S

Risk Score Totals

Total score for high risk files: 70
Total score for all files in PR: 70

Total execution time: 1.92 seconds


<!-- Installs locally built package into a packageinstalldir for consuming -->
<!-- Overwrites previous installs, supports only one version installed -->
<Target Name="InstallLocallyBuiltPackages"

This comment was marked as spam.

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.

4 participants