elastic / elasticsearch-java

Official Elasticsearch Java Client
Apache License 2.0
408 stars 237 forks source link

Fixes from pr 2440 #756

Closed l-trotta closed 6 months ago

l-trotta commented 6 months ago

Update to the generated code from the latest specification and code-generator. This includes https://github.com/elastic/elasticsearch-specification/pull/2440, which fixes https://github.com/elastic/elasticsearch-java/issues/317, fixes https://github.com/elastic/elasticsearch-java/issues/376, fixes https://github.com/elastic/elasticsearch-java/issues/379, fixes https://github.com/elastic/elasticsearch-java/issues/394, fixes https://github.com/elastic/elasticsearch-java/issues/403, fixes https://github.com/elastic/elasticsearch-java/issues/409, fixes https://github.com/elastic/elasticsearch-java/issues/450, fixes https://github.com/elastic/elasticsearch-java/issues/744, fixes https://github.com/elastic/elasticsearch-java/issues/754

github-actions[bot] commented 6 months ago

The backport to 7.17 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-7.17 7.17
# Navigate to the new working tree
cd .worktrees/backport-7.17
# Create a new branch
git switch --create backport-756-to-7.17
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 e32786189b49b56e5a749c7fede0c5c8cf099172
# Push it to GitHub
git push --set-upstream origin backport-756-to-7.17
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-7.17

Then, create a pull request where the base branch is 7.17 and the compare/head branch is backport-756-to-7.17.

github-actions[bot] commented 6 months ago

The backport to 8.13 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.13 8.13
# Navigate to the new working tree
cd .worktrees/backport-8.13
# Create a new branch
git switch --create backport-756-to-8.13
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick --mainline 1 e32786189b49b56e5a749c7fede0c5c8cf099172
# Push it to GitHub
git push --set-upstream origin backport-756-to-8.13
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.13

Then, create a pull request where the base branch is 8.13 and the compare/head branch is backport-756-to-8.13.