Skip to content

chore(generate-missing-examples): imports can be emitted twice - #17627

Merged
mergify[bot] merged 2 commits into
masterfrom
huijbers/fix-import-sorting
Nov 22, 2021
Merged

mergify[bot] merged 2 commits into
masterfrom
huijbers/fix-import-sorting

Conversation

@rix0rrr

@rix0rrr rix0rrr commented Nov 22, 2021

Copy link
Copy Markdown
Contributor

Some examples don't compile because we can emit some imports
twice.

This is because we expect imports to be sorted, and only deduplicate
pairwise, but we forgot to include submodule in the sort key.


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

Some examples don't compile because we can emit some imports
twice.

This is because we expect imports to be sorted, and only deduplicate
pairwise, but we forgot to include submodule in the sort key.
@rix0rrr
rix0rrr requested a review from kaizencc November 22, 2021 15:05
@rix0rrr rix0rrr self-assigned this Nov 22, 2021
@gitpod-io

gitpod-io Bot commented Nov 22, 2021

Copy link
Copy Markdown

@rix0rrr

rix0rrr commented Nov 22, 2021

Copy link
Copy Markdown
Contributor Author

@Mergifyio backport v2-main

@mergify

mergify Bot commented Nov 22, 2021

Copy link
Copy Markdown
Contributor

backport v2-main

🟠 Waiting for conditions to match

Details
  • merged [:pushpin: backport requirement]

@mergify mergify Bot added the contribution/core This is a PR that came from AWS. label Nov 22, 2021
@mergify

mergify Bot commented Nov 22, 2021

Copy link
Copy Markdown
Contributor

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: 3165f0a
  • 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 a5d7ed4 into master Nov 22, 2021
@mergify
mergify Bot deleted the huijbers/fix-import-sorting branch November 22, 2021 17:03
@mergify

mergify Bot commented Nov 22, 2021

Copy link
Copy Markdown
Contributor

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 Bot pushed a commit that referenced this pull request Nov 22, 2021
Some examples don't compile because we can emit some imports
twice.

This is because we expect imports to be sorted, and only deduplicate
pairwise, but we forgot to include submodule in the sort key.

----

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

(cherry picked from commit a5d7ed4)
@mergify

mergify Bot commented Nov 22, 2021

Copy link
Copy Markdown
Contributor

backport v2-main

✅ Backports have been created

Details

mergify Bot added a commit that referenced this pull request Nov 22, 2021
…ort #17627) (#17629)

This is an automatic backport of pull request #17627 done by [Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the [documentation](https://docs.mergify.com/).

You can also trigger Mergify actions by commenting on this pull request:

- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch

Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you can:

- look at your merge queues
- generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com
</details>
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
…7627)

Some examples don't compile because we can emit some imports
twice.

This is because we expect imports to be sorted, and only deduplicate
pairwise, but we forgot to include submodule in the sort key.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
ali-n4i pushed a commit to ali-n4i/aws-cdk that referenced this pull request Jul 29, 2026
…7627)

Some examples don't compile because we can emit some imports
twice.

This is because we expect imports to be sorted, and only deduplicate
pairwise, but we forgot to include submodule in the sort key.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
ali-n4i pushed a commit to ali-n4i/aws-cdk that referenced this pull request Jul 29, 2026
…ort aws#17627) (aws#17629)

This is an automatic backport of pull request aws#17627 done by [Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the [documentation](https://docs.mergify.com/).

You can also trigger Mergify actions by commenting on this pull request:

- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch

Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you can:

- look at your merge queues
- generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com
</details>
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