Skip to content

chore(individual-pkg-gen): strip redundant 'aws' from go package names#17097

Merged
mergify[bot] merged 2 commits intomasterfrom
njlynch/go-pkg-names
Oct 21, 2021
Merged

chore(individual-pkg-gen): strip redundant 'aws' from go package names#17097
mergify[bot] merged 2 commits intomasterfrom
njlynch/go-pkg-names

Conversation

@njlynch
Copy link
Copy Markdown
Contributor

@njlynch njlynch commented Oct 21, 2021

Currently, the published go alpha modules look like this:
github.com/aws/aws-cdk-go/awscdkawsfoobaralpha/v2

The redundant 'aws' in front of each service package name leads to a longer
package name than necessary, on an already long name. This change explicitly
sets the 'go' package name for each of the alpha modules, so they turn out like
this:
github.com/aws/aws-cdk-go/awscdkfoobaralpha/v2


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

Currently, the published go alpha modules look like this:
`github.com/aws/aws-cdk-go/awscdkawsfoobaralpha/v2`

The redundant 'aws' in front of each service package name leads to a longer
package name than necessary, on an already long name. This change explicitly
sets the 'go' package name for each of the alpha modules, so they turn out like
this:
`github.com/aws/aws-cdk-go/awscdkfoobaralpha/v2`
@njlynch njlynch added this to the [GA] CDK V2 milestone Oct 21, 2021
@njlynch njlynch requested a review from a team October 21, 2021 14:21
@njlynch njlynch self-assigned this Oct 21, 2021
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Oct 21, 2021

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Oct 21, 2021
@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

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

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

@mergify mergify bot merged commit ee24046 into master Oct 21, 2021
@mergify mergify bot deleted the njlynch/go-pkg-names branch October 21, 2021 15:15
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Oct 21, 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).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
aws#17097)

Currently, the published go alpha modules look like this:
`github.com/aws/aws-cdk-go/awscdkawsfoobaralpha/v2`

The redundant 'aws' in front of each service package name leads to a longer
package name than necessary, on an already long name. This change explicitly
sets the 'go' package name for each of the alpha modules, so they turn out like
this:
`github.com/aws/aws-cdk-go/awscdkfoobaralpha/v2`


----

*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.

3 participants