From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: David Woodhouse <dwmw2@infradead.org>
Cc: "'linux-mtd@lists.infradead.org'" <linux-mtd@lists.infradead.org>
Cc: Steven Scholz <steven.scholz@imc-berlin.de>
Subject: Re: kernel oops in cfi_cmdset_0002.c:do_write_one()...
Date: Tue, 13 Apr 2004 11:31:33 +0200 [thread overview]
Message-ID: <20040413093133.GA29499@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <1081514570.20197.182.camel@imladris.demon.co.uk>
On Fri, 9 April 2004 13:42:50 +0100, David Woodhouse wrote:
> On Thu, 2004-04-08 at 16:37 +0200, Jörn Engel wrote:
> > Don't blame him, this is the result of using CVS, which is designed
> > around the assumption of a single central repository.
>
> Well, switching from CVS wouldn't necessarily make any difference. If I
> were using something like BitKeeper then there'd still only be one
> repository which I actually _care_ about, and the effect would be much
> the same.
Right. That I see the problem doesn't mean that I also see a
solution. :(
> The way the update goes is something like this...
>
> 1. Wait till the MTD CVS code is actually stable. It's not at the
> moment; cfi_cmdset_0002.c is known to be broken and I can't send it
> off while it's like that.
>
> 2. Look at the current version of the kernel I'm updating. For each file
> in drivers/mtd and include/linux/mtd, take the version from CVS with
> matching $Id$ tag -- the version from CVS which was last sent to
> Linus or Marcelo for inclusion.
>
> 3. Generate a patch between those versions in my CVS, and the version
> currently in the mainstream kernel -- those are the patches which
> were included in an upstream kernel but didn't go through me. Read
> each change carefully, and see if it's applicable to _current_ CVS
> code. If so, apply it. If not, discard it. If it's discarded because
> the problem was already fixed, that's fine. If it's discarded because
> it's just a bogus change, make a mental note of it; reversion of
> upstream patches needs to be justified (or at least noted) in your
> covering email because it's often done by accident when updating
> Linus' tree from an external CVS, and it's _very_ much frowned upon.
>
> 4. Now you have all the upstream changes merged into current CVS. Drop
> current CVS into a current Linux tree, take a diff between the two.
> Read it. All of it. Make cosmetic changes in CVS to reduce noise in
> the patch you're planning to send.
>
> 5. Read it again.
>
> 6. Build it. Test it if you're feeling conscientious.
>
> 7. Read it again. Identify separate change sets from the whole thing;
> 'bk citool' is useful for this. Commit each set of changes separately
> with an appropriate changelog.
>
> 8. Stick it in a BK tree somewhere for Linus or Marcelo to pull from.
2, 3 and 4 involve some manual work that could be automated, not sure
if you've already done that. If you don't a human "patch assistant"
could help you, although I don't suspect many volunteers. ;)
7 is a bit philosophical. It would be easier if patches were kept
seperate from the beginning, something CVS doesn't allow to do. But
then you need to deal with dependences between them, and - worse -
make sure that seperate patches remain seperate. It would make
merging easier, but the time before merging will be different, much
harder unless everyone has the discipline for it.
Propably this wouldn't work in your current mode of "everyone dump
into CVS", you'd have more work reading and refusing patches. That
work is currently distributed, which makes your life easier somewhere
else.
Jörn
--
And spam is a useful source of entropy for /dev/random too!
-- Jasmine Strong
next prev parent reply other threads:[~2004-04-13 9:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-07 15:43 kernel oops in cfi_cmdset_0002.c:do_write_one() Steven Scholz
2004-04-07 16:19 ` Thayne Harbaugh
2004-04-07 16:47 ` David Vrabel
2004-04-11 11:40 ` Steven Scholz
2004-04-08 7:16 ` Steven Scholz
2004-04-08 13:29 ` Steven Scholz
2004-04-08 14:37 ` Jörn Engel
2004-04-08 19:28 ` Thomas Gleixner
2004-04-08 19:47 ` Jörn Engel
2004-04-09 12:42 ` David Woodhouse
2004-04-13 9:31 ` Jörn Engel [this message]
2004-04-13 14:28 ` David Woodhouse
2004-04-13 11:04 ` David Vrabel
[not found] <D73A25AA6E54D511AD74009027B1110F5BB16A@ORION>
2004-04-07 16:12 ` Steven Scholz
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=20040413093133.GA29499@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox