Skip to content

Commit a8482fa

Browse files
Run commands to vendor aws-sdk-go-v2, smithy-go
1 parent f0d94d3 commit a8482fa

File tree

24,651 files changed

+13949312
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

24,651 files changed

+13949312
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Project-specific ignore
2+
/doc
3+
/doc-staging
4+
/internal/awstesting/integration/smoke/**/importmarker__.go
5+
/internal/awstesting/integration/smoke/_test/
6+
/vendor
7+
/private/model/cli/gen-api/gen-api
8+
build/
9+
bin/
10+
11+
# Mac
12+
.DS_Store/
13+
14+
# Intellij
15+
.idea/
16+
*.iml
17+
*.ipr
18+
*.iws
19+
20+
# Node
21+
dist
22+
23+
# Java
24+
.gradle/
25+
26+
# vscode
27+
.vscode/
28+
29+
# Ruby
30+
.yardoc
31+
Gemfile.lock

cluster-autoscaler/cloudprovider/aws/aws-sdk-go-v2/CHANGELOG.md

Lines changed: 19819 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Code of Conduct
2+
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
3+
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
4+
opensource-codeofconduct@amazon.com with any additional questions or comments.
Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
# Contributing to the AWS SDK for Go
2+
3+
Thank you for your interest in contributing to the AWS SDK for Go!
4+
We work hard to provide a high-quality and useful SDK, and we greatly value
5+
feedback and contributions from our community. Whether it's a bug report,
6+
new feature, correction, or additional documentation, we welcome your issues
7+
and pull requests. Please read through this document before submitting any
8+
[issues] or [pull requests][pr] to ensure we have all the necessary information to
9+
effectively respond to your bug report or contribution.
10+
11+
Jump To:
12+
13+
* [Bug Reports](#bug-reports)
14+
* [Feature Requests](#feature-requests)
15+
* [Code Contributions](#code-contributions)
16+
17+
## How to contribute
18+
19+
*Before you send us a pull request, please be sure that:*
20+
21+
1. You're working from the latest source on the `main` branch.
22+
2. You check existing open, and recently closed, pull requests to be sure
23+
that someone else hasn't already addressed the problem.
24+
3. You create an issue before working on a contribution that will take a
25+
significant amount of your time.
26+
27+
*Creating a Pull Request*
28+
29+
1. Fork the repository.
30+
2. In your fork, make your change in a branch that's based on this repo's `main` branch.
31+
3. Commit the change to your fork, using a clear and descriptive commit message.
32+
4. Open a pull request, answering any questions in the pull request form.
33+
34+
For contributions that will take a significant amount of time, open a new
35+
issue to pitch your idea before you get started. Explain the problem and
36+
describe the content you want to see added to the documentation. Let us know
37+
if you'll write it yourself or if you'd like us to help. We'll discuss your
38+
proposal with you and let you know whether we're likely to accept it.
39+
40+
## Bug Reports
41+
42+
You can file bug reports against the SDK on the [GitHub issues][issues] page.
43+
44+
If you are filing a report for a bug or regression in the SDK, it's extremely
45+
helpful to provide as much information as possible when opening the original
46+
issue. This helps us reproduce and investigate the possible bug without having
47+
to wait for this extra information to be provided. Please read the following
48+
guidelines prior to filing a bug report.
49+
50+
1. Search through existing [issues][] to ensure that your specific issue has
51+
not yet been reported. If it is a common issue, it is likely there is
52+
already a bug report for your problem.
53+
54+
2. Ensure that you have tested the latest version of the SDK. Although you
55+
may have an issue against an older version of the SDK, we cannot provide
56+
bug fixes for old versions. It's also possible that the bug may have been
57+
fixed in the latest release.
58+
59+
3. Provide as much information about your environment, SDK version, and
60+
relevant dependencies as possible. For example, let us know what version
61+
of Go you are using, which and version of the operating system, and the
62+
the environment your code is running in. e.g Container.
63+
64+
4. Provide a minimal test case that reproduces your issue or any error
65+
information you related to your problem. We can provide feedback much
66+
more quickly if we know what operations you are calling in the SDK. If
67+
you cannot provide a full test case, provide as much code as you can
68+
to help us diagnose the problem. Any relevant information should be provided
69+
as well, like whether this is a persistent issue, or if it only occurs
70+
some of the time.
71+
72+
## Feature Requests
73+
74+
Open an [issue][issues] with the following:
75+
76+
* A short, descriptive title. Ideally, other community members should be able
77+
to get a good idea of the feature just from reading the title.
78+
* A detailed description of the the proposed feature.
79+
* Why it should be added to the SDK.
80+
* If possible, example code to illustrate how it should work.
81+
* Use Markdown to make the request easier to read;
82+
* If you intend to implement this feature, indicate that you'd like to the issue to be assigned to you.
83+
84+
## Code Contributions
85+
86+
We are always happy to receive code and documentation contributions to the SDK.
87+
Please be aware of the following notes prior to opening a pull request:
88+
89+
1. The SDK is released under the [Apache license][license]. Any code you submit
90+
will be released under that license. For substantial contributions, we may
91+
ask you to sign a [Contributor License Agreement (CLA)][cla].
92+
93+
2. If you would like to implement support for a significant feature that is not
94+
yet available in the SDK, please talk to us beforehand to avoid any
95+
duplication of effort.
96+
97+
3. Wherever possible, pull requests should contain tests as appropriate.
98+
Bugfixes should contain tests that exercise the corrected behavior (i.e., the
99+
test should fail without the bugfix and pass with it), and new features
100+
should be accompanied by tests exercising the feature.
101+
102+
4. Pull requests that contain failing tests will not be merged until the test
103+
failures are addressed. Pull requests that cause a significant drop in the
104+
SDK's test coverage percentage are unlikely to be merged until tests have
105+
been added.
106+
107+
5. The JSON files under the SDK's `models` folder are sourced from outside the SDK.
108+
Such as `models/apis/ec2/2016-11-15/api.json`. We will not accept pull requests
109+
directly on these models. If you discover an issue with the models please
110+
create a [GitHub issue][issues] describing the issue.
111+
112+
### Testing
113+
114+
To run the tests locally, running the `make unit` command will `go get` the
115+
SDK's testing dependencies, and run vet, link and unit tests for the SDK.
116+
117+
```
118+
make unit
119+
```
120+
121+
Standard go testing functionality is supported as well. To test SDK code that
122+
is tagged with `codegen` you'll need to set the build tag in the go test
123+
command. The `make unit` command will do this automatically.
124+
125+
```
126+
go test -tags codegen ./private/...
127+
```
128+
129+
See the `Makefile` for additional testing tags that can be used in testing.
130+
131+
To test on multiple platform the SDK includes several DockerFiles under the
132+
`awstesting/sandbox` folder, and associated make recipes to to execute
133+
unit testing within environments configured for specific Go versions.
134+
135+
```
136+
make sandbox-test-go18
137+
```
138+
139+
To run all sandbox environments use the following make recipe
140+
141+
```
142+
# Optionally update the Go tip that will be used during the batch testing
143+
make update-aws-golang-tip
144+
145+
# Run all SDK tests for supported Go versions in sandboxes
146+
make sandbox-test
147+
```
148+
149+
In addition the sandbox environment include make recipes for interactive modes
150+
so you can run command within the Docker container and context of the SDK.
151+
152+
```
153+
make sandbox-go18
154+
```
155+
156+
[issues]: https://github.com/aws/aws-sdk-go-v2/issues
157+
[pr]: https://github.com/aws/aws-sdk-go-v2/pulls
158+
[license]: http://aws.amazon.com/apache2.0/
159+
[cla]: http://en.wikipedia.org/wiki/Contributor_License_Agreement
160+
[releasenotes]: https://github.com/aws/aws-sdk-go-v2/releases
161+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Open Discussions
2+
---
3+
The following issues are currently open for community feedback.
4+
All discourse must adhere to the [Code of Conduct] policy.
5+
6+
* [Refactoring API Client Paginators](https://github.com/aws/aws-sdk-go-v2/issues/439)
7+
* [Refactoring API Client Waiters](https://github.com/aws/aws-sdk-go-v2/issues/442)
8+
* [Refactoring API Client Enums and Types to Discrete Packages](https://github.com/aws/aws-sdk-go-v2/issues/445)
9+
* [SDK Modularization](https://github.com/aws/aws-sdk-go-v2/issues/444)
10+
11+
Past Discussions
12+
---
13+
The issues listed here are for documentation purposes, and is used to capture issues and their associated discussions.
14+
15+
[Code of Conduct]: https://github.com/aws/aws-sdk-go-v2/blob/main/CODE_OF_CONDUCT.md

0 commit comments

Comments
 (0)