Skip to content

S3 Go MVP examples refinement (address #2657) #2719

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

Merged
merged 15 commits into from
Mar 16, 2022

Conversation

indrora
Copy link
Contributor

@indrora indrora commented Jan 11, 2022

This starts to re-arrange the SDK examples that are already there into a more coherent end to end scenario as described in the tracked ticket

@indrora
Copy link
Contributor Author

indrora commented Jan 18, 2022

needs: README at the service level.

@indrora indrora marked this pull request as ready for review February 8, 2022 08:03
@indrora indrora mentioned this pull request Feb 9, 2022
5 tasks
@brmur
Copy link
Contributor

brmur commented Feb 10, 2022

@indrora Sent responses via Slack

Copy link
Contributor

@lkdavies lkdavies left a comment

Choose a reason for hiding this comment

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

Editorial comments.

@indrora
Copy link
Contributor Author

indrora commented Feb 21, 2022

@lkdavies back to you if there's any further edits you want otherwise it's ready for merge?

@lkdavies
Copy link
Contributor

Hi @indrora , no need for a second round of edits (only needed if you added new content). Thanks!

@scmacdon
Copy link
Contributor

This failed check and will not be merged until check passes

@indrora
Copy link
Contributor Author

indrora commented Feb 23, 2022

The linter can't handle our situation it appears. I'm going to investigate further.

Copy link
Contributor

@Laren-AWS Laren-AWS left a comment

Choose a reason for hiding this comment

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

The scenario doesn't appear to provide much feedback to the user. Scenarios typically either run straight through, printing output about their actions along the way, or follow a question/answer format. I tried running it to confirm my read of the code, and found that it doesn't run. It errors out at line 57--CreateBucket.

Also, add at least one integration test and have the test reviewed.

indrora and others added 2 commits March 9, 2022 14:51
The sample now outputs more information instead of just doing things
 silently; this just makes it a little easier to see what is going on.

 Additionally, there were some pretty nasty logic errors I discovered.
 Most aggregious of them was a failure to properly open files to write;
 this is because I used the wrong Open call (go wants `os.Create(...)`
 instead of `os.Open(...)`, which threw me off from working in Python).
 I've cleaned up those logic errors and added clearer error handling.
 Additionally, the logic for emptying a bucket is much cleaner.
@indrora
Copy link
Contributor Author

indrora commented Mar 10, 2022

@Laren-AWS quick review?

The lint seems to be borked, once again.

Copy link
Contributor

@Laren-AWS Laren-AWS left a comment

Choose a reason for hiding this comment

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

On call review approved, still needs test review.

@beqqrry-aws
Copy link
Member

It doesn't look like there are any tests, just test files that have been deleted and instructions on how to run tests. Unless they're not showing up in the changed files.

1 similar comment
@beqqrry-aws
Copy link
Member

It doesn't look like there are any tests, just test files that have been deleted and instructions on how to run tests. Unless they're not showing up in the changed files.

@beqqrry-aws beqqrry-aws merged commit efb3919 into awsdocs:main Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants