lkml.org 
[lkml]   [2007]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.24-rc4-mm1: VDSOSYM build error

* Andrew Morton <akpm@linux-foundation.org> wrote:

> On Thu, 6 Dec 2007 18:28:25 -0500
> "Miles Lane" <miles.lane@gmail.com> wrote:
>
> > How can I find Roland's patches, so I can try backing them out?
> > I looked in the broken out patches and only saw one related
> > to VDSO. Backing it out did not help. I tried searching for
> > messages to LKML sent by "roland" but mostly got a bunch of
> > folks sending spam.
>
> They're all clumped into git-x86.patch. Hard.

in theory the git merges could be generated as a flat series of patch
files:

x86.git.foo-fixes.patch
x86.git.bar-updates.patch
x86.git.foo-fixes-feh.patch
...

which could also include the commit log. "git-log -p" might be a
suitable generator. For example, x86.git can be processed per commit,
via this script:

for N in `git-rev-list --reverse --no-merges --remove-empty master..mm`; do
git-log -p $N
done

the following git-export-quilt script (just wrote it, might be buggy, so
careful - and it blows away the patches/ directory wherever you run it)
will generate a series file into patches/series that can be applied via
quilt:

rm -rf patches
mkdir patches
for N in `git-rev-list --reverse --no-merges --remove-empty master..mm`; do
git-log -p -1 $N > .tmp
export SUBJECT=`head -5 .tmp | tail -1`

# generate filename out of subject line:
FILE=x86.git-"`echo $SUBJECT | cut -c10- |
tr '[:punct:] \t' '-' | tr -s - | tr '[:upper:]' '[:lower:]'`"

# generate unique name:
while [ -f patches/$FILE.patch ]; do FILE="$FILE"_; done

echo $FILE.patch
mv .tmp patches/$FILE.patch
echo $FILE.patch >> patches/series
done

ls -l patches/series

i ran this script over x86.git and it produced a patch series with 247
patches that quilt was able to push correctly. (in theory this concept
should work for other git trees too - but i have not tried it)

this would increase the series size quite substantially though - but it
would make cherry-picking and patch based bisection a lot easier.

Ingo


\
 
 \ /
  Last update: 2007-12-07 11:41    [W:0.105 / U:7.344 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site