Skip to content

docs: add links to CloudFormation documentation to READMEs#17696

Merged
mergify[bot] merged 9 commits intomasterfrom
huijbers/add-to-readme
Nov 25, 2021
Merged

docs: add links to CloudFormation documentation to READMEs#17696
mergify[bot] merged 9 commits intomasterfrom
huijbers/add-to-readme

Conversation

@rix0rrr
Copy link
Copy Markdown
Contributor

@rix0rrr rix0rrr commented Nov 25, 2021

Currently, the documentation of our CFN-only libraries leaves a lot to
be desired, which is confusing users.

Update the READMEs to make it very clear that we don't have anything for
them, and point them to the right location for getting documentation.


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

Currently, the documentation of our CFN-only libraries leaves a lot to
be desired, which is confusing users.

Update the READMEs to make it very clear that we don't have anything for
them, and point them to the right location for getting documentation.
@rix0rrr rix0rrr requested a review from a team November 25, 2021 09:58
@rix0rrr rix0rrr self-assigned this Nov 25, 2021
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Nov 25, 2021

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Nov 25, 2021
import * as aws_amazonmq from '@aws-cdk/aws-amazonmq';
```

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How about adding a block here such as

<!-- BEGIN CFNONLY DISCLAIMER -->
...
<!-- END CFNONLY DISCLAIMER -->

and then checking with pkglint that this only exists for packages whose maturity > cfn-only.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

What is the advantage of doing this? I'd prefer not to add more pkglint checks unless absolutely necessary.

Copy link
Copy Markdown
Contributor

@nija-at nija-at Nov 25, 2021

Choose a reason for hiding this comment

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

Contributors missing to remove this when adding the first L2 to a package. It's non-obvious.
It'll happen more often than you think.

@@ -0,0 +1,31 @@
// Helper script to regen all CFN-only library readmes from the template.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How about just run this every time during cfnspec bump?

Otherwise, no one is going to know about this besides you.

Copy link
Copy Markdown
Contributor Author

@rix0rrr rix0rrr Nov 25, 2021

Choose a reason for hiding this comment

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

I think this comment is trying to make sure new modules are being created with the right READMEs.

That already happens, the READMEs that are being created for new modules pass through the same code path.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isn't this script also meant to be run when the "template" changes? Re-gen on all L1 modules?

Running this each time would mean that any missed corrections will be caught (at least during bump).

@rix0rrr rix0rrr requested review from a team and nija-at November 25, 2021 11:00
Copy link
Copy Markdown
Contributor

@nija-at nija-at left a comment

Choose a reason for hiding this comment

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

Lovely!

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Nov 25, 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).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: b2f4a5c
  • 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 b03b4dc into master Nov 25, 2021
@mergify mergify bot deleted the huijbers/add-to-readme branch November 25, 2021 16:40
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Nov 25, 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).

beezly pushed a commit to beezly/aws-cdk that referenced this pull request Nov 29, 2021
Currently, the documentation of our CFN-only libraries leaves a lot to
be desired, which is confusing users.

Update the READMEs to make it very clear that we don't have anything for
them, and point them to the right location for getting documentation.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
mergify bot pushed a commit that referenced this pull request Nov 30, 2021
Our build pipeline is currently failing because `cfnspec` (which is a public package) takes a runtime dependency on `pkglint` (which is a private package). This was introduced in #17696.

To resolve this, we moved the functionality that generates new L1 library code from `lib/` to `build-tools/` since it's only needed in CDK build context (technically this is breaking public API, but we could not see any use case for external users to generate L1 modules in CDK-repository format).

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
pedrosola pushed a commit to pedrosola/aws-cdk that referenced this pull request Dec 1, 2021
Our build pipeline is currently failing because `cfnspec` (which is a public package) takes a runtime dependency on `pkglint` (which is a private package). This was introduced in aws#17696.

To resolve this, we moved the functionality that generates new L1 library code from `lib/` to `build-tools/` since it's only needed in CDK build context (technically this is breaking public API, but we could not see any use case for external users to generate L1 modules in CDK-repository format).

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
Currently, the documentation of our CFN-only libraries leaves a lot to
be desired, which is confusing users.

Update the READMEs to make it very clear that we don't have anything for
them, and point them to the right location for getting documentation.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
Our build pipeline is currently failing because `cfnspec` (which is a public package) takes a runtime dependency on `pkglint` (which is a private package). This was introduced in aws#17696.

To resolve this, we moved the functionality that generates new L1 library code from `lib/` to `build-tools/` since it's only needed in CDK build context (technically this is breaking public API, but we could not see any use case for external users to generate L1 modules in CDK-repository format).

----

*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