Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from jasdel/importAWSSDKGov1
Initial merge in of a trimmed down v1 SDK
- Loading branch information
Showing
1,680 changed files
with
1,591,665 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Please fill out the sections below to help us address your issue. | ||
|
||
### Version of AWS SDK for Go? | ||
|
||
|
||
### Version of Go (`go version`)? | ||
|
||
|
||
### What issue did you see? | ||
|
||
### Steps to reproduce | ||
|
||
If you have have an runnable example, please include it. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
For changes to files under the `/model/` folder, and manual edits to autogenerated code (e.g. `/service/s3/api.go`) please create an Issue instead of a PR for those type of changes. | ||
|
||
If there is an existing bug or feature this PR is answers please reference it here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
dist | ||
/doc | ||
/doc-staging | ||
.yardoc | ||
Gemfile.lock | ||
awstesting/integration/smoke/**/importmarker__.go | ||
awstesting/integration/smoke/_test/ | ||
/vendor/bin/ | ||
/vendor/pkg/ | ||
/vendor/src/ | ||
/private/model/cli/gen-api/gen-api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
language: go | ||
|
||
sudo: required | ||
|
||
go: | ||
- 1.5 | ||
- 1.6 | ||
- 1.7 | ||
- 1.8 | ||
- 1.9 | ||
- tip | ||
|
||
# Use Go 1.5's vendoring experiment for 1.5 tests. | ||
env: | ||
- GO15VENDOREXPERIMENT=1 | ||
|
||
install: | ||
- make get-deps | ||
|
||
script: | ||
- make unit-with-race-cover | ||
|
||
matrix: | ||
allow_failures: | ||
- go: tip |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
### SDK Features | ||
|
||
### SDK Enhancements | ||
|
||
### SDK Bugs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
Contributing to the AWS SDK for Go | ||
|
||
We work hard to provide a high-quality and useful SDK, and we greatly value | ||
feedback and contributions from our community. Whether it's a bug report, | ||
new feature, correction, or additional documentation, we welcome your issues | ||
and pull requests. Please read through this document before submitting any | ||
issues or pull requests to ensure we have all the necessary information to | ||
effectively respond to your bug report or contribution. | ||
|
||
|
||
## Filing Bug Reports | ||
|
||
You can file bug reports against the SDK on the [GitHub issues][issues] page. | ||
|
||
If you are filing a report for a bug or regression in the SDK, it's extremely | ||
helpful to provide as much information as possible when opening the original | ||
issue. This helps us reproduce and investigate the possible bug without having | ||
to wait for this extra information to be provided. Please read the following | ||
guidelines prior to filing a bug report. | ||
|
||
1. Search through existing [issues][] to ensure that your specific issue has | ||
not yet been reported. If it is a common issue, it is likely there is | ||
already a bug report for your problem. | ||
|
||
2. Ensure that you have tested the latest version of the SDK. Although you | ||
may have an issue against an older version of the SDK, we cannot provide | ||
bug fixes for old versions. It's also possible that the bug may have been | ||
fixed in the latest release. | ||
|
||
3. Provide as much information about your environment, SDK version, and | ||
relevant dependencies as possible. For example, let us know what version | ||
of Go you are using, which and version of the operating system, and the | ||
the environment your code is running in. e.g Container. | ||
|
||
4. Provide a minimal test case that reproduces your issue or any error | ||
information you related to your problem. We can provide feedback much | ||
more quickly if we know what operations you are calling in the SDK. If | ||
you cannot provide a full test case, provide as much code as you can | ||
to help us diagnose the problem. Any relevant information should be provided | ||
as well, like whether this is a persistent issue, or if it only occurs | ||
some of the time. | ||
|
||
|
||
## Submitting Pull Requests | ||
|
||
We are always happy to receive code and documentation contributions to the SDK. | ||
Please be aware of the following notes prior to opening a pull request: | ||
|
||
1. The SDK is released under the [Apache license][license]. Any code you submit | ||
will be released under that license. For substantial contributions, we may | ||
ask you to sign a [Contributor License Agreement (CLA)][cla]. | ||
|
||
2. If you would like to implement support for a significant feature that is not | ||
yet available in the SDK, please talk to us beforehand to avoid any | ||
duplication of effort. | ||
|
||
3. Wherever possible, pull requests should contain tests as appropriate. | ||
Bugfixes should contain tests that exercise the corrected behavior (i.e., the | ||
test should fail without the bugfix and pass with it), and new features | ||
should be accompanied by tests exercising the feature. | ||
|
||
4. Pull requests that contain failing tests will not be merged until the test | ||
failures are addressed. Pull requests that cause a significant drop in the | ||
SDK's test coverage percentage are unlikely to be merged until tests have | ||
been added. | ||
|
||
5. The JSON files under the SDK's `models` folder are sourced from outside the SDK. | ||
Such as `models/apis/ec2/2016-11-15/api.json`. We will not accept pull requests | ||
directly on these models. If you discover an issue with the models please | ||
create a [GitHub issue][issues] describing the issue. | ||
|
||
### Testing | ||
|
||
To run the tests locally, running the `make unit` command will `go get` the | ||
SDK's testing dependencies, and run vet, link and unit tests for the SDK. | ||
|
||
``` | ||
make unit | ||
``` | ||
|
||
Standard go testing functionality is supported as well. To test SDK code that | ||
is tagged with `codegen` you'll need to set the build tag in the go test | ||
command. The `make unit` command will do this automatically. | ||
|
||
``` | ||
go test -tags codegen ./private/... | ||
``` | ||
|
||
See the `Makefile` for additional testing tags that can be used in testing. | ||
|
||
To test on multiple platform the SDK includes several DockerFiles under the | ||
`awstesting/sandbox` folder, and associated make recipes to to execute | ||
unit testing within environments configured for specific Go versions. | ||
|
||
``` | ||
make sandbox-test-go18 | ||
``` | ||
|
||
To run all sandbox environments use the following make recipe | ||
|
||
``` | ||
# Optionally update the Go tip that will be used during the batch testing | ||
make update-aws-golang-tip | ||
# Run all SDK tests for supported Go versions in sandboxes | ||
make sandbox-test | ||
``` | ||
|
||
In addition the sandbox environment include make recipes for interactive modes | ||
so you can run command within the Docker container and context of the SDK. | ||
|
||
``` | ||
make sandbox-go18 | ||
``` | ||
|
||
### Changelog | ||
|
||
You can see all release changes in the `CHANGELOG.md` file at the root of the | ||
repository. The release notes added to this file will contain service client | ||
updates, and major SDK changes. | ||
|
||
[issues]: https://github.com/aws/aws-sdk-go/issues | ||
[pr]: https://github.com/aws/aws-sdk-go/pulls | ||
[license]: http://aws.amazon.com/apache2.0/ | ||
[cla]: http://en.wikipedia.org/wiki/Contributor_License_Agreement | ||
[releasenotes]: https://github.com/aws/aws-sdk-go/releases | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
|
||
# Gopkg.toml example | ||
# | ||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
|
||
ignored = [ | ||
# Testing/Example/Codegen dependencies | ||
"github.com/stretchr/testify", | ||
"github.com/stretchr/testify/assert", | ||
"github.com/stretchr/testify/require", | ||
"github.com/go-sql-driver/mysql", | ||
"github.com/gucumber/gucumber", | ||
"github.com/pkg/errors", | ||
"golang.org/x/net", | ||
"golang.org/x/net/html", | ||
"golang.org/x/net/http2", | ||
"golang.org/x/text", | ||
"golang.org/x/text/html", | ||
"golang.org/x/tools", | ||
"golang.org/x/tools/go/loader", | ||
] | ||
|
||
|
||
[[constraint]] | ||
name = "github.com/go-ini/ini" | ||
version = "1.25.4" | ||
|
||
[[constraint]] | ||
name = "github.com/jmespath/go-jmespath" | ||
revision = "0b12d6b5" | ||
#version = "0.2.2" |
Oops, something went wrong.