All of lore.kernel.org
 help / color / mirror / Atom feed
* using devtool for rebasing patches
@ 2016-11-03 16:01 Alexander Kanavin
  2016-11-03 16:29 ` Christopher Larson
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Alexander Kanavin @ 2016-11-03 16:01 UTC (permalink / raw)
  To: Paul Eggleton, Patches and discussions about the oe-core layer

Hello Paul,

it would be very useful if devtool offered support for rebasing source 
patches when they fail to apply, but currently there does not seem to be 
any such feature:

ak@kanavin-desktop:~/development/poky/build$ devtool modify libksba
Parsing recipes..done.
NOTE: Fetching libksba...
NOTE: Unpacking...
NOTE: Patching...
ERROR: Applying 'ksba-add-pkgconfig-support.patch' failed:
checking file Makefile.am
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED
checking file configure.ac
Hunk #1 succeeded at 414 (offset 14 lines).
checking file ksba.pc.in
checking file src/ksba.m4
ERROR: Function failed: patch_do_patch
ak@kanavin-desktop:~/development/poky/build$

What devtool could do here is apply the patches that can be applied and 
then partially apply the patches that fail. Then give the developer some 
kind of UI for dealing with the rejected hunks (which typically means 
finding the place in the target file where the changes should go and 
then manually editing them in, while looking at the original patch).

Without this feature devtool is half as useful as it could be 
particularly for recipe version updates.

Thanks,
Alex


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-11-04 13:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-03 16:01 using devtool for rebasing patches Alexander Kanavin
2016-11-03 16:29 ` Christopher Larson
2016-11-03 16:35   ` Alexander Kanavin
2016-11-03 17:14     ` Christopher Larson
2016-11-03 19:14       ` Patrick Ohly
2016-11-03 19:24         ` Paul Eggleton
2016-11-03 19:27   ` Khem Raj
2016-11-03 16:52 ` Patrick Ohly
2016-11-03 19:29 ` Paul Eggleton
2016-11-03 19:34   ` Paul Eggleton
2016-11-04 13:54   ` Alexander Kanavin

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.