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

chore: move replaceAssembly to @jsii/spec and expose it #3696

Merged
merged 6 commits into from
Aug 9, 2022

Conversation

kaizencc
Copy link
Contributor

@kaizencc kaizencc commented Aug 2, 2022

This PR is meant to do two things:

  • move replaceAssembly to assembly-utils.ts in @jsii/spec, because it is currently being duplicated in cdk-generate-synthetic-examples. This causes problems whenever we try to change replaceAssembly, as we did in this commit, because we will forget to change the function in cdk-generate-synthetic-examples. The plan is to have cdk-generate-synthetic-examples reference the replaceAssembly function in @jsii/spec in a separate PR.
  • finish the effort started in this closed PR, where we meant to make sure that we don't re-fingerprint assemblies after they've been changed. It was closed due to staleness.

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

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Aug 2, 2022
@kaizencc kaizencc requested review from a team and RomainMuller August 2, 2022 16:44
@kaizencc kaizencc changed the title chore: move replaceAssembly to @jsii/spec chore: move replaceAssembly to @jsii/spec and expose it Aug 3, 2022
/**
* Replaces the old fingerprint with '***********'.
*
* @rmuller says fingerprinting is useless, as we do not actually check
Copy link
Contributor

@RomainMuller RomainMuller Aug 8, 2022

Choose a reason for hiding this comment

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

That name (rmuller) means nothing here... if you're gonna quote me, at least use my GitHub alias... Also I don't think I've ever said "useless", probably "currently not used", and so it was future-proofing...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops... somehow it came out of the previous closed PR and I have no idea how I landed on that comment anyway. Will simply remove your alias entirely.

@mergify
Copy link
Contributor

mergify bot commented Aug 9, 2022

Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it!

@mergify mergify bot added the pr/ready-to-merge This PR is ready to be merged. label Aug 9, 2022
@mergify
Copy link
Contributor

mergify bot commented Aug 9, 2022

Merging (with squash)...

1 similar comment
@mergify
Copy link
Contributor

mergify bot commented Aug 9, 2022

Merging (with squash)...

@mergify mergify bot merged commit 611323b into main Aug 9, 2022
@mergify mergify bot deleted the conroy/move-replaceassembly branch August 9, 2022 07:55
@mergify mergify bot removed the pr/ready-to-merge This PR is ready to be merged. label Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants