-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Community-supported platforms runtime and sdk installation via dotnet-install #501
Comments
I do not expect Microsoft to host a download site for community-supported platform binaries.
From Microsoft point of view, these cross-build images are test-only assets. |
@jkotas, if community is responsible for maintaining the breakage, is integration with dotnet-install.sh still the right place to draw the line? e.g. Currently folks are creating artifacts and uploading to GitHub releases. In the end, they - too - are stored in Azure Blobs storage minus the inconvenience to not be able to obtain it via dotnet-install.sh. It doesn't have to be aka.ms link, it could be a link provided by responsible team to enable this flow. |
The download site structure expected by dotnet-install.sh script is tightly coupled with the Microsoft .NET release management infrastructure that supports many different scenarios. dotnet-install.sh script grew into 2000+ lines to handle it all. I have doubts that the community supported ports would be interested to re-creating the download site structure expected by the dotnet-install.sh script. If a community supported port has a need for a download script, I think it is probably better for them to roll their own simple script.
The script assumes that it is talking to aka.ms site and expects it to return redirect URLs. It is not a simple download a file from this URL. |
In any case, this discussion would be probably better suited for https://github.com/dotnet/install-scripts/ repo where the dotnet-install.sh script lives. |
dotnet-install is used in runtime build, which is why integration with this script is interesting and I opened the issue there. Actual functionality is really not that much, it's just the way it is written is too verbose. |
@baronfel please share your vision on this request. |
There are several community-supported platforms: linux-{musl-}s390x, linux-{musl-}ppc64le, linux-{musl-}riscv64, linux-{musl-}loongarch64, freebsd-x64, freebsd-arm64, illumos-x64 and haiku-x64.
We have cross-build images for all of them in https://github.com/dotnet/dotnet-buildtools-prereqs-docker, and some of them are used in the CI. The steps are pretty much the same for cross build.
Are there plans to support their SDK installation via aka.ms links
install-scripts/src/dotnet-install.sh
Line 1255 in 2ed8cce
existing official: aka_ms_link="https://aka.ms/dotnet" +community: aka_ms_link="https://aka.ms/dotnet-community"
(just like how distros typically provide "community" packages https://pkgs.alpinelinux.org/package/edge/community/aarch64/dotnet8-sdk)
The text was updated successfully, but these errors were encountered: