Skip to content

chore(v2): only advertise alpha packages with L2s#19440

Merged
mergify[bot] merged 3 commits intomasterfrom
huijbers/no-advertise-experimental
Mar 18, 2022
Merged

chore(v2): only advertise alpha packages with L2s#19440
mergify[bot] merged 3 commits intomasterfrom
huijbers/no-advertise-experimental

Conversation

@rix0rrr
Copy link
Copy Markdown
Contributor

@rix0rrr rix0rrr commented Mar 17, 2022

Right now, we advertise alpha packages for every service module that
is marked as experimental.

However, all L1-only packages are all always marked as experimental as
a protection against human mistakes: so that when we add in L2s we don't
accidentally mark them as stable right away.

This leads to every CFN-only package having an advertising clause for
an alpha package that doesn't even exist.

Do a source code check to only advertise if it looks like there are
actual L2s.


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

Right now, we advertise `alpha` packages for every service module that
is marked as `experimental`.

However, all L1-only packages are all always marked as `experimental` as
a protection against human mistakes: so that when we add in L2s we don't
accidentally mark them as `stable` right away.

This leads to every CFN-only package having an advertising clause for
an `alpha` package that doesn't even exist.

Do a source code check to only advertise if it looks like there are
actual L2s.
@rix0rrr rix0rrr requested a review from a team March 17, 2022 13:30
@rix0rrr rix0rrr self-assigned this Mar 17, 2022
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Mar 17, 2022

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 17, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 18, 2022

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: c6095c5
  • 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 8109c77 into master Mar 18, 2022
@mergify mergify bot deleted the huijbers/no-advertise-experimental branch March 18, 2022 19:57
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 18, 2022

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

iliapolo pushed a commit that referenced this pull request Mar 20, 2022
Right now, we advertise `alpha` packages for every service module that
is marked as `experimental`.

However, all L1-only packages are all always marked as `experimental` as
a protection against human mistakes: so that when we add in L2s we don't
accidentally mark them as `stable` right away.

This leads to every CFN-only package having an advertising clause for
an `alpha` package that doesn't even exist.

Do a source code check to only advertise if it looks like there are
actual L2s.


----

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

4 participants