-
Notifications
You must be signed in to change notification settings - Fork 115
Output a redirect map when merging multipath operations #4545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The backport to 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-9.0 9.0
# Navigate to the new working tree
cd .worktrees/backport-9.0
# Create a new branch
git switch --create backport-4545-to-9.0
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6132f6c1e57bac59225645e067d277483456b0fa
# Push it to GitHub
git push --set-upstream origin backport-4545-to-9.0
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-9.0Then, create a pull request where the |
|
The backport to 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.18 8.18
# Navigate to the new working tree
cd .worktrees/backport-8.18
# Create a new branch
git switch --create backport-4545-to-8.18
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6132f6c1e57bac59225645e067d277483456b0fa
# Push it to GitHub
git push --set-upstream origin backport-4545-to-8.18
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.18Then, create a pull request where the |
|
The backport to 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.19 8.19
# Navigate to the new working tree
cd .worktrees/backport-8.19
# Create a new branch
git switch --create backport-4545-to-8.19
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6132f6c1e57bac59225645e067d277483456b0fa
# Push it to GitHub
git push --set-upstream origin backport-4545-to-8.19
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.19Then, create a pull request where the |
(cherry picked from commit 6132f6c)
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 6132f6c)
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 6132f6c)
(cherry picked from commit 6132f6c) Co-authored-by: Sylvain Wallez <[email protected]>
(cherry picked from commit 6132f6c) Co-authored-by: Sylvain Wallez <[email protected]>
(cherry picked from commit 6132f6c) # Conflicts: # compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm
(cherry picked from commit 6132f6c) # Conflicts: # compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js # compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm # compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm.d.ts
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 6132f6c) # Conflicts: # compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js # compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm # compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm.d.ts Co-authored-by: Sylvain Wallez <[email protected]>
(cherry picked from commit 6132f6c) # Conflicts: # compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm Co-authored-by: Sylvain Wallez <[email protected]>
Follow-up to #4415: optionally output a redirect map when merging multipath operations.
This adds a
--multipath-redirectsto the conversion CLI and to themake transform-to-openapi-for-docsMake target.This produces a
<openapi-file>.redirects.csvalongside the<openapi-file>.json. It's a CSV file containing (old-url -> target-url) mappings, e.g.:The values are the last part of the URLs, e.g.
https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get-alias-1, which should make it easy to build a redirect map. We can change it if another format is more convenient.