Replies: 1 comment 1 reply
-
Great! LGTM. And now the GoDoc looks fine to me. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you @yuchanns for contributing to #4886. I am considering the best way to release the Go binding within our current layout.
Here is my proposal:
The Go binding source code will be hosted at
github.com/apache/opendal/bindings/go
. Users can import it as follows:We will create tags such as
bindings/go/v0.1.0
to ensure semantic compatibility and integration with the go ecosystem.The go binding will also need a place to host pre-build binary like
libopendal_c.so
. I propose to create a new repo calledgithub.com/apache/opendal-go-services
. The code layout is similiar to https://github.com/yuchanns/opendal-go-services.So users will finally use opendal in this way:
The
apache/opendal-go-services
is optional. Users can build their own binaries as long as they meet the API requirements specified bygithub.com/apache/opendal/bindings/go
.For example, the following code should also work:
The
apache/opendal-go-services
repository will use the same tag asbindings/go/v0.1.0
and will automatically trigger a build and release every timebindings/go
is released for all supported services.Ideally,
apache/opendal-go-services
requires minimal maintenance beyond occasional updates togo generate
and other tools. We expect all development work to occur withingithub.com/apache/opendal/bindings/go
.The
apache/opendal-go-services
will be managed as a binary release repository, similar to our approach with svn, npm, and pypi. It is not included in opendal's source release and is solely for user convenience.This might be the first time the ASF has released a binary in this manner. I will contact ASF members and INFRA to confirm if it aligns with our policy. Before we get an answer, we can begin preparations like setting up the repository, ensuring CI functionality, and building other Go tools. If the response is OK, we can proceed with our first Go release. Otherwise, we'll need to transfer this repository to a different location.
cc @yuchanns, does this porposal looks good to you?
Beta Was this translation helpful? Give feedback.
All reactions