Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH][LINUX 0/2]
@ 2009-07-24 16:18 Ulf Samuelsson
  2009-07-24 20:57 ` Peter Korsgaard
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ulf Samuelsson @ 2009-07-24 16:18 UTC (permalink / raw)
  To: buildroot

I am sending two patches to the ML.
1: will remove "target/linux/Config.in.experimental" which is not used.
2: will update minor/major versions

They can be pulled from git://git.buildroot.net/~ulf/git/linux.git

BR
Ulf Samuelsson


   

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

* [Buildroot] [PATCH][LINUX 0/2]
  2009-07-24 16:18 [Buildroot] [PATCH][LINUX 0/2] Ulf Samuelsson
@ 2009-07-24 20:57 ` Peter Korsgaard
  2009-07-24 21:02 ` [Buildroot] Script to send pull request and patches together Thomas Petazzoni
  2009-07-25  6:47 ` [Buildroot] [PATCH][LINUX 0/2] Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2009-07-24 20:57 UTC (permalink / raw)
  To: buildroot

>>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson@atmel.com> writes:

 Ulf> I am sending two patches to the ML.
 Ulf> 1: will remove "target/linux/Config.in.experimental" which is not used.
 Ulf> 2: will update minor/major versions

 Ulf> They can be pulled from git://git.buildroot.net/~ulf/git/linux.git

please remember to sign off on your patches, E.G. use git commit -s

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Script to send pull request and patches together
  2009-07-24 16:18 [Buildroot] [PATCH][LINUX 0/2] Ulf Samuelsson
  2009-07-24 20:57 ` Peter Korsgaard
@ 2009-07-24 21:02 ` Thomas Petazzoni
  2009-07-25  6:47 ` [Buildroot] [PATCH][LINUX 0/2] Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2009-07-24 21:02 UTC (permalink / raw)
  To: buildroot

Le Fri, 24 Jul 2009 18:18:51 +0200,
Ulf Samuelsson <ulf.samuelsson@atmel.com> a ?crit :

> I am sending two patches to the ML.
> 1: will remove "target/linux/Config.in.experimental" which is not
> used. 2: will update minor/major versions
> 
> They can be pulled from git://git.buildroot.net/~ulf/git/linux.git

As I was tired of sending pull requests and sending the patches
separatly, I did a small ugly script. It might be useful for others, so
here it is:

#!/bin/sh

# Automate the process of generating a pull request, formatting the
# patches, and sending all of them by mail. This is useful because
# there are some projects in which sending a pull request is not
# enough, and sending the patches together with the pull request
# allows for a wider peer-review of the code.

base=$1
url=$2
email=$3

if [ ! -d .git ] ; then
    echo "Not in a git repo"
    exit 1
fi

summary=$(mktemp)

git request-pull $base $url > $summary

if [ $? -ne 0 ] ; then
    echo "git request-pull failed, aborting"
    rm -f $summary
    exit 1
fi

patches=$(mktemp -d)

git format-patch -o $patches -n --cover-letter --thread $base > /dev/null

if [ $? -ne 0 ] ; then
    echo "git format-patch failed, aborting"
    rm -f $summary
    rm -rf $patches
    exit 1
fi

mv $patches/0000-cover-letter.patch $patches/cover.tmp
awk '/^Subject/ { exit } // { print }' $patches/cover.tmp > $patches/0000-cover-letter.patch
rm -f $patches/cover.tmp

headrev=`git rev-parse --verify HEAD^0`
branch=$(git ls-remote $url | grep ^$headrev | cut -f2 | sed 's%refs/heads/%%')

echo "Subject: [pull request] Pull request for branch $branch" >> $patches/0000-cover-letter.patch
echo "" >> $patches/0000-cover-letter.patch
cat $summary >> $patches/0000-cover-letter.patch
echo "" >> $patches/0000-cover-letter.patch
echo "Thanks," >> $patches/0000-cover-letter.patch
echo "-- " >> $patches/0000-cover-letter.patch
git config --get user.name >> $patches/0000-cover-letter.patch

git send-email --quiet --no-chain-reply-to --to $email $patches/*

rm -f $summary
rm -rf $patches

-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

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

* [Buildroot] [PATCH][LINUX 0/2]
  2009-07-24 16:18 [Buildroot] [PATCH][LINUX 0/2] Ulf Samuelsson
  2009-07-24 20:57 ` Peter Korsgaard
  2009-07-24 21:02 ` [Buildroot] Script to send pull request and patches together Thomas Petazzoni
@ 2009-07-25  6:47 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2009-07-25  6:47 UTC (permalink / raw)
  To: buildroot

>>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson@atmel.com> writes:

 Ulf> I am sending two patches to the ML.
 Ulf> 1: will remove "target/linux/Config.in.experimental" which is not used.
 Ulf> 2: will update minor/major versions

 Ulf> They can be pulled from git://git.buildroot.net/~ulf/git/linux.git

Pulled and pushed - Thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2009-07-25  6:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-24 16:18 [Buildroot] [PATCH][LINUX 0/2] Ulf Samuelsson
2009-07-24 20:57 ` Peter Korsgaard
2009-07-24 21:02 ` [Buildroot] Script to send pull request and patches together Thomas Petazzoni
2009-07-25  6:47 ` [Buildroot] [PATCH][LINUX 0/2] Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox