Skip to content

Commit 17273fa

Browse files
authored
docs: rename awslabs/smithy-kotlin to smithy-lang/smithy-kotlin (#1184)
* awslabs/smithy-kotlin -> smithy-lang/smithy-kotlin * awslabs/smithy -> smithy-lang/smithy * awslabs/smithy-rs -> smithy-lang/smithy-rs
1 parent 9e1a8d6 commit 17273fa

File tree

30 files changed

+135
-135
lines changed

30 files changed

+135
-135
lines changed

CHANGELOG.md

Lines changed: 85 additions & 85 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ of your request may disagree and ask that you add one anyway.
8484
"type": "feature",
8585
"description": "Add multiplatform support for URL parsing",
8686
"issues": [
87-
"awslabs/smithy-kotlin#12345"
87+
"smithy-lang/smithy-kotlin#12345"
8888
]
8989
}
9090
```

codegen/smithy-aws-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/RestJson1.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class RestJson1 : JsonHttpBindingProtocolGenerator() {
4646

4747
// restjson1 has some different semantics and expectations around empty structures bound via @httpPayload trait
4848
// * empty structures get serialized to `{}`
49-
// see: https://github.com/awslabs/smithy/pull/924
49+
// see: https://github.com/smithy-lang/smithy/pull/924
5050
val requestBindings = resolver.requestBindings(op)
5151
val httpPayload = requestBindings.firstOrNull { it.location == HttpBinding.Location.PAYLOAD }
5252
if (httpPayload != null) {
@@ -58,7 +58,7 @@ class RestJson1 : JsonHttpBindingProtocolGenerator() {
5858
write("builder.body = #T.fromBytes(#S.encodeToByteArray())", RuntimeTypes.Http.HttpBody, "{}")
5959
}
6060
// Content-Type still needs to be set for non-structured payloads
61-
// https://github.com/awslabs/smithy/blob/main/smithy-aws-protocol-tests/model/restJson1/http-content-type.smithy#L174
61+
// https://github.com/smithy-lang/smithy/blob/main/smithy-aws-protocol-tests/model/restJson1/http-content-type.smithy#L174
6262
write("builder.headers.setMissing(\"Content-Type\", #S)", resolver.determineRequestContentType(op))
6363
}
6464
}

codegen/smithy-aws-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/xml/RestXmlSerdeDescriptorGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class RestXmlSerdeDescriptorGenerator(
3434
val serialName = getSerialName(member, nameSuffix)
3535
if (serialName.equals("message", ignoreCase = true)) {
3636
// Need to be able to read error messages from "Message" or "message"
37-
// https://github.com/awslabs/smithy-kotlin/issues/352
37+
// https://github.com/smithy-lang/smithy-kotlin/issues/352
3838
traitList.add(RuntimeTypes.Serde.SerdeXml.XmlAliasName, serialName.toggleFirstCharacterCase().dq())
3939
}
4040
}

codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/CodegenVisitor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class CodegenVisitor(context: PluginContext) : ShapeVisitor.Default<Unit>() {
6161
// Model pre-processing:
6262
// 1. Start with the model from the plugin context
6363
// 2. Apply integrations
64-
// 3. Flatten error shapes (see: https://github.com/awslabs/smithy/pull/919)
64+
// 3. Flatten error shapes (see: https://github.com/smithy-lang/smithy/pull/919)
6565
// 4. Normalize the operations
6666
for (integration in integrations) {
6767
if (integration.enabledForService(resolvedModel, settings)) {

codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/integration/SectionWriter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fun interface SectionWriter {
2828
* evaluated [SectionWriter] associated with the same [SectionId]. For writers that wish to
2929
* append to any pre-existing codegen strings in the section, they must explicitly write
3030
* the contents of previousValue to the writer. See the
31-
* [CodeWriter](https://github.com/awslabs/smithy/blob/main/smithy-utils/src/main/java/software/amazon/smithy/utils/CodeWriter.java)
31+
* [CodeWriter](https://github.com/smithy-lang/smithy/blob/main/smithy-utils/src/main/java/software/amazon/smithy/utils/CodeWriter.java)
3232
* documentation for more details
3333
*/
3434
fun write(writer: KotlinWriter, previousValue: String?)

codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/serde/XmlSerdeDescriptorGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ open class XmlSerdeDescriptorGenerator(
3535
val objTraits = mutableListOf<SdkFieldDescriptorTrait>()
3636
val serialName = when {
3737
// FIXME - we should be able to remove special casing of errors here which is protocol specific
38-
// see https://github.com/awslabs/smithy-kotlin/issues/350
38+
// see https://github.com/smithy-lang/smithy-kotlin/issues/350
3939
objectShape.hasTrait<ErrorTrait>() -> "Error"
4040
objectShape.hasTrait<XmlNameTrait>() -> objectShape.expectTrait<XmlNameTrait>().value
4141
objectShape.hasTrait<SyntheticClone>() -> objectShape.expectTrait<SyntheticClone>().archetype.name

codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/utils/CaseUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ private val completeWords = listOf("ipv4", "ipv6", "sigv4", "mib", "gib", "kib",
1111
* Split a string on word boundaries
1212
*/
1313
fun String.splitOnWordBoundaries(): List<String> {
14-
// This is taken from Rust: https://github.com/awslabs/smithy-rs/pull/3037/files#diff-4175c66ee81a450fcf1cd3e256f36ae2c8e0b30b910be8ca505135fbe215144d
14+
// This is taken from Rust: https://github.com/smithy-lang/smithy-rs/pull/3037/files#diff-4175c66ee81a450fcf1cd3e256f36ae2c8e0b30b910be8ca505135fbe215144d
1515
// with minor changes (s3 and iot as whole words). Previously we used the Java v2 implementation
1616
// https://github.com/aws/aws-sdk-java-v2/blob/2.20.162/utils/src/main/java/software/amazon/awssdk/utils/internal/CodegenNamingUtils.java#L36
1717
// but this has some edge cases it doesn't handle well

codegen/smithy-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/rendering/protocol/HttpBindingProtocolGeneratorTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ internal class SmokeTestOperationDeserializer: HttpDeserializer.NonStreaming<Smo
488488

489489
@Test
490490
fun itEscapesUriLiterals() {
491-
// https://github.com/awslabs/smithy-kotlin/issues/65
492-
// https://github.com/awslabs/smithy-kotlin/issues/395
491+
// https://github.com/smithy-lang/smithy-kotlin/issues/65
492+
// https://github.com/smithy-lang/smithy-kotlin/issues/395
493493
val uri = "/test/\$LATEST"
494494
val model = """
495495
@http(method: "PUT", uri: "$uri", code: 200)

docs/design/binary-streaming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ The issue with going that route is two fold:
628628

629629
# Revision history
630630

631-
* 11/29/2022 - SDK I/O refactor (see [#751](https://github.com/awslabs/smithy-kotlin/pull/751))
631+
* 11/29/2022 - SDK I/O refactor (see [#751](https://github.com/smithy-lang/smithy-kotlin/pull/751))
632632
* 11/15/2021 - Update code snippets from builder refactoring
633633
* 6/03/2021 - Initial upload
634634
* 6/11/2020 - Created

0 commit comments

Comments
 (0)