From 44f1787ceca3cdf05b023802eb9895cd3e5643b7 Mon Sep 17 00:00:00 2001 From: John Luo Date: Wed, 27 Dec 2017 13:07:55 -0500 Subject: [PATCH] Consolidate dotnet-hosting and aspnetcore-shared installers (#728) --- build/SharedFx.props | 7 ++--- build/SharedFxInstaller.targets | 47 +++++++++++---------------------- 2 files changed, 18 insertions(+), 36 deletions(-) diff --git a/build/SharedFx.props b/build/SharedFx.props index 7b7856c31f..49498b8f7d 100644 --- a/build/SharedFx.props +++ b/build/SharedFx.props @@ -16,8 +16,7 @@ <_InstallersOutputDir>$(ArtifactsDir)installers\ - aspnetcore-shared - dotnet-hosting + aspnetcore-runtime $(_PackagingDir)debian_config.json.in https://dotnetcli.blob.core.windows.net/dotnet/ @@ -37,8 +36,6 @@ 1 Apache-2.0 Microsoft ASP.NET Core $(PackageVersion) Shared Framework - Shared Framework for Microsoft ASP.NET Core. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/aspnet/home). We happily accept issues and PRs. - Microsoft .NET Core $(PackageVersion) Linux Server Hosting - Microsoft .NET Core Linux Server Hosting enables hosting of ASP.NET Core applications and contains the ASP.NET Core Shared Framework and .NET Core Runtime. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/aspnet/home). We happily accept issues and PRs. + Shared Framework for hosting of Microsoft ASP.NET Core applications. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/aspnet/home). We happily accept issues and PRs. diff --git a/build/SharedFxInstaller.targets b/build/SharedFxInstaller.targets index 7ddfea7a83..2dfb8112b2 100644 --- a/build/SharedFxInstaller.targets +++ b/build/SharedFxInstaller.targets @@ -21,19 +21,19 @@ - $(HostingInstallerName)-$(PackageVersion)-linux-x64.tar.gz + $(SharedFxInstallerName)-$(PackageVersion)-linux-x64.tar.gz - + - - + + @@ -100,46 +100,36 @@ - - + - @(RpmHostingDependencies->' -d "%(Identity) >= %(Version)"', ' ') @(RpmSharedFxDependencies->' -d "%(Identity) >= %(Version)"', ' ') - @(RpmRHSharedFxDirectories->' --directories "%(FullPath)"', ' ') - @(RpmGenericSharedFxDirectories->' --directories "%(FullPath)"', ' ') + $(RpmSharedFxArguments) @(RpmRHSharedFxDirectories->' --directories "%(FullPath)"', ' ') + $(RpmSharedFxArguments) @(RpmGenericSharedFxDirectories->' --directories "%(FullPath)"', ' ') Image=$(Image);RpmVendor=$(RpmVendor);RpmVersion=$(PackageVersion) $(RpmCommonArguments);RpmMaintainerName=$(MaintainerName);RpmMaintainerEmail=$(MaintainerEmail) $(RpmCommonArguments);RpmHomepage=$(Homepage);RpmRevision=$(PackageRevision) $(RpmCommonArguments);RpmLicense=$(LicenseType) + $(RpmCommonArguments);RpmInstallerPrefix=$(SharedFxInstallerName);SharedFxArchive=$(SharedFxLinuxArchiveFilePath) + $(RpmCommonArguments);RpmMSummary=$(SharedFxSummary);RpmDescription=$(SharedFxDescription) RpmFileSuffix=rhel.7-x64.rpm;RpmInstallRoot=$(InstallRoot) RpmFileSuffix=rh.rhel.7-x64.rpm;RpmInstallRoot=$(RHInstallRoot) - RpmInstallerPrefix=$(SharedFxInstallerName);SharedFxArchive=$(SharedFxLinuxArchiveFilePath) - $(RpmCommonSharedFxArguments);RpmMSummary=$(SharedFxSummary);RpmDescription=$(SharedFxDescription) - - RpmInstallerPrefix=$(HostingInstallerName);RpmArguments=$(RpmHostingArguments) - $(RpmCommonHostingArguments);RpmMSummary=$(HostingSummary);RpmDescription=$(HostingDescription) - - $(RpmCommonArguments);$(RpmCommonGenericArguments);$(RpmCommonSharedFxArguments);RpmArguments=$(RpmGenericSharedFxArguments) $(RpmSharedFxArguments) - $(RpmCommonArguments);$(RpmCommonGenericArguments);$(RpmCommonHostingArguments) - $(RpmCommonArguments);$(RpmCommonRHArguments);$(RpmCommonSharedFxArguments);RpmArguments=$(RpmRHSharedFxArguments) $(RpmSharedFxArguments) - $(RpmCommonArguments);$(RpmCommonRHArguments);$(RpmCommonHostingArguments) + $(RpmCommonArguments);$(RpmCommonGenericArguments);RpmArguments=$(RpmGenericSharedFxArguments) + $(RpmCommonArguments);$(RpmCommonRHArguments);RpmArguments=$(RpmRHSharedFxArguments) - + - - + - @@ -180,7 +170,7 @@ - + - + @@ -214,23 +204,18 @@ <_DebSharedFxDependencies Include="aspnetcore-store-2.0.3"/> - <_DebHostingDependencies Include="$(DotnetRuntimeInstallerName)"/> - <_DebHostingDependencies Include="$(SharedFxInstallerName)-$(Version)"/> + <_DebSharedFxDependencies Include="$(DotnetRuntimeInstallerName)"/> @(_DebSharedFxDependencies->'"%(Identity)": {}', ', ') - @(_DebHostingDependencies->'"%(Identity)": {}', ', ') Image=$(Image);DebVersion=$(Version) DebPrefix=$(SharedFxInstallerName);DebSummary=$(SharedFxSummary);DebDescription=$(SharedFxDescription) $(DebSharedFxProps);DebDependencies=$(DebSharedFxDependencies);SharedFxArchive=$(SharedFxLinuxArchiveFilePath) - DebPrefix=$(HostingInstallerName);DebSummary=$(HostingSummary);DebDescription=$(HostingDescription) - $(DebHostingProps);DebDependencies=$(DebHostingDependencies) -