Skip to content

Naming Convention: Refactors AddAzureCosmosClient and AddKeyedAzureCosmosClient API Names#3906

Merged
kundadebdatta merged 4 commits intomicrosoft:mainfrom
kundadebdatta:main
Apr 24, 2024
Merged

Naming Convention: Refactors AddAzureCosmosClient and AddKeyedAzureCosmosClient API Names#3906
kundadebdatta merged 4 commits intomicrosoft:mainfrom
kundadebdatta:main

Conversation

@kundadebdatta
Copy link
Copy Markdown
Member

@kundadebdatta kundadebdatta commented Apr 24, 2024

  • Refactors AddAzureCosmosClient and AddKeyedAzureCosmosClient API Names
  • Use / delimiter for cosmos user agent, instead of |
Microsoft Reviewers: Open in CodeFlow

@ghost ghost added the area-integrations Issues pertaining to Aspire Integrations packages label Apr 24, 2024
@kundadebdatta kundadebdatta enabled auto-merge April 24, 2024 07:06
Comment thread src/Components/Aspire.Microsoft.Azure.Cosmos/PublicAPI.Unshipped.txt Outdated
Comment thread src/Components/Aspire.Microsoft.Azure.Cosmos/PublicAPI.Unshipped.txt Outdated
@eerhardt
Copy link
Copy Markdown
Member

@kundadebdatta - We should be updating all the runtime component APIs to be consistent. I did this in 5b7de51, if you want to pull it into your PR. I was unable to push to your branch (I think because you are using main in your fork. Typically we create new branches in our forks and PR from that.).

Copy link
Copy Markdown
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@kundadebdatta kundadebdatta merged commit bade408 into microsoft:main Apr 24, 2024
@eerhardt
Copy link
Copy Markdown
Member

/backport to /release/8.0

@github-actions
Copy link
Copy Markdown
Contributor

Started backporting to /release/8.0: https://github.com/dotnet/aspire/actions/runs/8823332798

@github-actions
Copy link
Copy Markdown
Contributor

@eerhardt an error occurred while backporting to /release/8.0, please check the run log for details!

Error: The specified backport target branch /release/8.0 wasn't found in the repo.

@eerhardt
Copy link
Copy Markdown
Member

/backport to release/8.0

@github-actions
Copy link
Copy Markdown
Contributor

Started backporting to release/8.0: https://github.com/dotnet/aspire/actions/runs/8823346537

@github-actions
Copy link
Copy Markdown
Contributor

@eerhardt backporting to release/8.0 failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: Code changes to refactor API names. Replaced delimeter to /
Using index info to reconstruct a base tree...
M	src/Aspire.Hosting.Azure.CosmosDB/README.md
M	src/Components/Aspire.Microsoft.Azure.Cosmos/AspireMicrosoftAzureCosmosDBExtensions.cs
A	src/Components/Aspire.Microsoft.Azure.Cosmos/PublicAPI.Unshipped.txt
M	src/Components/Aspire.Microsoft.Azure.Cosmos/README.md
M	tests/Aspire.Microsoft.Azure.Cosmos.Tests/ConformanceTests.cs
Falling back to patching base and 3-way merge...
Auto-merging tests/Aspire.Microsoft.Azure.Cosmos.Tests/ConformanceTests.cs
CONFLICT (content): Merge conflict in tests/Aspire.Microsoft.Azure.Cosmos.Tests/ConformanceTests.cs
Auto-merging src/Components/Aspire.Microsoft.Azure.Cosmos/README.md
CONFLICT (content): Merge conflict in src/Components/Aspire.Microsoft.Azure.Cosmos/README.md
CONFLICT (modify/delete): src/Components/Aspire.Microsoft.Azure.Cosmos/PublicAPI.Unshipped.txt deleted in HEAD and modified in Code changes to refactor API names. Replaced delimeter to /. Version Code changes to refactor API names. Replaced delimeter to / of src/Components/Aspire.Microsoft.Azure.Cosmos/PublicAPI.Unshipped.txt left in tree.
Auto-merging src/Components/Aspire.Microsoft.Azure.Cosmos/AspireMicrosoftAzureCosmosDBExtensions.cs
CONFLICT (content): Merge conflict in src/Components/Aspire.Microsoft.Azure.Cosmos/AspireMicrosoftAzureCosmosDBExtensions.cs
Auto-merging src/Aspire.Hosting.Azure.CosmosDB/README.md
CONFLICT (content): Merge conflict in src/Aspire.Hosting.Azure.CosmosDB/README.md
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Code changes to refactor API names. Replaced delimeter to /
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@github-actions
Copy link
Copy Markdown
Contributor

@eerhardt an error occurred while backporting to release/8.0, please check the run log for details!

Error: git am failed, most likely due to a merge conflict.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants