From: Oliver Xymoron <oxymoron@waste.org>
To: Andrew Morton <akpm@digeo.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: patch management scripts
Date: Sun, 20 Oct 2002 21:35:46 -0500 [thread overview]
Message-ID: <20021021023546.GK26443@waste.org> (raw)
In-Reply-To: <3DB30283.5CEEE032@digeo.com>
On Sun, Oct 20, 2002 at 12:22:43PM -0700, Andrew Morton wrote:
>
> I finally got around to documenting the scripts which I use
> for managing kernel patches. See
>
> http://www.zip.com.au/~akpm/linux/patches/patch-scripts-0.1/
>
> These scripts are designed for managing a "stack" of patches against
> a rapidly-changing base tree. Because that's what I use them for.
>
> I've been using and evolving them over about six months. They're
> pretty fast, and simple to use. They can be used for non-kernel
> source trees.
Thanks for posting these - hopefully it will generate some discussion.
My own personal scripts (while obviously not getting nearly the
workout yours are) make at least one part noticeably simpler - I use a
complete 'cp -al' for the current "top of the applied stack" rather
than your foo.c~bar files. This means I don't have to explicitly keep
track of which files I'm touching and just let diff compare the entire
tree (which is fast as diff apparently recognizes hard links). My
equivalent of refpatch spews out a diffstat so that I can easily
notice if I touched something I didn't mean to.
My "apply patches up to x" script does some tricks so it generally
only does one 'cp -al', so the overhead is generally only a second or
two. The error handling got a little tedious in bash, so I rewrote
mine in Python..
I also have all my secondary directories outside of the source tree
proper, so it's easy to keep a completely pristine base tree and a
couple "branches".
What I'd really like is if someone were industrious enough to post a
"grab all patches to upgrade to current {release, bk, mm, ac}" script.
--
"Love the dolphins," she advised him. "Write by W.A.S.T.E.."
next prev parent reply other threads:[~2002-10-21 2:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-20 19:22 patch management scripts Andrew Morton
2002-10-21 2:35 ` Oliver Xymoron [this message]
2002-10-21 2:54 ` Andrew Morton
2002-10-21 3:30 ` Oliver Xymoron
2002-10-21 3:40 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021021023546.GK26443@waste.org \
--to=oxymoron@waste.org \
--cc=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.