This repository was archived by the owner on Oct 8, 2025. It is now read-only.
master ← fix/compile: Sync with upstream/master
#2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview 🌱
This PR reverts changes to OHSU's forked version of
gen3-clientin order to fix compilation issues related to the unboundfurObjectsvariable.This PR will make our
masterbranch identical to that of upstream's (including the updates from PR #23 required to run multipart uploads to non-AWS S3 buckets).Previous Behavior ❌
Compile errors:
➜ go build -o cdis-data-client # github.com/uc-cdis/gen3-client/gen3-client/g3cmd gen3-client/g3cmd/upload-multiple.go:82:30: undefined: furObjects gen3-client/g3cmd/upload-multiple.go:84:13: undefined: batchFURObjects gen3-client/g3cmd/upload-multiple.go:84:32: undefined: workers gen3-client/g3cmd/upload-multiple.go:85:32: undefined: batchFURObjects gen3-client/g3cmd/upload-multiple.go:87:34: undefined: batchFURObjects gen3-client/g3cmd/upload-multiple.go:87:51: undefined: workers gen3-client/g3cmd/upload-multiple.go:87:60: undefined: respCh gen3-client/g3cmd/upload-multiple.go:87:68: undefined: errCh gen3-client/g3cmd/upload-multiple.go:88:7: undefined: batchFURObjects gen3-client/g3cmd/upload-multiple.go:89:32: undefined: batchFURObjects gen3-client/g3cmd/upload-multiple.go:89:32: too many errorsNew Behavior ✅
Successful compilation!
➜ go build -o cdis-data-client ➜ ls cdis-data-client cdis-data-client ➜ ./cdis-data-client Gen3 Client for downloading, uploading and submitting data to data commons. gen3-client version: N/A, commit: N/ANext Steps 🌀
Test Steps ✍️
1. Build
gen3-client2. Upload Single File via
gen3-clientgen3-client-test.txtfile has been uploaded to the expected bucket3. Upload Single File via
g3tg3t-test.txtfile has been uploaded to the expected bucket