Bug 14729 - Meta-openembedded has a patchwork helper script, does YP need one of their own?
Summary: Meta-openembedded has a patchwork helper script, does YP need one of their own?
Status: RESOLVED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 4.0 M4
Assignee: akuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2022-02-20 20:48 UTC by akuster
Modified: 2022-04-28 14:46 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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