Bug 14729

Summary: Meta-openembedded has a patchwork helper script, does YP need one of their own?
Product: [Build System, Metadata & Runtime] OE-Core Reporter: akuster <akuster808>
Component: Scripts and ToolsAssignee: akuster <akuster808>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Medium+ CC: randy.macleod, richard.purdie, ross.burton
Version: unspecified   
Target Milestone: 4.0 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description akuster 2022-02-20 20:48:06 UTC
I will submit the patch, I just need to know if we want this for YP?
Comment 1 Richard Purdie 2022-02-21 17:55:26 UTC
Any pointer to what this is, why we'd need it etc? It sounds helpful...
Comment 2 akuster 2022-02-22 15:28:42 UTC
https://git.openembedded.org/meta-openembedded/tree/contrib/pw-am.sh


#!/bin/sh
#
# Idea and implementation:  Koen Kooi
# Multiple patches support: Marcin Juszkiewicz
#
# This script will fetch an 'mbox' patch from patchwork and git am it
# usage: pw-am.sh <number>
# example: 'pw-am.sh 221' will get the patch from http://patchwork.openembedded.org/patch/221/

for patchnumber in $@;
do
	wget -nv http://patches.openembedded.org/patch/$patchnumber/mbox/ -O pw-am-$patchnumber.patch
	git am -s pw-am-$patchnumber.patch
	rm pw-am-$patchnumber.patch
done
Comment 3 akuster 2022-02-22 15:31:02 UTC
it simplifies using patchwork. if YP does not want it, ill just update the one in meta-oe.
Comment 4 akuster 2022-04-28 14:46:21 UTC
leaving it in meta-oe. that one is fixed for the new patchwork