Skip to content

util: Add a command for backporting - #5292

Merged
tgross35 merged 1 commit into
rust-lang:mainfrom
tgross35:util-backport
Jul 20, 2026
Merged

util: Add a command for backporting#5292
tgross35 merged 1 commit into
rust-lang:mainfrom
tgross35:util-backport

Conversation

@tgross35

@tgross35 tgross35 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Usage:

./etc/libc-util.py backport --branch backport-carrot
./etc/libc-util.py backport-pr-description --branch backport-carrot

There is a script on the libc-0.2 branch for backporting as well, but
this one uses a git rebase todo to be a bit more robust against
conflicts. The libc-0.2 script also doesn't pick from the correct SHAs
since the GitHub API doesn't give a list of commits as merged (instead,
only commits as they are in the PR).

Usage:

    ./etc/libc-util.py backport --branch backport-carrot
    ./etc/libc-util.py backport-pr-description --branch backport-carrot

There is a script on the libc-0.2 branch for backporting as well, but
this one uses a `git rebase` todo to be a bit more robust against
conflicts. The libc-0.2 script also doesn't pick from the correct SHAs
since the GitHub API doesn't give a list of commits as merged (instead,
only commits as they are in the PR).
@tgross35
tgross35 enabled auto-merge July 20, 2026 20:59
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Jul 20, 2026
@tgross35
tgross35 added this pull request to the merge queue Jul 20, 2026
Merged via the queue into rust-lang:main with commit 8195eb4 Jul 20, 2026
57 checks passed
@tgross35
tgross35 deleted the util-backport branch July 20, 2026 21:43
jollaitbot pushed a commit to sailfishos-mirror/rust-libc that referenced this pull request Jul 22, 2026
Usage:

    ./etc/libc-util.py backport --branch backport-carrot
    ./etc/libc-util.py backport-pr-description --branch backport-carrot

There is a script on the libc-0.2 branch for backporting as well, but
this one uses a `git rebase` todo to be a bit more robust against
conflicts. The libc-0.2 script also doesn't pick from the correct SHAs
since the GitHub API doesn't give a list of commits as merged (instead,
only commits as they are in the PR).

(backport <rust-lang/libc#5292>)
(cherry picked from commit 8195eb4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants