Fix repo org move issues (#3166)

This PR fixes issues introduced by moving the repository from
awslabs/smithy-rs to smithy-lang/smithy-rs.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
This commit is contained in:
John DiSanti 2023-11-10 10:51:04 -08:00 committed by GitHub
parent 7f8fef2626
commit 6438a09bef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
245 changed files with 789 additions and 785 deletions

View File

@ -84,7 +84,7 @@ jobs:
needs:
- save-docker-login-token
- acquire-base-image
if: ${{ github.event.pull_request.head.repo.full_name == 'awslabs/smithy-rs' || toJSON(github.event.merge_group) != '{}' }}
if: ${{ github.event.pull_request.head.repo.full_name == 'smithy-lang/smithy-rs' || toJSON(github.event.merge_group) != '{}' }}
uses: ./.github/workflows/ci.yml
with:
run_sdk_examples: true

View File

@ -18,7 +18,7 @@ jobs:
# it uploads the image as a build artifact for other jobs to download and use.
acquire-base-image:
name: Acquire Base Image
if: ${{ github.event.pull_request.head.repo.full_name != 'awslabs/smithy-rs' }}
if: ${{ github.event.pull_request.head.repo.full_name != 'smithy-lang/smithy-rs' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
@ -39,7 +39,7 @@ jobs:
# Run shared CI after the Docker build image has either been rebuilt or found in ECR
ci:
needs: acquire-base-image
if: ${{ github.event.pull_request.head.repo.full_name != 'awslabs/smithy-rs' }}
if: ${{ github.event.pull_request.head.repo.full_name != 'smithy-lang/smithy-rs' }}
uses: ./.github/workflows/ci.yml
with:
run_sdk_examples: true

View File

@ -21,7 +21,7 @@ jobs:
# The login password is encrypted with the repo secret DOCKER_LOGIN_TOKEN_PASSPHRASE
save-docker-login-token:
name: Save a docker login token
if: ${{ github.event.pull_request.head.repo.full_name == 'awslabs/smithy-rs' }}
if: ${{ github.event.pull_request.head.repo.full_name == 'smithy-lang/smithy-rs' }}
outputs:
docker-login-password: ${{ steps.set-token.outputs.docker-login-password }}
permissions:
@ -51,7 +51,7 @@ jobs:
acquire-base-image:
name: Acquire Base Image
needs: save-docker-login-token
if: ${{ github.event.pull_request.head.repo.full_name == 'awslabs/smithy-rs' }}
if: ${{ github.event.pull_request.head.repo.full_name == 'smithy-lang/smithy-rs' }}
runs-on: smithy_ubuntu-latest_8-core
env:
ENCRYPTED_DOCKER_PASSWORD: ${{ needs.save-docker-login-token.outputs.docker-login-password }}
@ -86,7 +86,7 @@ jobs:
needs:
- save-docker-login-token
- acquire-base-image
if: ${{ github.event.pull_request.head.repo.full_name == 'awslabs/smithy-rs' }}
if: ${{ github.event.pull_request.head.repo.full_name == 'smithy-lang/smithy-rs' }}
uses: ./.github/workflows/ci.yml
with:
run_sdk_examples: true
@ -97,7 +97,7 @@ jobs:
# The PR bot requires a Docker build image, so make it depend on the `acquire-base-image` job.
pr_bot:
name: PR Bot
if: ${{ github.event.pull_request.head.repo.full_name == 'awslabs/smithy-rs' }}
if: ${{ github.event.pull_request.head.repo.full_name == 'smithy-lang/smithy-rs' }}
needs: acquire-base-image
uses: ./.github/workflows/pull-request-bot.yml
with:

View File

@ -25,7 +25,7 @@ jobs:
- name: Check out `smithy-rs`
uses: actions/checkout@v3
with:
repository: awslabs/smithy-rs
repository: smithy-lang/smithy-rs
ref: ${{ inputs.generate_ref }}
path: smithy-rs
- name: Check out `aws-sdk-rust`

File diff suppressed because it is too large Load Diff

View File

@ -1,40 +1,40 @@
* @awslabs/rust-sdk-owners
* @smithy-lang/aws-sdk-rust
# Server
/codegen-server-test/ @awslabs/smithy-rs-server
/codegen-server/ @awslabs/smithy-rs-server
/rust-runtime/aws-smithy-http-server/ @awslabs/smithy-rs-server
/codegen-server-test/ @smithy-lang/smithy-rs-server
/codegen-server/ @smithy-lang/smithy-rs-server
/rust-runtime/aws-smithy-http-server/ @smithy-lang/smithy-rs-server
# Python Server
/codegen-server-test/python/ @awslabs/smithy-rs-python-server @awslabs/smithy-rs-server
/codegen-server/python/ @awslabs/smithy-rs-python-server @awslabs/smithy-rs-server
/rust-runtime/aws-smithy-http-server-python/ @awslabs/smithy-rs-python-server @awslabs/smithy-rs-server
/codegen-server-test/python/ @smithy-lang/smithy-rs-server
/codegen-server/python/ @smithy-lang/smithy-rs-server
/rust-runtime/aws-smithy-http-server-python/ @smithy-lang/smithy-rs-server
# Typescript Server
/codegen-server-test/typescript/ @awslabs/smithy-rs-typescript-server @awslabs/smithy-rs-server
/codegen-server/typescript/ @awslabs/smithy-rs-typescript-server @awslabs/smithy-rs-server
/rust-runtime/aws-smithy-http-server-typescript/ @awslabs/smithy-rs-typescript-server @awslabs/smithy-rs-server
/codegen-server-test/typescript/ @smithy-lang/smithy-rs-server
/codegen-server/typescript/ @smithy-lang/smithy-rs-server
/rust-runtime/aws-smithy-http-server-typescript/ @smithy-lang/smithy-rs-server
# Shared ownership
/.github/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/CHANGELOG.md @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/CHANGELOG.next.toml @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/README.md @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/build.gradle.kts @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/buildSrc/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/codegen-core/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/design/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/examples/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/gradle.properties @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/tools/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/rust-runtime/aws-smithy-async/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/rust-runtime/aws-smithy-eventstream/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/rust-runtime/aws-smithy-http/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/rust-runtime/aws-smithy-json/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/rust-runtime/aws-smithy-protocol-test/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/rust-runtime/aws-smithy-types/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/rust-runtime/aws-smithy-types-convert/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/rust-runtime/aws-smithy-xml/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/rust-runtime/inlineable/ @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/rust-runtime/build.gradle.kts @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/rust-runtime/Cargo.toml @awslabs/rust-sdk-owners @awslabs/smithy-rs-server
/.github/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/CHANGELOG.md @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/CHANGELOG.next.toml @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/README.md @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/build.gradle.kts @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/buildSrc/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/codegen-core/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/design/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/examples/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/gradle.properties @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/tools/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/rust-runtime/aws-smithy-async/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/rust-runtime/aws-smithy-eventstream/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/rust-runtime/aws-smithy-http/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/rust-runtime/aws-smithy-json/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/rust-runtime/aws-smithy-protocol-test/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/rust-runtime/aws-smithy-types/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/rust-runtime/aws-smithy-types-convert/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/rust-runtime/aws-smithy-xml/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/rust-runtime/inlineable/ @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/rust-runtime/build.gradle.kts @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server
/rust-runtime/Cargo.toml @smithy-lang/aws-sdk-rust @smithy-lang/smithy-rs-server

View File

@ -1,4 +1,4 @@
Smithy Rust [![CI on Branch `main`](https://github.com/awslabs/smithy-rs/actions/workflows/ci-main.yml/badge.svg)](https://github.com/awslabs/smithy-rs/actions/workflows/ci-main.yml)
Smithy Rust [![CI on Branch `main`](https://github.com/smithy-lang/smithy-rs/actions/workflows/ci-main.yml/badge.svg)](https://github.com/smithy-lang/smithy-rs/actions/workflows/ci-main.yml)
==================================================================================
Smithy code generators for Rust that generate clients, servers, and the entire AWS SDK.

View File

@ -412,7 +412,7 @@
"age": 2
},
{
"message": "HTTP connector configuration has changed significantly. See the [upgrade guidance](https://github.com/awslabs/smithy-rs/discussions/3022) for details.",
"message": "HTTP connector configuration has changed significantly. See the [upgrade guidance](https://github.com/smithy-lang/smithy-rs/discussions/3022) for details.",
"meta": {
"bug": false,
"breaking": true,
@ -454,7 +454,7 @@
"age": 2
},
{
"message": "Struct members modeled as required are no longer wrapped in `Option`s [when possible](https://smithy.io/2.0/spec/aggregate-types.html#structure-member-optionality). For upgrade guidance and more info, see [here](https://github.com/awslabs/smithy-rs/discussions/2929).",
"message": "Struct members modeled as required are no longer wrapped in `Option`s [when possible](https://smithy.io/2.0/spec/aggregate-types.html#structure-member-optionality). For upgrade guidance and more info, see [here](https://github.com/smithy-lang/smithy-rs/discussions/2929).",
"meta": {
"bug": false,
"breaking": true,
@ -686,7 +686,7 @@
"age": 2
},
{
"message": "Retry classifiers are now configurable at the service and operation levels. Users may also define their own custom retry classifiers.\n\nFor more information, see the [guide](https://github.com/awslabs/smithy-rs/discussions/3050).\n",
"message": "Retry classifiers are now configurable at the service and operation levels. Users may also define their own custom retry classifiers.\n\nFor more information, see the [guide](https://github.com/smithy-lang/smithy-rs/discussions/3050).\n",
"meta": {
"bug": false,
"breaking": true,

View File

@ -8,7 +8,7 @@ Available template arguments:
--}}
<!--
IMPORTANT:
This README file is auto-generated by the build system in awslabs/smithy-rs.
This README file is auto-generated by the build system in smithy-lang/smithy-rs.
To update it, edit the `aws/SDK_README.md.hb` Handlebars template in that repository.
-->
@ -18,7 +18,7 @@ This repo contains the new AWS SDK for Rust (the SDK) and its [public roadmap](h
**Please Note**: The SDK is currently released as a developer preview, without support or assistance for use on production workloads. Any use in production is at your own risk.
The SDK is code generated from [Smithy models](https://awslabs.github.io/smithy/) that represent each AWS service. The code used to generate the SDK can be found in [smithy-rs](https://github.com/awslabs/smithy-rs).
The SDK is code generated from [Smithy models](https://awslabs.github.io/smithy/) that represent each AWS service. The code used to generate the SDK can be found in [smithy-rs](https://github.com/smithy-lang/smithy-rs).
## Getting Started with the SDK
@ -94,8 +94,8 @@ The SDK currently requires a minimum of Rust {{msrv}}, and is not guaranteed to
## Additional Resources
- Design docs - Design documentation for the SDK lives in the [design folder of smithy-rs](https://github.com/awslabs/smithy-rs/tree/main/design).
- Runtime / Handwritten code: The Rust Runtime code that underpins the SDK can be accessed [here](https://github.com/awslabs/smithy-rs/tree/main/rust-runtime) and [here](https://github.com/awslabs/smithy-rs/tree/main/aws/rust-runtime). This code is copied into this repo as part of code generation.
- Design docs - Design documentation for the SDK lives in the [design folder of smithy-rs](https://github.com/smithy-lang/smithy-rs/tree/main/design).
- Runtime / Handwritten code: The Rust Runtime code that underpins the SDK can be accessed [here](https://github.com/smithy-lang/smithy-rs/tree/main/rust-runtime) and [here](https://github.com/smithy-lang/smithy-rs/tree/main/aws/rust-runtime). This code is copied into this repo as part of code generation.
- [Code Examples](./examples)
- [API reference documentation (rustdoc)](https://awslabs.github.io/aws-sdk-rust/)

View File

@ -6,7 +6,7 @@ description = "AWS SDK config and credential provider implementations."
edition = "2021"
exclude = ["test-data/*", "integration-tests/*"]
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
[features]
client-hyper = ["aws-smithy-runtime/connector-hyper-0-14-x"]

View File

@ -68,5 +68,5 @@ This project is licensed under the Apache-2.0 License.
[Usage examples]: https://github.com/awslabs/aws-sdk-rust/tree/main/examples
<!-- anchor_start:footer -->
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/awslabs/smithy-rs) code generator.
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/smithy-lang/smithy-rs) code generator.
<!-- anchor_end:footer -->

View File

@ -35,7 +35,7 @@ allowed_external_types = [
"http::uri::Uri",
"tower_service::Service",
# TODO(https://github.com/awslabs/smithy-rs/issues/1193): Decide if the following should be exposed
# TODO(https://github.com/smithy-lang/smithy-rs/issues/1193): Decide if the following should be exposed
"hyper::client::connect::Connection",
"tokio::io::async_read::AsyncRead",
"tokio::io::async_write::AsyncWrite",

View File

@ -33,7 +33,7 @@ impl Builder {
/// Resolve default timeout configuration
pub async fn timeout_config(self) -> TimeoutConfig {
// TODO(https://github.com/awslabs/smithy-rs/issues/1732): Implement complete timeout defaults specification
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1732): Implement complete timeout defaults specification
TimeoutConfig::builder()
.connect_timeout(SDK_DEFAULT_CONNECT_TIMEOUT)
.build()

View File

@ -298,7 +298,7 @@ mod loader {
/// Deprecated. Don't use.
#[deprecated(
note = "HTTP connector configuration changed. See https://github.com/awslabs/smithy-rs/discussions/3022 for upgrade guidance."
note = "HTTP connector configuration changed. See https://github.com/smithy-lang/smithy-rs/discussions/3022 for upgrade guidance."
)]
pub fn http_connector(self, http_client: impl HttpClient + 'static) -> Self {
self.http_client(http_client)

View File

@ -348,7 +348,7 @@ impl ProviderConfig {
/// Deprecated. Don't use.
#[deprecated(
note = "HTTP connector configuration changed. See https://github.com/awslabs/smithy-rs/discussions/3022 for upgrade guidance."
note = "HTTP connector configuration changed. See https://github.com/smithy-lang/smithy-rs/discussions/3022 for upgrade guidance."
)]
pub fn with_tcp_connector(self, http_client: impl HttpClient + 'static) -> Self {
self.with_http_client(http_client)

View File

@ -5,7 +5,7 @@ authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
description = "Types for AWS SDK credentials."
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
[features]
hardcoded-credentials = []

View File

@ -6,5 +6,5 @@ This crate provides types concerned with AWS SDK credentials including:
* Concrete implementations of credentials caching
<!-- anchor_start:footer -->
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/awslabs/smithy-rs) code generator. In most cases, it should not be used directly.
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/smithy-lang/smithy-rs) code generator. In most cases, it should not be used directly.
<!-- anchor_end:footer -->

View File

@ -5,7 +5,7 @@ authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@a
description = "This crate is no longer used by the AWS SDK and is deprecated."
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
[package.metadata.docs.rs]
all-features = true

View File

@ -3,5 +3,5 @@
This crate is no longer used by the AWS SDK and is deprecated.
<!-- anchor_start:footer -->
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/awslabs/smithy-rs) code generator. In most cases, it should not be used directly.
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/smithy-lang/smithy-rs) code generator. In most cases, it should not be used directly.
<!-- anchor_end:footer -->

View File

@ -5,7 +5,7 @@ authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@a
description = "HTTP specific AWS SDK behaviors."
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
[dependencies]
aws-smithy-http = { path = "../../../rust-runtime/aws-smithy-http" }

View File

@ -6,5 +6,5 @@ This crate provides middleware for AWS SDKs using HTTP including:
* Credential loading async middleware
<!-- anchor_start:footer -->
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/awslabs/smithy-rs) code generator. In most cases, it should not be used directly.
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/smithy-lang/smithy-rs) code generator. In most cases, it should not be used directly.
<!-- anchor_end:footer -->

View File

@ -5,7 +5,7 @@ authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@a
description = "This crate has been removed and is deprecated."
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
[package.metadata.docs.rs]
all-features = true

View File

@ -3,5 +3,5 @@
This crate is no longer used by the AWS SDK.
<!-- anchor_start:footer -->
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/awslabs/smithy-rs) code generator. In most cases, it should not be used directly.
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/smithy-lang/smithy-rs) code generator. In most cases, it should not be used directly.
<!-- anchor_end:footer -->

View File

@ -9,7 +9,7 @@ are to allow this crate to be compilable and testable in isolation, no client co
edition = "2021"
license = "Apache-2.0"
publish = false
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
[dependencies]
aws-credential-types = { path = "../aws-credential-types" }

View File

@ -5,5 +5,5 @@ SDKs. This exists to facilitate writing complex snippets of code that can be tes
without needing to create and publish an entire additional crate.
<!-- anchor_start:footer -->
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/awslabs/smithy-rs) code generator. In most cases, it should not be used directly.
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/smithy-lang/smithy-rs) code generator. In most cases, it should not be used directly.
<!-- anchor_end:footer -->

View File

@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
// TODO(https://github.com/awslabs/smithy-rs/issues/2902): Code generate this documentation so that service-specific examples can be added.
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2902): Code generate this documentation so that service-specific examples can be added.
//! Presigned request types and configuration.
//!
//! The [`Client`](crate::Client) is used to create presigned requests. They are made

View File

@ -5,7 +5,7 @@ authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
description = "Runtime support code for the AWS SDK. This isn't intended to be used directly."
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
[dependencies]

View File

@ -4,5 +4,5 @@ aws-runtime-api
Runtime support code for the AWS SDK. This crate isn't intended to be used directly.
<!-- anchor_start:footer -->
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/awslabs/smithy-rs) code generator. In most cases, it should not be used directly.
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/smithy-lang/smithy-rs) code generator. In most cases, it should not be used directly.
<!-- anchor_end:footer -->

View File

@ -5,7 +5,7 @@ authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
description = "Runtime support code for the AWS SDK. This crate isn't intended to be used directly."
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
[features]
event-stream = ["dep:aws-smithy-eventstream", "aws-sigv4/sign-eventstream"]

View File

@ -4,5 +4,5 @@ aws-runtime
Runtime support code for the AWS SDK. This crate isn't intended to be used directly.
<!-- anchor_start:footer -->
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/awslabs/smithy-rs) code generator. In most cases, it should not be used directly.
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/smithy-lang/smithy-rs) code generator. In most cases, it should not be used directly.
<!-- anchor_end:footer -->

View File

@ -5,7 +5,7 @@ authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@a
description = "This crate is no longer used by the AWS SDK and is deprecated."
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
[package.metadata.docs.rs]
all-features = true

View File

@ -3,5 +3,5 @@
This crate is no longer used by the AWS SDK and is deprecated.
<!-- anchor_start:footer -->
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/awslabs/smithy-rs) code generator. In most cases, it should not be used directly.
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/smithy-lang/smithy-rs) code generator. In most cases, it should not be used directly.
<!-- anchor_end:footer -->

View File

@ -8,6 +8,6 @@ allowed_external_types = [
"http::request::Request",
"aws_smithy_runtime_api::client::identity::Identity",
# TODO(https://github.com/awslabs/smithy-rs/issues/1193): Once tooling permits it, only allow the following types in the `event-stream` feature
# TODO(https://github.com/smithy-lang/smithy-rs/issues/1193): Once tooling permits it, only allow the following types in the `event-stream` feature
"aws_smithy_eventstream::frame::SignMessage",
]

View File

@ -6,7 +6,7 @@ description = "SigV4 signer for HTTP requests and Event Stream messages."
edition = "2021"
exclude = ["aws-sig-v4-test-suite/*"]
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
[features]
default = ["sign-http"]

View File

@ -3,5 +3,5 @@
Low-level SigV4 request signing implementations.
<!-- anchor_start:footer -->
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/awslabs/smithy-rs) code generator. In most cases, it should not be used directly.
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/smithy-lang/smithy-rs) code generator. In most cases, it should not be used directly.
<!-- anchor_end:footer -->

View File

@ -1,7 +1,7 @@
allowed_external_types = [
# TODO(refactorHttp): Remove this and remove the signing helpers
"http::request::Request",
# TODO(https://github.com/awslabs/smithy-rs/issues/1193): Once tooling permits it, only allow the following types in the `event-stream` feature
# TODO(https://github.com/smithy-lang/smithy-rs/issues/1193): Once tooling permits it, only allow the following types in the `event-stream` feature
"aws_smithy_types::event_stream::Message",
"aws_smithy_runtime_api::client::identity::Identity"
]

View File

@ -95,7 +95,7 @@ mod tests {
use crate::date_time::test_parsers::{parse_date, parse_date_time};
use time::format_description::well_known::Rfc3339;
// TODO(https://github.com/awslabs/smithy-rs/issues/1857)
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1857)
#[cfg(not(any(target_arch = "powerpc", target_arch = "x86")))]
#[test]
fn date_format() {
@ -109,7 +109,7 @@ mod tests {
assert_eq!("01000102", format_date(time));
}
// TODO(https://github.com/awslabs/smithy-rs/issues/1857)
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1857)
#[cfg(not(any(target_arch = "powerpc", target_arch = "x86")))]
#[test]
fn date_time_format() {
@ -135,7 +135,7 @@ mod tests {
assert_eq!("20150830", format_date(time));
}
// TODO(https://github.com/awslabs/smithy-rs/issues/1857)
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1857)
#[cfg(not(any(target_arch = "powerpc", target_arch = "x86")))]
#[test]
fn test_truncate_subsecs() {

View File

@ -5,7 +5,7 @@ authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@a
description = "Cross-service types for the AWS SDK."
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
[features]
# This feature is to be used only for doc comments

View File

@ -4,5 +4,5 @@ Cross-service types for AWS SDKs. Generally, types in this module will be re-exp
or [`aws-config`](https://crates.io/crates/aws-config).
<!-- anchor_start:footer -->
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/awslabs/smithy-rs) code generator. In most cases, it should not be used directly.
This crate is part of the [AWS SDK for Rust](https://awslabs.github.io/aws-sdk-rust/) and the [smithy-rs](https://github.com/smithy-lang/smithy-rs) code generator. In most cases, it should not be used directly.
<!-- anchor_end:footer -->

View File

@ -105,7 +105,7 @@ private fun HttpChecksumTrait.checksumAlgorithmToStr(
}
// This generator was implemented based on this spec:
// https://awslabs.github.io/smithy/1.0/spec/aws/aws-core.html#http-request-checksums
// https://smithy-lang.github.io/smithy/1.0/spec/aws/aws-core.html#http-request-checksums
class HttpRequestChecksumCustomization(
private val codegenContext: ClientCodegenContext,
private val operationShape: OperationShape,

View File

@ -109,7 +109,7 @@ fun usesDeprecatedBuiltIns(testOperationInput: EndpointTestOperationInput): Bool
* ```
*
* Eventually, we need to pull this test into generic smithy. However, this relies on generic smithy clients
* supporting middleware and being instantiable from config (https://github.com/awslabs/smithy-rs/issues/2194)
* supporting middleware and being instantiable from config (https://github.com/smithy-lang/smithy-rs/issues/2194)
*
* Doing this in AWS codegen allows us to actually integration test generated clients.
*/

View File

@ -8,7 +8,7 @@ use smithy.test#httpRequestTests
apply NotFound @httpResponseTests([
{
id: "HeadObjectEmptyBody",
documentation: "This test case validates https://github.com/awslabs/smithy-rs/issues/456",
documentation: "This test case validates https://github.com/smithy-lang/smithy-rs/issues/456",
params: {
},
bodyMediaType: "application/xml",

View File

@ -5,7 +5,7 @@ authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "John DiSanti <jdisant
description = "S3 benchmark"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
[dependencies]

View File

@ -12,14 +12,14 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/awslabs/smithy-rs.git"
"url": "git+https://github.com/smithy-lang/smithy-rs.git"
},
"author": "AWS Rust SDK Team",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/awslabs/smithy-rs/issues"
"url": "https://github.com/smithy-lang/smithy-rs/issues"
},
"homepage": "https://github.com/awslabs/smithy-rs#readme",
"homepage": "https://github.com/smithy-lang/smithy-rs#readme",
"publish": false,
"devDependencies": {
"@types/node": "20.1.7",

View File

@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -3,7 +3,7 @@ name = "ec2-tests"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
[dev-dependencies]

View File

@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["Russell Cohen <rcoh@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -4,7 +4,7 @@ version = "0.1.0"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Zelda Hessler <zhessler@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
[dev-dependencies]

View File

@ -8,7 +8,7 @@ when default features are disabled for all SDK and runtime crates.
"""
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["John DiSanti <jdisanti@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["Russell Cohen <rcoh@amazon.com>", "Shing Lyu <shinglyu@amazon.com"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["Russell Cohen <rcoh@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["Russell Cohen <rcoh@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["Russell Cohen <rcoh@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -5,7 +5,7 @@ version = "0.1.0"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "John DiSanti <jdisanti@amazon.com>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
[dev-dependencies]

View File

@ -9,7 +9,7 @@ when target is set to wasm32-wasi for all SDK and runtime crates.
"""
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/awslabs/smithy-rs"
repository = "https://github.com/smithy-lang/smithy-rs"
publish = false
[lib]

View File

@ -10,7 +10,7 @@ allowed_external_types = [
# only allowed in from impl for presigned request
"http::request::Request",
# TODO(https://github.com/awslabs/smithy-rs/issues/1193): Once tooling permits it, only allow the following types in the `event-stream` feature
# TODO(https://github.com/smithy-lang/smithy-rs/issues/1193): Once tooling permits it, only allow the following types in the `event-stream` feature
"aws_smithy_eventstream::*",
# Consider moving making this crate 1.0

View File

@ -204,7 +204,7 @@ fun Project.registerModifyMtimeTask() {
// hashes coincide.
// Debugging tip: it is useful to run with `CARGO_LOG=cargo::core::compiler::fingerprint=trace` to learn why Cargo
// determines a compilation unit needs a rebuild.
// For more information see https://github.com/awslabs/smithy-rs/issues/1412.
// For more information see https://github.com/smithy-lang/smithy-rs/issues/1412.
this.tasks.register("modifyMtime") {
description = "modify Rust files' `mtime` if the contents did not change"
dependsOn("generateSmithyBuild")

View File

@ -48,7 +48,7 @@ private class HttpConnectorConfigCustomization(
"""
/// Deprecated. Don't use.
##[deprecated(
note = "HTTP connector configuration changed. See https://github.com/awslabs/smithy-rs/discussions/3022 for upgrade guidance."
note = "HTTP connector configuration changed. See https://github.com/smithy-lang/smithy-rs/discussions/3022 for upgrade guidance."
)]
pub fn http_connector(&self) -> Option<#{SharedHttpClient}> {
self.runtime_components.http_client()
@ -68,7 +68,7 @@ private class HttpConnectorConfigCustomization(
"""
/// Deprecated. Don't use.
##[deprecated(
note = "HTTP connector configuration changed. See https://github.com/awslabs/smithy-rs/discussions/3022 for upgrade guidance."
note = "HTTP connector configuration changed. See https://github.com/smithy-lang/smithy-rs/discussions/3022 for upgrade guidance."
)]
pub fn http_connector(self, http_client: impl #{HttpClient} + 'static) -> Self {
self.http_client(http_client)
@ -76,7 +76,7 @@ private class HttpConnectorConfigCustomization(
/// Deprecated. Don't use.
##[deprecated(
note = "HTTP connector configuration changed. See https://github.com/awslabs/smithy-rs/discussions/3022 for upgrade guidance."
note = "HTTP connector configuration changed. See https://github.com/smithy-lang/smithy-rs/discussions/3022 for upgrade guidance."
)]
pub fn set_http_connector(&mut self, http_client: Option<#{SharedHttpClient}>) -> &mut Self {
self.set_http_client(http_client)

View File

@ -29,7 +29,7 @@ import software.amazon.smithy.rust.codegen.core.util.orNull
import software.amazon.smithy.rust.codegen.core.util.outputShape
import software.amazon.smithy.rust.codegen.core.util.toPascalCase
// TODO(https://github.com/awslabs/smithy-rs/issues/1013) Support pagination when the idempotency trait is present
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1013) Support pagination when the idempotency trait is present
fun OperationShape.isPaginated(model: Model) =
hasTrait<PaginatedTrait>() && inputShape(model)
.findMemberWithTrait<IdempotencyTokenTrait>(model) == null

View File

@ -530,7 +530,7 @@ class DefaultProtocolTestGenerator(
// These tests are not even attempted to be generated, either because they will not compile
// or because they are flaky
private val DisableTests = setOf<String>(
// TODO(https://github.com/awslabs/smithy-rs/issues/2891): Implement support for `@requestCompression`
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2891): Implement support for `@requestCompression`
"SDKAppendedGzipAfterProvidedEncoding_restJson1",
"SDKAppendedGzipAfterProvidedEncoding_restXml",
"SDKAppendsGzipAndIgnoresHttpProvidedEncoding_awsJson1_0",

View File

@ -11,7 +11,7 @@ use smithy.framework#ValidationException
service ConstraintsService {
operations: [
ConstrainedShapesOperation,
// See https://github.com/awslabs/smithy-rs/issues/2760 for why testing operations reaching
// See https://github.com/smithy-lang/smithy-rs/issues/2760 for why testing operations reaching
// constrained shapes that only lie in the output is important.
ConstrainedShapesOnlyInOutputOperation,
ConstrainedHttpBoundShapesOperation,
@ -37,7 +37,7 @@ service ConstraintsService {
QueryParamsTargetingMapOfEnumStringOperation,
QueryParamsTargetingMapOfListOfEnumStringOperation,
// TODO(https://github.com/awslabs/smithy-rs/issues/1431)
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1431)
// HttpPrefixHeadersTargetingMapOfEnumStringOperation,
NonStreamingBlobOperation,
@ -274,7 +274,7 @@ structure ConstrainedHttpBoundShapesOperationInputOutput {
@httpHeader("X-Range-Long-List")
rangeLongListHeader: ListOfRangeLong,
// TODO(https://github.com/awslabs/smithy-rs/issues/1431)
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1431)
// @httpHeader("X-Enum")
//enumStringHeader: EnumString,
@ -498,7 +498,7 @@ structure ConA {
mapOfLengthString: MapOfLengthString,
listOfLengthBlob: ListOfLengthBlob,
// TODO(https://github.com/awslabs/smithy-rs/issues/1401): a `set` shape is
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1401): a `set` shape is
// just a `list` shape with `uniqueItems`, which hasn't been implemented yet.
// setOfLengthBlob: SetOfLengthBlob,
mapOfLengthBlob: MapOfLengthBlob,
@ -948,7 +948,7 @@ structure ConstrainedShapesOnlyInOutputOperationOutput {
list: ConstrainedListInOutput
map: ConstrainedMapInOutput
// Unions were not affected by
// https://github.com/awslabs/smithy-rs/issues/2760, but testing anyway for
// https://github.com/smithy-lang/smithy-rs/issues/2760, but testing anyway for
// good measure.
union: ConstrainedUnionInOutput
}

View File

@ -95,7 +95,7 @@ structure InnermostShape {
@required
aDouble: Double,
// TODO(https://github.com/awslabs/smithy-rs/issues/312)
// TODO(https://github.com/smithy-lang/smithy-rs/issues/312)
// @required
// aBigInteger: BigInteger,

View File

@ -3,7 +3,7 @@ namespace casing
use aws.protocols#awsJson1_1
// TODO(https://github.com/awslabs/smithy-rs/issues/2340): The commented part of the model breaks the generator in a
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2340): The commented part of the model breaks the generator in a
// miriad of ways. Any solution to the linked issue must address this.
/// Confounds model generation machinery with lots of problematic casing

View File

@ -1,6 +1,6 @@
$version: "1.0"
// TODO(https://github.com/awslabs/smithy-rs/issues/2215)
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2215)
// This is a temporary model to test AwsJson 1.0 with @streaming.
// This model will be removed when protocol tests support @streaming.

View File

@ -65,7 +65,7 @@ service RestJsonExtras {
NullInNonSparse,
CaseInsensitiveErrorOperation,
EmptyStructWithContentOnWireOp,
// TODO(https://github.com/awslabs/smithy-rs/issues/2968): Remove the following once these tests are included in Smithy
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2968): Remove the following once these tests are included in Smithy
// They're being added in https://github.com/smithy-lang/smithy/pull/1908
HttpPayloadWithUnion,
],
@ -317,7 +317,7 @@ operation CaseInsensitiveErrorOperation {
@httpResponseTests([
{
documentation: "Upper case error modeled lower case. See: https://github.com/awslabs/smithy-rs/blob/6c21fb0eb377c7120a8179f4537ba99a4b50ba96/rust-runtime/inlineable/src/json_errors.rs#L51-L51",
documentation: "Upper case error modeled lower case. See: https://github.com/smithy-lang/smithy-rs/blob/6c21fb0eb377c7120a8179f4537ba99a4b50ba96/rust-runtime/inlineable/src/json_errors.rs#L51-L51",
id: "UpperErrorModeledLower",
protocol: "aws.protocols#restJson1",
code: 500,

View File

@ -485,7 +485,7 @@ class Attribute(val inner: Writable, val isDeriveHelper: Boolean = false) {
// These were supposed to be a part of companion object but we decided to move it out to here to avoid NPE
// You can find the discussion here.
// https://github.com/awslabs/smithy-rs/discussions/2248
// https://github.com/smithy-lang/smithy-rs/discussions/2248
public fun SerdeSerialize(): Attribute {
return Attribute(cfgAttr(all(writable("aws_sdk_unstable"), feature("serde-serialize")), derive(RuntimeType.SerdeSerialize)))
}

View File

@ -237,7 +237,7 @@ open class RustCrate(
}
}
// TODO(https://github.com/awslabs/smithy-rs/issues/2341): Remove unconstrained/constrained from codegen-core
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2341): Remove unconstrained/constrained from codegen-core
val UnconstrainedModule = RustModule.private("unconstrained")
val ConstrainedModule = RustModule.private("constrained")

View File

@ -103,7 +103,7 @@ class BaseSymbolMetadataProvider(
is UnionShape, is CollectionShape, is MapShape -> RustMetadata(visibility = Visibility.PUBLIC)
// This covers strings with the enum trait for now, and can be removed once we're fully on EnumShape
// TODO(https://github.com/awslabs/smithy-rs/issues/1700): Remove this `is StringShape` match arm
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1700): Remove this `is StringShape` match arm
is StringShape -> RustMetadata(visibility = Visibility.PUBLIC)
else -> TODO("Unrecognized container type: $container")

View File

@ -226,11 +226,11 @@ open class SymbolVisitor(
}
override fun bigIntegerShape(shape: BigIntegerShape?): Symbol {
TODO("Not yet implemented: https://github.com/awslabs/smithy-rs/issues/312")
TODO("Not yet implemented: https://github.com/smithy-lang/smithy-rs/issues/312")
}
override fun bigDecimalShape(shape: BigDecimalShape?): Symbol {
TODO("Not yet implemented: https://github.com/awslabs/smithy-rs/issues/312")
TODO("Not yet implemented: https://github.com/smithy-lang/smithy-rs/issues/312")
}
override fun operationShape(shape: OperationShape): Symbol {

View File

@ -29,7 +29,7 @@ private fun hasStreamingOperations(model: Model): Boolean {
}
}
// TODO(https://github.com/awslabs/smithy-rs/issues/2111): Fix this logic to consider collection/map shapes
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2111): Fix this logic to consider collection/map shapes
private fun structUnionMembersMatchPredicate(model: Model, predicate: (Shape) -> Boolean): Boolean =
model.structureShapes.any { structure ->
structure.members().any { member -> predicate(model.expectShape(member.target)) }

View File

@ -83,7 +83,7 @@ interface CoreCodegenDecorator<CodegenContext, CodegenSettings> {
baseCustomizations: List<StructureCustomization>,
): List<StructureCustomization> = baseCustomizations
// TODO(https://github.com/awslabs/smithy-rs/issues/1401): Move builder customizations into `ClientCodegenDecorator`
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1401): Move builder customizations into `ClientCodegenDecorator`
/**
* Hook to customize generated builders.
*/

View File

@ -51,7 +51,7 @@ import software.amazon.smithy.rust.codegen.core.util.letIf
import software.amazon.smithy.rust.codegen.core.util.redactIfNecessary
import software.amazon.smithy.rust.codegen.core.util.toSnakeCase
// TODO(https://github.com/awslabs/smithy-rs/issues/1401) This builder generator is only used by the client.
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1401) This builder generator is only used by the client.
// Move this entire file, and its tests, to `codegen-client`.
/** BuilderGenerator customization sections */
@ -244,7 +244,7 @@ class BuilderGenerator(
member: MemberShape,
memberName: String,
) {
// TODO(https://github.com/awslabs/smithy-rs/issues/1302): This `asOptional()` call is superfluous except in
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1302): This `asOptional()` call is superfluous except in
// the case where the shape is a `@streaming` blob, because [StreamingTraitSymbolProvider] always generates
// a non `Option`al target type: in all other cases the client generates `Option`al types.
val inputType = outerType.asOptional()
@ -266,7 +266,7 @@ class BuilderGenerator(
member: MemberShape,
memberName: String,
) {
// TODO(https://github.com/awslabs/smithy-rs/issues/1302): This `asOptional()` call is superfluous except in
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1302): This `asOptional()` call is superfluous except in
// the case where the shape is a `@streaming` blob, because [StreamingTraitSymbolProvider] always generates
// a non `Option`al target type: in all other cases the client generates `Option`al types.
val inputType = outerType.asOptional()

View File

@ -88,7 +88,7 @@ class EnumMemberModel(
*
* Ordinarily, the symbol provider would determine this name, but the enum trait doesn't allow for this.
*
* TODO(https://github.com/awslabs/smithy-rs/issues/1700): Remove this function when refactoring to EnumShape.
* TODO(https://github.com/smithy-lang/smithy-rs/issues/1700): Remove this function when refactoring to EnumShape.
*/
@Deprecated("This function will go away when we handle EnumShape instead of EnumTrait")
fun toEnumVariantName(

View File

@ -80,7 +80,7 @@ class LibRsGenerator(
writeTo(this)
}
// TODO(https://github.com/awslabs/smithy-rs/issues/69): Generate a basic example for all crates (eg. select first operation and render an example of usage)
// TODO(https://github.com/smithy-lang/smithy-rs/issues/69): Generate a basic example for all crates (eg. select first operation and render an example of usage)
settings.examplesUri?.also { uri ->
containerDocs("Examples can be found [here]($uri).")
}

View File

@ -187,7 +187,7 @@ class HttpBindingGenerator(
let out: std::result::Result<_, _> = headers.map(|(key, header_name)| {
let values = header_map.get_all(header_name);
#T(values.iter()).map(|v| (key.to_string(), v.expect(
"we have checked there is at least one value for this header name; please file a bug report under https://github.com/awslabs/smithy-rs/issues"
"we have checked there is at least one value for this header name; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues"
)))
}).collect();
""",

View File

@ -50,11 +50,11 @@ class AwsJsonHttpBindingResolver(
private fun bindings(shape: ToShapeId): List<HttpBindingDescriptor> {
val members = shape.let { model.expectShape(it.toShapeId()) }.members()
// TODO(https://github.com/awslabs/smithy-rs/issues/2237): support non-streaming members too
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2237): support non-streaming members too
if (members.size > 1 && members.any { it.isStreaming(model) }) {
throw CodegenException(
"We only support one payload member if that payload contains a streaming member." +
"Tracking issue to relax this constraint: https://github.com/awslabs/smithy-rs/issues/2237",
"Tracking issue to relax this constraint: https://github.com/smithy-lang/smithy-rs/issues/2237",
)
}

View File

@ -87,7 +87,7 @@ open class RestJson(val codegenContext: CodegenContext) : Protocol {
*
* But it's a SHOULD; we could strip the namespace if we wanted to. In fact, we did so in smithy-rs versions
* 0.52.0 to 0.55.4; see:
* - https://github.com/awslabs/smithy-rs/pull/1982
* - https://github.com/smithy-lang/smithy-rs/pull/1982
* - https://github.com/awslabs/smithy/pull/1493
* - https://github.com/awslabs/smithy/issues/1494
*/

View File

@ -341,7 +341,7 @@ class EventStreamUnmarshallerGenerator(
// TODO(EventStream): Errors on the operation can be disjoint with errors in the union,
// so we need to generate a new top-level Error type for each event stream union.
when (codegenTarget) {
// TODO(https://github.com/awslabs/smithy-rs/issues/1970) It should be possible to unify these branches now
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1970) It should be possible to unify these branches now
CodegenTarget.CLIENT -> {
val target = model.expectShape(member.target, StructureShape::class.java)
val parser = protocol.structuredDataParser().errorParser(target)

View File

@ -15,7 +15,7 @@ import software.amazon.smithy.rust.codegen.core.rustlang.rustBlock
class SerializerUtil(private val model: Model) {
fun RustWriter.ignoreZeroValues(shape: MemberShape, value: ValueExpression, inner: Writable) {
// Required shapes should always be serialized
// See https://github.com/awslabs/smithy-rs/issues/230 and https://github.com/aws/aws-sdk-go-v2/pull/1129
// See https://github.com/smithy-lang/smithy-rs/issues/230 and https://github.com/aws/aws-sdk-go-v2/pull/1129
if (
shape.isRequired ||
// Zero values are always serialized in lists and collections, this only applies to structures

View File

@ -109,7 +109,7 @@ object TestWorkspace {
)
newProject.resolve("rust-toolchain.toml").writeText(
// help rust select the right version when we run cargo test
// TODO(https://github.com/awslabs/smithy-rs/issues/2048): load this from the msrv property using a
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2048): load this from the msrv property using a
// method as we do for runtime crate versions
"[toolchain]\nchannel = \"1.70.0\"\n",
)

View File

@ -125,6 +125,6 @@ fun String.toSnakeCase(): String {
}
fun String.toPascalCase(): String {
// TODO(https://github.com/awslabs/smithy-rs/issues/3047): consider using our updated toSnakeCase (but need to audit diff)
// TODO(https://github.com/smithy-lang/smithy-rs/issues/3047): consider using our updated toSnakeCase (but need to audit diff)
return CaseUtils.toSnakeCase(this).let { CaseUtils.toPascalCase(it) }
}

View File

@ -71,7 +71,7 @@ val allCodegenTests = "../codegen-core/common-test-models".let { commonModels ->
"aws.protocoltests.restjson.validation#RestJsonValidation",
"rest_json_validation",
// `@range` trait is used on floating point shapes, which we deliberately don't want to support.
// See https://github.com/awslabs/smithy-rs/issues/1401.
// See https://github.com/smithy-lang/smithy-rs/issues/1401.
extraConfig = """, "codegen": { "ignoreUnsupportedConstraints": true } """,
),
CodegenTest("aws.protocoltests.json10#JsonRpc10", "json_rpc10"),

View File

@ -67,12 +67,12 @@ val allCodegenTests = "../../codegen-core/common-test-models".let { commonModels
"rest_json_extras",
imports = listOf("$commonModels/rest-json-extras.smithy"),
),
// TODO(https://github.com/awslabs/smithy-rs/issues/2477)
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2477)
// CodegenTest(
// "aws.protocoltests.restjson.validation#RestJsonValidation",
// "rest_json_validation",
// // `@range` trait is used on floating point shapes, which we deliberately don't want to support.
// // See https://github.com/awslabs/smithy-rs/issues/1401.
// // See https://github.com/smithy-lang/smithy-rs/issues/1401.
// extraConfig = """, "codegen": { "ignoreUnsupportedConstraints": true } """,
// ),
CodegenTest(

View File

@ -1,4 +1,4 @@
/// TODO(https://github.com/awslabs/smithy-rs/issues/1508)
/// TODO(https://github.com/smithy-lang/smithy-rs/issues/1508)
/// reconcile this model with the main one living inside codegen-server-test/model/pokemon.smithy
/// once the Typescript implementation supports Streaming and Union shapes.
$version: "1.0"

View File

@ -218,7 +218,7 @@ class PythonApplicationGenerator(
}
rustTemplate(
"""
let mut service = #{tower}::util::BoxCloneService::new(builder.build().expect("one or more operations do not have a registered handler; this is a bug in the Python code generator, please file a bug report under https://github.com/awslabs/smithy-rs/issues"));
let mut service = #{tower}::util::BoxCloneService::new(builder.build().expect("one or more operations do not have a registered handler; this is a bug in the Python code generator, please file a bug report under https://github.com/smithy-lang/smithy-rs/issues"));
{
use #{tower}::Layer;

View File

@ -54,7 +54,7 @@ class PythonServerOperationHandlerGenerator(
val operationName = symbolProvider.toSymbol(operation).name
val input = "crate::input::${operationName.toPascalCase()}Input"
val output = "crate::output::${operationName.toPascalCase()}Output"
// TODO(https://github.com/awslabs/smithy-rs/issues/2552) - Use to pascalCase for error shapes.
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2552) - Use to pascalCase for error shapes.
val error = "crate::error::${operationName}Error"
val fnName = RustReservedWords.escapeIfNeeded(symbolProvider.toSymbol(operation).name.toSnakeCase())

View File

@ -50,7 +50,7 @@ class ConstrainedShapeSymbolMetadataProvider(
// We should _always_ be able to `#[derive(Debug)]`: all constrained shapes' types are simply tuple newtypes
// wrapping a single type which always implements `Debug`.
// The wrapped type may not _derive_ `Debug` though, hence why this line is required; see https://github.com/awslabs/smithy-rs/issues/2582.
// The wrapped type may not _derive_ `Debug` though, hence why this line is required; see https://github.com/smithy-lang/smithy-rs/issues/2582.
derives += RuntimeType.Debug
val visibility = Visibility.publicIf(constrainedTypes, Visibility.PUBCRATE)

View File

@ -77,7 +77,7 @@ open class ConstrainedShapeSymbolProvider(
override fun toSymbol(shape: Shape): Symbol {
return when (shape) {
is MemberShape -> {
// TODO(https://github.com/awslabs/smithy-rs/issues/1401) Member shapes can have constraint traits
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1401) Member shapes can have constraint traits
// (constraint trait precedence).
val target = model.expectShape(shape.target)
val targetSymbol = this.toSymbol(target)

View File

@ -88,7 +88,7 @@ val supportedCollectionConstraintTraits = setOf(
*/
fun Shape.isDirectlyConstrained(symbolProvider: SymbolProvider): Boolean = when (this) {
is StructureShape -> {
// TODO(https://github.com/awslabs/smithy-rs/issues/1302, https://github.com/awslabs/smithy/issues/1179):
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1302, https://github.com/awslabs/smithy/issues/1179):
// The only reason why the functions in this file have
// to take in a `SymbolProvider` is because non-`required` blob streaming members are interpreted as
// `required`, so we can't use `member.isOptional` here.
@ -111,7 +111,7 @@ fun Shape.isTransitivelyButNotDirectlyConstrained(model: Model, symbolProvider:
fun Shape.canReachConstrainedShape(model: Model, symbolProvider: SymbolProvider): Boolean =
if (this is MemberShape) {
// TODO(https://github.com/awslabs/smithy-rs/issues/1401) Constraint traits on member shapes are not implemented
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1401) Constraint traits on member shapes are not implemented
// yet. Also, note that a walker over a member shape can, perhaps counterintuitively, reach the _containing_ shape,
// so we can't simply delegate to the `else` branch when we implement them.
this.targetCanReachConstrainedShape(model, symbolProvider)

View File

@ -42,7 +42,7 @@ class PatternTraitEscapedSpecialCharsValidator : AbstractValidator() {
"""
Non-escaped special characters used inside `@pattern`.
You must escape them: `@pattern($replacement)`.
See https://github.com/awslabs/smithy-rs/issues/2508 for more details.
See https://github.com/smithy-lang/smithy-rs/issues/2508 for more details.
""".trimIndent()
return error(shape, pattern, message)
}

View File

@ -239,7 +239,7 @@ open class ServerCodegenVisitor(
validateUnsupportedConstraints(model, service, codegenContext.settings.codegenConfig),
)) {
for (logMessage in validationResult.messages) {
// TODO(https://github.com/awslabs/smithy-rs/issues/1756): These are getting duplicated.
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1756): These are getting duplicated.
logger.log(logMessage.level, logMessage.message)
}
if (validationResult.shouldAbort) {
@ -260,7 +260,7 @@ open class ServerCodegenVisitor(
model,
codegenDecorator.crateManifestCustomizations(codegenContext),
codegenDecorator.libRsCustomizations(codegenContext, listOf()),
// TODO(https://github.com/awslabs/smithy-rs/issues/1287): Remove once the server codegen is far enough along.
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1287): Remove once the server codegen is far enough along.
requireDocs = false,
)
try {

View File

@ -86,7 +86,7 @@ data class ServerCodegenConfig(
/**
* A flag to enable _experimental_ support for custom validation exceptions via the
* [CustomValidationExceptionWithReasonDecorator] decorator.
* TODO(https://github.com/awslabs/smithy-rs/pull/2053): this will go away once we implement the RFC, when users will be
* TODO(https://github.com/smithy-lang/smithy-rs/pull/2053): this will go away once we implement the RFC, when users will be
* able to define the converters in their Rust application code.
*/
val experimentalCustomValidationExceptionWithReasonPleaseDoNotUse: String? = defaultExperimentalCustomValidationExceptionWithReasonPleaseDoNotUse,

View File

@ -171,7 +171,7 @@ class UnconstrainedShapeSymbolProvider(
} else {
base.toSymbol(shape)
}
// TODO(https://github.com/awslabs/smithy-rs/issues/1401) Constraint traits on member shapes are not
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1401) Constraint traits on member shapes are not
// implemented yet.
}

View File

@ -34,7 +34,7 @@ import software.amazon.smithy.rust.codegen.core.util.orNull
import java.util.logging.Level
private sealed class UnsupportedConstraintMessageKind {
private val constraintTraitsUberIssue = "https://github.com/awslabs/smithy-rs/issues/1401"
private val constraintTraitsUberIssue = "https://github.com/smithy-lang/smithy-rs/issues/1401"
fun intoLogMessage(ignoreUnsupportedConstraints: Boolean): LogMessage {
fun buildMessage(intro: String, willSupport: Boolean, trackingIssue: String? = null, canBeIgnored: Boolean = true): String {
@ -109,7 +109,7 @@ private sealed class UnsupportedConstraintMessageKind {
shape,
rangeTrait,
willSupport = false,
trackingIssue = "https://github.com/awslabs/smithy-rs/issues/2007",
trackingIssue = "https://github.com/smithy-lang/smithy-rs/issues/2007",
),
)
@ -172,8 +172,8 @@ fun validateOperationsWithConstrainedInputHaveValidationExceptionAttached(
validationExceptionShapeId: ShapeId,
): ValidationResult {
// Traverse the model and error out if an operation uses constrained input, but it does not have
// `ValidationException` attached in `errors`. https://github.com/awslabs/smithy-rs/pull/1199#discussion_r809424783
// TODO(https://github.com/awslabs/smithy-rs/issues/1401): This check will go away once we add support for
// `ValidationException` attached in `errors`. https://github.com/smithy-lang/smithy-rs/pull/1199#discussion_r809424783
// TODO(https://github.com/smithy-lang/smithy-rs/issues/1401): This check will go away once we add support for
// `disableDefaultValidation` set to `true`, allowing service owners to map from constraint violations to operation errors.
val walker = DirectedWalker(model)
val operationsWithConstrainedInputWithoutValidationExceptionSet = walker.walkShapes(service)
@ -256,7 +256,7 @@ fun validateUnsupportedConstraints(
unsupportedConstraintOnNonErrorShapeReachableViaAnEventStreamSet + unsupportedConstraintErrorShapeReachableViaAnEventStreamSet
// 3. Range trait used on unsupported shapes.
// TODO(https://github.com/awslabs/smithy-rs/issues/2007)
// TODO(https://github.com/smithy-lang/smithy-rs/issues/2007)
val unsupportedRangeTraitOnShapeSet = walker
.walkShapes(service)
.asSequence()

View File

@ -44,7 +44,7 @@ import software.amazon.smithy.rust.codegen.server.smithy.validationErrorMessage
* The shape definition is in [CustomValidationExceptionWithReasonDecoratorTest].
*
* This is just an example to showcase experimental support for custom validation exceptions.
* TODO(https://github.com/awslabs/smithy-rs/pull/2053): this will go away once we implement the RFC, when users will be
* TODO(https://github.com/smithy-lang/smithy-rs/pull/2053): this will go away once we implement the RFC, when users will be
* able to define the converters in their Rust application code.
*/
class CustomValidationExceptionWithReasonDecorator : ServerCodegenDecorator {
@ -80,7 +80,7 @@ class ValidationExceptionWithReasonConversionGenerator(private val codegenContex
};
Self::ConstraintViolation(
crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
.expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/awslabs/smithy-rs/issues")
.expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
)
}
}

View File

@ -44,7 +44,7 @@ import software.amazon.smithy.rust.codegen.server.smithy.validationErrorMessage
*
* [0]: https://github.com/awslabs/smithy/tree/main/smithy-validation-model
*
* TODO(https://github.com/awslabs/smithy-rs/pull/2053): once the RFC is implemented, consider moving this back into the
* TODO(https://github.com/smithy-lang/smithy-rs/pull/2053): once the RFC is implemented, consider moving this back into the
* generators.
*/
class SmithyValidationExceptionDecorator : ServerCodegenDecorator {
@ -78,7 +78,7 @@ class SmithyValidationExceptionConversionGenerator(private val codegenContext: S
};
Self::ConstraintViolation(
crate::protocol_serde::shape_validation_exception::ser_validation_exception_error(&validation_exception)
.expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/awslabs/smithy-rs/issues")
.expect("validation exceptions should never fail to serialize; please file a bug report under https://github.com/smithy-lang/smithy-rs/issues")
)
}
}

Some files were not shown because too many files have changed in this diff Show More