Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: track upstream versioning changes #1106

Merged
merged 7 commits into from
Nov 14, 2023
Merged

Conversation

lauzadis
Copy link
Member

@lauzadis lauzadis commented Nov 7, 2023

Track upstream smithy-kotlin changes in which the runtime and codegen versioning had been split. smithy-lang/smithy-kotlin#992

Issue #

Description of changes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@lauzadis lauzadis requested a review from a team as a code owner November 7, 2023 18:59
@lauzadis lauzadis added the no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly. label Nov 7, 2023
@lauzadis lauzadis force-pushed the split-runtime-codegen branch from 4fe057c to 9904584 Compare November 7, 2023 19:00
@lauzadis lauzadis force-pushed the split-runtime-codegen branch from 9904584 to 87bfd0c Compare November 7, 2023 19:01
Copy link

github-actions bot commented Nov 7, 2023

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

Comment on lines 10 to 11
smithy-kotlin-version = "0.28.1"
smithy-kotlin-codegen-version = "0.28.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I think we should go for smithy-kotlin-runtime-version here to be clear.

Copy link
Member Author

@lauzadis lauzadis Nov 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, that'll be a broader change (including internal package) but I think it's best for clarity

@@ -28,7 +28,7 @@ def run(self, env):

print("discovered dependency versions: {}".format(discovered_versions))
if "smithy-kotlin" in discovered_versions:
_replace_version_catalog_version(proj, "smithy-kotlin-version", discovered_versions["smithy-kotlin"])
_replace_version_catalog_version(proj, "smithy-kotlin-runtime-version", discovered_versions["smithy-kotlin"])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably remove this and builder.json since we don't have a dependency on CRT builder (to my knowledge) anymore.

# smithy-kotlin codegen and runtime are versioned together
smithy-kotlin-version = "0.28.1"
# smithy-kotlin codegen and runtime are versioned separately
smithy-kotlin-runtime-version = "0.28.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix: There are various CI jobs that will need updated to handle this change.

A not necessarily complete survey:

We'll have to update both versions now to match where we do this.

Copy link
Member Author

@lauzadis lauzadis Nov 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I made all those changes already (global code search smithy-kotlin-version across our internal and public repositories), I just forgot to push 🤦

Copy link

github-actions bot commented Nov 8, 2023

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

Copy link

github-actions bot commented Nov 8, 2023

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@lauzadis lauzadis merged commit 72fbc22 into main Nov 14, 2023
16 of 17 checks passed
@lauzadis lauzadis deleted the split-runtime-codegen branch November 14, 2023 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants