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: produce go bindings #13317

Merged
merged 5 commits into from
Mar 2, 2021
Merged

chore: produce go bindings #13317

merged 5 commits into from
Mar 2, 2021

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Feb 28, 2021

Adds a go.moduleName entry to all package.json files which will cause jsii-pacmak to produce go bindings for the AWS CDK and place them under the dist/go directory during packaging.

Resolves aws/jsii#2611


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

Adds a `go.moduleName` entry to all package.json files which will cause jsii-pacmak to produce go bindings for the AWS CDK and place them under the `dist/go` directory during packaging.

Resolves aws/jsii#2611
@gitpod-io
Copy link

gitpod-io bot commented Feb 28, 2021

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Feb 28, 2021
basically just reflect the same module name
@eladb eladb requested a review from nija-at February 28, 2021 14:43
@eladb eladb changed the title chore: build go bindings chore: produce go bindings Feb 28, 2021
Copy link
Contributor

@RomainMuller RomainMuller left a comment

Choose a reason for hiding this comment

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

I don't think it's good/expected that all of those use the exact same module name...?

@eladb
Copy link
Contributor Author

eladb commented Mar 2, 2021

I don't think it's good/expected that all of those use the exact same module name...?

Yes, this is intentional. moduleName is actually just the prefix. The actual module name is derived from the npm module name.

@eladb eladb requested a review from RomainMuller March 2, 2021 09:49
@RomainMuller RomainMuller added the pr/do-not-merge This PR should not be merged at this time. label Mar 2, 2021
tools/pkglint/lib/rules.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@RomainMuller RomainMuller left a comment

Choose a reason for hiding this comment

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

Provisional approval (feel free to remove pr/do-not-merge when you've got all the feedback you asked for!)

@eladb eladb removed the pr/do-not-merge This PR should not be merged at this time. label Mar 2, 2021
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 62969e6
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Mar 2, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit e8f0c3c into master Mar 2, 2021
@mergify mergify bot deleted the benisrae/go-bindings branch March 2, 2021 11:49
eladb pushed a commit that referenced this pull request Mar 3, 2021
mergify bot pushed a commit that referenced this pull request Mar 3, 2021
This reverts commit e8f0c3c due to some issue in go code generation (namely aws/jsii#2638 and aws/jsii#2637) and unacceptable build performance for producing bindings for all CDK modules.

Our plan is to fix the relevant issues and only produce go bindings for monocdk instead of all modules.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
cornerwings pushed a commit to cornerwings/aws-cdk that referenced this pull request Mar 8, 2021
Adds a `go.moduleName` entry to all package.json files which will cause jsii-pacmak to produce go bindings for the AWS CDK and place them under the `dist/go` directory during packaging.

Resolves aws/jsii#2611


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
cornerwings pushed a commit to cornerwings/aws-cdk that referenced this pull request Mar 8, 2021
This reverts commit e8f0c3c due to some issue in go code generation (namely aws/jsii#2638 and aws/jsii#2637) and unacceptable build performance for producing bindings for all CDK modules.

Our plan is to fix the relevant issues and only produce go bindings for monocdk instead of all modules.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
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.

Publish AWS CDK for Go
4 participants