You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Fatorin (via GitHub)" <gi...@apache.org> on 2026/03/26 15:19:07 UTC
[PR] Bindings dotnet publish [opendal]
Fatorin opened a new pull request, #7323:
URL: https://github.com/apache/opendal/pull/7323
# Which issue does this PR close?
Closes #7299
# Rationale for this change
Introduce official .NET bindings publishing to NuGet for the project.
# What changes are included in this PR?
Adjust the .csproj configuration to support proper packaging of the library.
Implement release scripts in the CI/CD pipeline using GitHub Actions.
Fix an issue in the .NET bindings where the async state was not correctly handled on failure.
# Are there any user-facing changes?
Removed the osx-x64 build from build.py.
Most developers are using osx-aarch64, so maintaining the osx-x64 build is no longer necessary.
Publishing requires manual activation on NuGet ("Activate for 7 days") due to Trusted Publishing.
# AI Usage Statement
This PR was developed with Codex (GPT-5.3) assistance.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(bindings/dotnet):Bindings dotnet publish to nuget [opendal]
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun merged PR #7323:
URL: https://github.com/apache/opendal/pull/7323
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(bindings/dotnet):Bindings dotnet publish to nuget [opendal]
Posted by "Fatorin (via GitHub)" <gi...@apache.org>.
Fatorin commented on code in PR #7323:
URL: https://github.com/apache/opendal/pull/7323#discussion_r3002558281
##########
bindings/dotnet/build.py:
##########
@@ -27,8 +27,6 @@
def classifier_to_target(classifier: str) -> str:
if classifier == "osx-aarch_64":
return "aarch64-apple-darwin"
- if classifier == "osx-x86_64":
- return "x86_64-apple-darwin"
Review Comment:
This is not a limitation of .NET.
As modern Macs have largely transitioned to Apple Silicon (M-series), So I decided not to include osx-x64.
However, it can still be added if needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(bindings/dotnet):Bindings dotnet publish to nuget [opendal]
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on code in PR #7323:
URL: https://github.com/apache/opendal/pull/7323#discussion_r3001687305
##########
bindings/dotnet/build.py:
##########
@@ -27,8 +27,6 @@
def classifier_to_target(classifier: str) -> str:
if classifier == "osx-aarch_64":
return "aarch64-apple-darwin"
- if classifier == "osx-x86_64":
- return "x86_64-apple-darwin"
Review Comment:
@Fatorin Is this something .NET _cannot_ support, or we _do not_ support it due to its outdated?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(bindings/dotnet):Bindings dotnet publish to nuget [opendal]
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on code in PR #7323:
URL: https://github.com/apache/opendal/pull/7323#discussion_r3009469865
##########
.github/workflows/release_dotnet.yml:
##########
@@ -0,0 +1,164 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Release Dotnet Binding
+
+on:
+ push:
+ tags:
+ - 'dotnet-v[0-9]+.[0-9]+.[0-9]+*'
Review Comment:
Maybe change to `v[0-9]+.[0-9]+.[0-9]+` or `v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+` depending on how the .NET release workflow would actually trigger.
I think we don't push tags like `dotnet-v[0-9]+.[0-9]+.[0-9]+*` so far.
But I'm OK to leave it as is for now since this workflow is untested anyway.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org