[oe-commits] Marcin Juszkiewicz : pw-am.sh: script to import patches from patchwork into git repository

GIT User account git at amethyst.openembedded.net
Mon Apr 6 15:18:50 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 442dcb5cfd89de0797354a38cd56f56967a3ad5c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=442dcb5cfd89de0797354a38cd56f56967a3ad5c

Author: Marcin Juszkiewicz <hrw at openembedded.org>
Date:   Mon Apr  6 17:01:19 2009 +0200

pw-am.sh: script to import patches from patchwork into git repository

---

 contrib/patchwork/pw-am.sh |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/contrib/patchwork/pw-am.sh b/contrib/patchwork/pw-am.sh
new file mode 100755
index 0000000..2ce6dc4
--- /dev/null
+++ b/contrib/patchwork/pw-am.sh
@@ -0,0 +1,14 @@
+#!/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://patchwork.openembedded.org/patch/$patchnumber/mbox/ -O pw-am-$patchnumber.patch
+	git am pw-am-$patchnumber.patch
+done





More information about the Openembedded-commits mailing list