testing/dotnet31: new aport
New aport for dotnet31, dotnet31-stage0 (to build dotnet31), dotnet31-bootstrap from source using (at first) Microsoft bootstraps, with capacity to then build using Alpine bootstraps. Further notes copied from README.md:
Parallel thread on Microsoft's side here
Accompanies merge requests: dotnet6, dotnet5, and continuation of closed merge request for dotnet5/31
dotnet31-stage0:
# Description
APKBUILD for dotnet31-stage0, prebuilt bits sourced from Microsoft
# Generated packages
* dotnet31-stage0-bootstrap
* dotnet31-stage0-artifacts
# How to build dotnet31 stack
* Build testing/dotnet31-stage0 (provides prebuilt bits for first bootstrap bld)
* Build testing/dotnet31-bootstrap (provides "tainted" SDK for first build)
* Build testing/dotnet31-build ("untainted" build of dotnet)
* Build testing/dotnet31-runtime (packages runtime bits from dotnet31-build)
* Build testing/dotnet31-sdk (packages sdk bits from dotnet31-build)
# Special functions
* abuild _update_source: Stage0 adapts prebuilt artifacts packages by replacing
linux-x64 nupkgs with linux-musl-x64 versions. Any updates to artifacts will
require executing this function to update source with up to date nuget packages
dotnet31-bootstrap
# Description
APKBUILD for dotnet31-bootstrap, acting as intermediary between stage0 and
untainted dotnet build. This is a workaround for buildrepo, allowing automatic
build of dotnet after stage0, insuring that end-user doesn't have any binaries
"tainted" by Microsoft prebuilt binaries
# Generated packages
* dotnet31-bootstrap (used by dotnet31-build for first untainted dotnet build)
* dotnet31-bootstrap-artifacts (provides nupkgs for dotnet31-build)
# Special functions
To update, execute 'abuild _update_bootstrap
dotnet31-build:
# Description
APKBUILD for dotnet31-build. This is sourced by dotnet31-runtime and dotnet31-sdk,
which handles the actual packaging due to this aport building products with
varying versions
# Generated packages
* dotnet31-build (aimed for internal use)
# How to build dotnet31 stack
* Build testing/dotnet31-stage0 (provides prebuilt bits for first bootstrap bld)
* Build testing/dotnet31-bootstrap (provides "tainted" SDK for first build)
* Build testing/dotnet31-build ("untainted" build of dotnet)
* Build testing/dotnet31-runtime (packages runtime bits from dotnet31-build)
* Build testing/dotnet31-sdk (packages sdk bits from dotnet31-build)
# Special functions
* abuild _update_bootstrap: Updates dotnet31-bootstrap to current version
dotnet31-runtime:
# Description
APKBUILD for dotnet31-runtime. Note that this doesn't actually build anything.
It depends on dotnet31-build, which handles the actual dotnet build process
This is a workaround to abuild / lua-aports not supporting custom pkgver
for subpackages. While there are pending MRs for this feature, the feature
is yet to be introduced. See abuild!137 and lua-aports!4
# Generated packages
* aspnetcore31-runtime
* aspnetcore31-targeting-pack
* dotnet31-apphost-pack (used by dotnet31-runtime)
* dotnet31-host (provides dotnet-host)
* dotnet31-host-zsh-completion (provides dotnet-host-zsh-completion)
* dotnet31-host-bash-completion (provides dotnet-host-bash-completion)
* dotnet31-host-doc (docs for dotnet31)
* dotnet31-hostfxr (provides fxr for host)
* dotnet31-runtime
* dotnet31-targeting-pack
# How to build dotnet31 stack
* Build testing/dotnet31-stage0 (provides prebuilt bits for first bootstrap bld)
* Build testing/dotnet31-bootstrap (provides "tainted" SDK for first build)
* Build testing/dotnet31-build ("untainted" build of dotnet)
* Build testing/dotnet31-runtime (packages runtime bits from dotnet31-build)
* Build testing/dotnet31-sdk (packages sdk bits from dotnet31-build)
dotnet31-sdk
# Description
APKBUILD for dotnet31-sdk. Note that this doesn't actually build anything.
It depends on dotnet31-build, which handles the actual dotnet build process
This is a workaround to abuild / lua-aports not supporting custom pkgver
for subpackages. While there are pending MRs for this feature, the feature
is yet to be introduced. See abuild!137 and lua-aports!4
# Generated packages
* dotnet31 (virtual package that pulls dotnet31-sdk, thus all dotnet products)
* dotnet31-sdk
* dotnet31-templates (required by sdk)
* netstandard5-targeting-pack (provides netstandard21-targeting-pack)
# How to build dotnet31 stack
* Build testing/dotnet31-stage0 (provides prebuilt bits for first bootstrap bld)
* Build testing/dotnet31-bootstrap (provides "tainted" SDK for first build)
* Build testing/dotnet31-build ("untainted" build of dotnet)
* Build testing/dotnet31-runtime (packages runtime bits from dotnet31-build)
* Build testing/dotnet31-sdk (packages sdk bits from dotnet31-build)
Edited by Antoine Martin