Skip to content
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

Provide release artifacts necessary to perform bootstrap build offline #3465

Open
MichaelSimons opened this issue May 18, 2023 · 3 comments
Open
Labels
area-product-experience Improvements in the end-user's product experience

Comments

@MichaelSimons
Copy link
Member

Today, all artifacts needed to perform a bootstrap build are retrieved via running prep.sh. This script provides options to control which artifacts are retrieved. The intend is that if you want to build, you acquire the source via a source-tarball or cloning the git repo. To build offline you then must run prep.sh. This workflow is not compatible with the way distro maintainers commonly need to build. They need the ability to acquire the source/artifacts necessary to build and then feed them into their build systems. Running a separate step locally is inconvenient. Furthermore, the prep.sh script doesn't make it easy to grab the various artifacts/prereqs it retrieves/downloads that would then need to be fed into the build systems.

To better support distro maintainers, we should be attaching the various artifacts/prereqs to our releases. For items like the bootstrap sdk, a link could be provided. Distro maintainers can then more easily see what is needed to build, can retrieve them, validate via signatures/checksums, and then feed them into their build systems.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@MichaelSimons MichaelSimons added area-product-experience Improvements in the end-user's product experience and removed untriaged labels May 25, 2023
@MichaelSimons MichaelSimons moved this to 8.0 Backlog in .NET Source Build May 25, 2023
@MichaelSimons MichaelSimons moved this from Needs Review to Backlog in .NET Source Build Jun 15, 2023
@danzuep
Copy link

danzuep commented Jan 12, 2024

It seems that currently dotnet cannot be built offline as prep.sh downloads a pre-built CLI from AzureEdge. Does this mean that dotnet isn't really FOSS?

@MichaelSimons
Copy link
Member Author

It seems that currently dotnet cannot be built offline as prep.sh downloads a pre-built CLI from AzureEdge. Does this mean that dotnet isn't really FOSS?

Please see the Bootstrapping Guidelines to Build .NET from Source for details on this. If you have unanswered questions, please open a new discussion topic. HTH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-product-experience Improvements in the end-user's product experience
Projects
Status: Backlog
Development

No branches or pull requests

2 participants