Loading buildSrc/src/main/kotlin/CrateSet.kt +0 −8 Original line number Diff line number Diff line Loading @@ -46,12 +46,8 @@ object CrateSet { listOf( "aws-config", "aws-credential-types", "aws-endpoint", "aws-http", "aws-hyper", "aws-runtime", "aws-runtime-api", "aws-sig-auth", "aws-sigv4", "aws-types", ).map { Crate(it, version(it)) } Loading @@ -62,17 +58,13 @@ object CrateSet { "aws-smithy-cbor", "aws-smithy-checksums", "aws-smithy-compression", "aws-smithy-client", "aws-smithy-dns", "aws-smithy-eventstream", "aws-smithy-experimental", "aws-smithy-http", "aws-smithy-http-client", "aws-smithy-http-auth", "aws-smithy-http-tower", "aws-smithy-json", "aws-smithy-mocks", "aws-smithy-mocks-experimental", "aws-smithy-observability", "aws-smithy-observability-otel", "aws-smithy-protocol-test", Loading tools/ci-build/publisher/Cargo.toml +1 −1 Original line number Diff line number Diff line [package] name = "publisher" version = "0.4.1" version = "0.4.2" authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"] description = "Tool used to publish the AWS SDK to crates.io" edition = "2021" Loading tools/ci-build/publisher/src/subcommand/generate_version_manifest.rs +16 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,21 @@ fn find_released_versions( unrecent_versions: &VersionsManifest, recent_versions: &VersionsManifest, ) -> Result<BTreeMap<String, String>> { // TODO(deprecated crates removal post cleanup): Remove this variable once deprecated runtime crates // are removed from `versions.toml` in the main branch of `aws-sdk-rust` repository. // Not planning to implement a generic solution to teach publisher about deprecated runtime crates, // since deprecation occurs so infrequently. let allowed_missing_crates = [ "aws-endpoint", "aws-http", "aws-hyper", "aws-sig-auth", "aws-smithy-client", "aws-smithy-http-auth", "aws-smithy-http-tower", "aws-smithy-mocks-experimental", ]; let mut released_versions = BTreeMap::new(); for (crate_name, recent_version) in &recent_versions.crates { let recent_version = parse_version(crate_name, &recent_version.version)?; Loading @@ -184,6 +199,7 @@ fn find_released_versions( for unrecent_crate_name in unrecent_versions.crates.keys() { if !recent_versions.crates.contains_key(unrecent_crate_name) && !crates_to_remove.contains(unrecent_crate_name) && !allowed_missing_crates.contains(&unrecent_crate_name.as_str()) { bail!( "Crate `{}` was included in the previous release's `versions.toml`, \ Loading tools/ci-build/sdk-lockfiles/Cargo.toml +1 −1 Original line number Diff line number Diff line [package] name = "sdk-lockfiles" version = "0.1.3" version = "0.1.4" authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"] description = """ A CLI tool to audit lockfiles for Smithy runtime crates, AWS runtime crates, `aws-config`, and the workspace containing Loading tools/ci-build/sdk-lockfiles/src/audit.rs +0 −4 Original line number Diff line number Diff line Loading @@ -112,12 +112,8 @@ static FALSE_POSITIVES: LazyLock<HashSet<SuspectDependency>> = LazyLock::new(|| const AWS_SDK_RUNTIMES: &[&str] = &[ "aws-config", "aws-credential-types", "aws-endpoint", "aws-http", "aws-hyper", "aws-runtime", "aws-runtime-api", "aws-sig-auth", "aws-sigv4", "aws-types", ]; Loading Loading
buildSrc/src/main/kotlin/CrateSet.kt +0 −8 Original line number Diff line number Diff line Loading @@ -46,12 +46,8 @@ object CrateSet { listOf( "aws-config", "aws-credential-types", "aws-endpoint", "aws-http", "aws-hyper", "aws-runtime", "aws-runtime-api", "aws-sig-auth", "aws-sigv4", "aws-types", ).map { Crate(it, version(it)) } Loading @@ -62,17 +58,13 @@ object CrateSet { "aws-smithy-cbor", "aws-smithy-checksums", "aws-smithy-compression", "aws-smithy-client", "aws-smithy-dns", "aws-smithy-eventstream", "aws-smithy-experimental", "aws-smithy-http", "aws-smithy-http-client", "aws-smithy-http-auth", "aws-smithy-http-tower", "aws-smithy-json", "aws-smithy-mocks", "aws-smithy-mocks-experimental", "aws-smithy-observability", "aws-smithy-observability-otel", "aws-smithy-protocol-test", Loading
tools/ci-build/publisher/Cargo.toml +1 −1 Original line number Diff line number Diff line [package] name = "publisher" version = "0.4.1" version = "0.4.2" authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"] description = "Tool used to publish the AWS SDK to crates.io" edition = "2021" Loading
tools/ci-build/publisher/src/subcommand/generate_version_manifest.rs +16 −0 Original line number Diff line number Diff line Loading @@ -164,6 +164,21 @@ fn find_released_versions( unrecent_versions: &VersionsManifest, recent_versions: &VersionsManifest, ) -> Result<BTreeMap<String, String>> { // TODO(deprecated crates removal post cleanup): Remove this variable once deprecated runtime crates // are removed from `versions.toml` in the main branch of `aws-sdk-rust` repository. // Not planning to implement a generic solution to teach publisher about deprecated runtime crates, // since deprecation occurs so infrequently. let allowed_missing_crates = [ "aws-endpoint", "aws-http", "aws-hyper", "aws-sig-auth", "aws-smithy-client", "aws-smithy-http-auth", "aws-smithy-http-tower", "aws-smithy-mocks-experimental", ]; let mut released_versions = BTreeMap::new(); for (crate_name, recent_version) in &recent_versions.crates { let recent_version = parse_version(crate_name, &recent_version.version)?; Loading @@ -184,6 +199,7 @@ fn find_released_versions( for unrecent_crate_name in unrecent_versions.crates.keys() { if !recent_versions.crates.contains_key(unrecent_crate_name) && !crates_to_remove.contains(unrecent_crate_name) && !allowed_missing_crates.contains(&unrecent_crate_name.as_str()) { bail!( "Crate `{}` was included in the previous release's `versions.toml`, \ Loading
tools/ci-build/sdk-lockfiles/Cargo.toml +1 −1 Original line number Diff line number Diff line [package] name = "sdk-lockfiles" version = "0.1.3" version = "0.1.4" authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"] description = """ A CLI tool to audit lockfiles for Smithy runtime crates, AWS runtime crates, `aws-config`, and the workspace containing Loading
tools/ci-build/sdk-lockfiles/src/audit.rs +0 −4 Original line number Diff line number Diff line Loading @@ -112,12 +112,8 @@ static FALSE_POSITIVES: LazyLock<HashSet<SuspectDependency>> = LazyLock::new(|| const AWS_SDK_RUNTIMES: &[&str] = &[ "aws-config", "aws-credential-types", "aws-endpoint", "aws-http", "aws-hyper", "aws-runtime", "aws-runtime-api", "aws-sig-auth", "aws-sigv4", "aws-types", ]; Loading