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

GH-43876: [CI][Swift] Use apache/arrow-go remote repository instead of arrow/go subfolder #44145

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

raulcd
Copy link
Member

@raulcd raulcd commented Sep 17, 2024

Rationale for this change

The Go implementation is moving to apache/arrow-go from go/ in apache/arrow.

What changes are included in this PR?

Use clone for apache/arrow-go instead of code from arrow/go subfolder

Are these changes tested?

Yes, CI

Are there any user-facing changes?

No

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Sep 17, 2024
@@ -22,9 +22,11 @@ set -ex
data_gen_dir=${1}/swift/data-generator/swift-datagen
export GOPATH=/
pushd ${data_gen_dir}
go get -d ./...
git clone https://github.com/apache/arrow-go.git /arrow-go
Copy link
Member Author

Choose a reason for hiding this comment

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

We could use a released tag but we can just clone main and find potential issues earlier. @kou any thoughts?

Copy link
Member

@kou kou Sep 18, 2024

Choose a reason for hiding this comment

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

How about doing this after we release a new version from apache/arrow-go?

I tried apache/arrow-go#87 for this issue but it didn't work.

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted to remove /go subfolder before the Arrow release, if we do that we should release arrow-go before, was that your plan?

Copy link
Member

Choose a reason for hiding this comment

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

Yes.

BTW, it seems that this script doesn't refer go/ in apache/arrow. It uses released version:

require github.com/apache/arrow/go/v16 v16.1.0

This script may still work even if we remove go/ in apache/arrow.

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Sep 17, 2024
@raulcd raulcd changed the title GH-43876: [CI][Swift] Use apache/arrow-go instead of arrow/go subfolder GH-43876: [CI][Swift] Use apache/arrow-go remote repository instead of arrow/go subfolder Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting changes Awaiting changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants