-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
runtime: add RIDs for anolis distro #66132
Conversation
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries Issue Detailsinstead of patching dotnet everytime after Signed-off-by: Livy Ge livy.ge@gmail.com
|
@richlander is usually involved in the flow for adding new distros to the graph. Rich? |
/cc @agocke |
We are currently considering this design proposal. I don't think we can reasonably back-port it to .NET 6, however. Can you share more context? Are you the maintainers for .NET for anolis? |
@geliwei can you please answer @richlander’s question? |
I was thinking more about this (based on our continuing conversations on RID simplification). Is the RID for anolis needed for restoring anolis-specific packages or just to ensure that anolis is correctly treated as either |
Hi, |
Hey @geliwei ! If you don't add the RIDs (manually or otherwise), does the .NET build fail? Can you point us to any build logs that show the failure? |
This info might be what you are looking for: #50818 We have a maintainers group now. I can add you if you want to join it @geliwei. The new plan for source-build is documented at https://github.com/dotnet/designs/pull/260/files#diff-20aa11d3c5c8d54fc1c45f4b81927255d3951fdd7cf58589fc6d03a2dd2a6a1bR195. |
instead of patching dotnet everytime after it got updated we plan to add runtime ID for anolis 7/anolis 8/anolis 9. Signed-off-by: Livy Ge <livy.ge@gmail.com>
I copy a few errors from http://build.openanolis.cn/kojifiles/work/tasks/7092/297092/build.log: |
I have made change to init-distro-rid.sh and also pal.unix.cpp, remove RIDs in runtime.json but keep runtimeGroups.props. But looks like it fails the test again, Would you like to help me figure out why? |
this change works so far on dotnet5.0 https://gitee.com/src-anolis-os/dotnet5.0/commit/39c160eb817b5bab7366ed1d14f8c91d4316ca96 |
did we reached conciliation if new bistro is needed @omajid @richlander ? As minimum we should rebuild other json files besides runtimeGroups.props and include this with the PR. |
Ideally, we would not and this RID could be added via source-build per #50818. That should be the goto approach for these cases. Is that acceptable? |
Would that mean that RH binaries would be unusable e.g. the RID would work only if distribution has own package created via source-build? |
Here's my take/understanding on how the system should work.
By building .NET for a distro as This is the same thing as blood types, where RIDs are like donors and distros are like recipients.
Credit to the Wikipedia page on blood types. This is a fair analogy, right? We can take the analogy a bit further. So far, we're only looking at two columns of donors (or RIDs). Let's look at the |
I agree with @richlander, I think this is the correct direction. |
@clairernovotny @aortiz-msft It would be good for the NuGet team to review this approach. |
cc @tmds who's been doing some recent work to make source build work without code changes to the RID graph. |
So if I can summarize the state here, @richlander and @agocke are saying that this PR should not be needed due to the changes to how we expect distro's to source build in .NET 7.0. #66132 (comment) @geliwei do you agree, or are you keeping this PR open for a scenario that wasn't covered by that explanation? Thanks! |
Ping @clairernovotny @aortiz-msft to help with this request.
Ping @richlander @agocke to answer this question.
Ping @geliwei to answer this question. |
#83246 is superseding dotnet/designs#260 and is still being discussed. As other rids are still being added, we can add these too. The graph will be updated as needed for #83246. |
I'm closing new RID PRs for now, until we can sort out the RID plan, as in #81115 |
I'm not sure why this doesn't get added, while other rids are still being added. Will we no longer be adding any rids until the RID plan is sorted out? I have good hope we'll sort it out for .NET 8, but I had the same hope for .NET 7. I'd keep business as usual until the plan is decided. |
instead of patching dotnet everytime after
it got updated we plan to add runtime ID for
anolis 7/anolis 8/anolis 9.
Signed-off-by: Livy Ge livy.ge@gmail.com