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

Arcade-powered source-build: stage 1 #3945

Closed
wants to merge 2 commits into from
Closed

Conversation

crummel
Copy link
Contributor

@crummel crummel commented Mar 9, 2021

Bug

Fixes: https://github.com/NuGet/Client.Engineering/issues/857

Regression? No. Last working version: N/A

Description

This is the first part of arcade-powered source-build changes. The goal is to enable each repo to be able to build source-build-clean on its own, and be able to aggregate this into a product that is shippable in open-source Linux distributions.

This PR adds the local build infrastructure that lets ArPow (arcade-powered source-build) run in this repo. See https://github.com/dotnet/source-build/blob/master/Documentation/planning/arcade-powered-source-build/onboarding/local-onboarding.md for more details about how it works.

To try it out locally, run this on Linux: ./build.sh -c Release --restore --build --pack /p:ArcadeBuildFromSource=true -bl

This PR should have no effect on ordinary builds, or CI. ArPow stage 2 will add source-build to CI: PR validation and official builds.

For https://github.com/dotnet/source-build/blob/master/Documentation/planning/arcade-powered-source-build/implementation-plan.md.

This PR is effectively blocked on NuGet/Home#10646 as we can't test it out without that change.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A
  • Documentation

    • Documentation PR or issue filled
    • OR
    • N/A

@crummel crummel requested a review from a team as a code owner March 9, 2021 20:42
@dominoFire dominoFire self-assigned this Mar 12, 2021
@zivkan zivkan added the Community PRs created by someone not in the NuGet team label Mar 14, 2021
Copy link
Contributor

@dominoFire dominoFire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution, @crummel !

I'm working on having a green build for this PR. I left one question.

<SourceBuildManagedOnly>true</SourceBuildManagedOnly>
</PropertyGroup>

<Target Name="ApplySourceBuildPatchFiles"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed some patches for source-build 5.0,

#3511

Do I need to remove those patches from dotnet/source-build@release/5.0 branch ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will take care of that when we uptake these changes. Thanks!

@nkolev92
Copy link
Member

@dominoFire 🔔

@MichaelSimons
Copy link
Contributor

Is this superseded by #4105? If so can it be closed?

@crummel
Copy link
Contributor Author

crummel commented Jun 15, 2021

Where you still planning on merging this @dominoFire? I'm still building off it, or I can roll it into the other PR.

@crummel
Copy link
Contributor Author

crummel commented Jun 17, 2021

Closed, redundant with #4105.

@crummel crummel closed this Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community PRs created by someone not in the NuGet team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants