-
Notifications
You must be signed in to change notification settings - Fork 5.8k
S3TM examples for Swift #7626
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
base: main
Are you sure you want to change the base?
S3TM examples for Swift #7626
Conversation
| url: "https://github.com/awslabs/aws-sdk-swift", | ||
| from: "1.4.0"), | ||
| .package( | ||
| url: "https://github.com/aws/aws-sdk-swift-s3-transfer-manager.git", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, on building this, I am running into this error:
remote: Repository not found.
fatal: repository 'https://github.com/aws/aws-sdk-swift-s3-transfer-manager.git/' not found
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link you shared in the first comment also leads to 404 not found. I believe both of these are related.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requested further details from Chen Yoo (Swift SDK)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| dependencies: [ | ||
| // Dependencies declare other packages that this package depends on. | ||
| .package( | ||
| url: "https://github.com/awslabs/aws-sdk-swift", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I am running into build issues with upload-file. I see this error: 'aws-sdk-swift': Revision a571f2dd5f04342a16655340043b35698cfe1b6f for aws-sdk-swift remoteSourceControl https://github.com/awslabs/aws-sdk-swift.git version 1.6.1 does not match previously recorded value 59be5b909c5945e9ee18da806a20eca2c445be93
| dependencies: [ | ||
| // Dependencies declare other packages that this package depends on. | ||
| .package( | ||
| url: "https://github.com/awslabs/aws-sdk-swift", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The builds and execution work as intended but I did get a lot of warning messages while building it. The warning messages looked like:
|- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
This PR adds two examples for the Swift S3 Transfer Manager:
download-streamingis an example which downloads a bucket to the local machine'sDownloadsdirectory, with output showing the progress of the overall download and of the individual files. It's not glamorous output, but it gets the point across.get-bucketis an example that downloads a bucket, with no progress reporting, to the local machine'sDownloadsdirectory. This is a simple example showing a download operation, compared to the previous one which is used to show how to get streamed status information.upload-fileuploads a single file to the specified S3 bucket. This is a simpler example which doesn't show progress, and uses the default configuration.There are no metadata changes for this example. All snippets are for embedding in doc content, which won't be finished until after this merges.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.