* [PATCH stable-queue.git] scripts/bad_stable: include instructions to fix and resubmit
@ 2023-03-01 9:34 Vegard Nossum
2023-03-01 15:30 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Vegard Nossum @ 2023-03-01 9:34 UTC (permalink / raw)
To: gregkh; +Cc: stable, Vegard Nossum
This basically implements the suggestion from
<https://lore.kernel.org/stable/46577540-6ed7-0ff5-11d5-2982cd29e92b@oracle.com/>.
Sample output:
To reproduce the conflict and resubmit, you may use the following commands:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y
git checkout FETCH_HEAD
git cherry-pick -x 9f46c187e2e680ecd9de7983e4d081c3391acc76
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<stable@vger.kernel.org>' --in-reply-to '<165314153515625@kroah.com>' --subject-prefix 'PATCH 5.15.y' HEAD^..
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
---
scripts/bad_stable | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/scripts/bad_stable b/scripts/bad_stable
index 03165f8212..0cd0319fb3 100755
--- a/scripts/bad_stable
+++ b/scripts/bad_stable
@@ -136,6 +136,15 @@ reply()
echo "tree, then please email the backport, including the original git commit"
echo "id to <stable@vger.kernel.org>."
echo
+ echo "To reproduce the conflict and resubmit, you may use the following commands:"
+ echo
+ echo "git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-$STABLE_VERSION.y"
+ echo "git checkout FETCH_HEAD"
+ echo "git cherry-pick -x $git_id"
+ echo "# <resolve conflicts, build, test, etc.>"
+ echo "git commit -s"
+ echo "git send-email --to '$STABLE' --in-reply-to '$ID' --subject-prefix 'PATCH $STABLE_VERSION.y' HEAD^.."
+ echo
echo "Possible dependencies:"
echo
echo "$(curl --fail --silent https://git.kernel.org/pub/scm/linux/kernel/git/sashal/deps.git/plain/v$STABLE_VERSION/$git_id)"
--
2.35.1.46.g38062e73e0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH stable-queue.git] scripts/bad_stable: include instructions to fix and resubmit
2023-03-01 9:34 [PATCH stable-queue.git] scripts/bad_stable: include instructions to fix and resubmit Vegard Nossum
@ 2023-03-01 15:30 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2023-03-01 15:30 UTC (permalink / raw)
To: Vegard Nossum; +Cc: stable
On Wed, Mar 01, 2023 at 10:34:49AM +0100, Vegard Nossum wrote:
> This basically implements the suggestion from
> <https://lore.kernel.org/stable/46577540-6ed7-0ff5-11d5-2982cd29e92b@oracle.com/>.
>
> Sample output:
>
> To reproduce the conflict and resubmit, you may use the following commands:
>
> git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y
> git checkout FETCH_HEAD
> git cherry-pick -x 9f46c187e2e680ecd9de7983e4d081c3391acc76
> # <resolve conflicts, build, test, etc.>
> git commit -s
> git send-email --to '<stable@vger.kernel.org>' --in-reply-to '<165314153515625@kroah.com>' --subject-prefix 'PATCH 5.15.y' HEAD^..
>
> Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
> ---
> scripts/bad_stable | 9 +++++++++
> 1 file changed, 9 insertions(+)
Thanks for this, now applied, let's see how it looks in action, I'll go
find some patches to fail :)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-01 15:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-01 9:34 [PATCH stable-queue.git] scripts/bad_stable: include instructions to fix and resubmit Vegard Nossum
2023-03-01 15:30 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.