Skip to content
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

[TASK] Change references previously going to tsconfig #1435

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

linawolf
Copy link
Member

Releases: main, 13.4, 12.4

@linawolf linawolf self-assigned this Nov 20, 2024
@linawolf linawolf merged commit 36d6231 into main Nov 20, 2024
10 checks passed
@linawolf linawolf deleted the task/migrate-tsconfig branch November 20, 2024 08:57
Copy link
Contributor

The backport to 12.4 failed:

The process '/usr/bin/git' failed with exit code 1
stderr
error: could not apply 2f629a41... [TASK] Change references previously going to tsconfig
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config advice.mergeConflict false"

stdout
Auto-merging Documentation/Functions/Stdwrap.rst
Auto-merging Documentation/Functions/Typolink.rst
Auto-merging Documentation/Syntax/Conditions/Index.rst
Auto-merging Documentation/Syntax/FileImports/Index.rst
CONFLICT (content): Merge conflict in Documentation/Syntax/FileImports/Index.rst
Auto-merging Documentation/TopLevelObjects/Module.rst
Auto-merging Documentation/UserTsconfig/Options.rst
CONFLICT (content): Merge conflict in Documentation/UserTsconfig/Options.rst

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-12.4 12.4
# Navigate to the new working tree
cd .worktrees/backport-12.4
# Create a new branch
git switch --create backport-1435-to-12.4
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 2f629a41453de7e166baebe6460cec5e730aeb70,685205607e087da6a53865a6afa3ca6cda68ba40
# Push it to GitHub
git push --set-upstream origin backport-1435-to-12.4
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-12.4

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

Copy link
Contributor

The backport to 13.4 failed:

The process '/usr/bin/git' failed with exit code 1
stderr
error: could not apply 2f629a41... [TASK] Change references previously going to tsconfig
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config advice.mergeConflict false"

stdout
Auto-merging Documentation/Syntax/FileImports/Index.rst
Auto-merging Documentation/UserTsconfig/Options.rst
CONFLICT (content): Merge conflict in Documentation/UserTsconfig/Options.rst

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-13.4 13.4
# Navigate to the new working tree
cd .worktrees/backport-13.4
# Create a new branch
git switch --create backport-1435-to-13.4
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 2f629a41453de7e166baebe6460cec5e730aeb70,685205607e087da6a53865a6afa3ca6cda68ba40
# Push it to GitHub
git push --set-upstream origin backport-1435-to-13.4
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-13.4

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

@linawolf linawolf added backport-done Changes have been backported to other branches already and removed backport failed labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 12.4 backport 13.4 backport-done Changes have been backported to other branches already
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant