From: Milton Miller <miltonm@bga.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: ppcdev <linuxppc-dev@ozlabs.org>,
Paul Mackerras <paulus@samba.org>,
Sam Ravnborg <sam@ravnborg.org>
Subject: Re: Merge dtc
Date: Fri, 19 Oct 2007 00:34:53 -0500 [thread overview]
Message-ID: <83c7a6126bf86eaf90c6744ba43df3df@bga.com> (raw)
In-Reply-To: <20071019013048.GC30283@localhost.localdomain>
On Oct 18, 2007, at 8:30 PM, David Gibson wrote:
> On Thu, Oct 18, 2007 at 12:49:54PM -0500, Milton Miller wrote:
>> On Tue Oct 16 15:02:17 EST 2007, David Gibson wrote:
>>> Too big for the list, full patch at
>>> http://ozlabs.org/~dgibson/home/merge-dtc.patch+
>>
>> So split it up. The obvious one is "here is the unique content, then
>> copy these files from dtc git" would have been better.
>
> *facepalm*
>
> The point of the small patches thing is not to glom together logically
> separate patches. It's *not* to split patches up simply for the sake
> of making them smaller.
The point of posting on the list is to encourage review before merging.
Hiding them behind a download means a lot fewer people are looking at
the code.
> You've suggested the closest thing to a logical split here, but even
> then - the dtc files are dead without the Makefile changes, and the
> Makefile changes won't build without the dtc files (so the patches
> would have to go in reversed order to what you suggest).
>
> Not to mention that the Makefile patch will be tiny and the raw import
> will still be way too big for the list.
I'm talking about split for review, not necessarily merge.
We split by function for review so that different people pay closer
attention to their areas of intrest and speciality. This helps prevent
people being distracted by the bulk.
The files that are verbatim from the other project have been reviewed
in that project (at least in theory), and therefore are not likely to
draw comments. Especially since they are (1) shadows from another
project and (2) host files, there is more flexibility and less review
required, eg relaxed coding standards, correctness already tested, and
in this case multiple platform testing.
Sam's suggestion to split the generated files was because they require
no review other than for damage.
In contrast, the files such as the make rules are original and unique
to this import, and therefore draw comments during review. If you
weren't asking for a review, why did you post to the mailing list?
Oh, and the files being in the tree but dead is fine from a bisect
standpoint. The patch can be reverted if the makefile doesn't go in
(not that a maintainer would commit them separately).
>> I finally went and looked at the url. The Kbuild integration is
>> wrong.
>
> Wrong? Not how you'd prefer them perhaps...
Wrong in that its unlike every other program that Kbuild makes.
>> It should build dtc in dtc-src and run the binary from there, and
>> the
>> rules should be in a Kconfig as a normal host-target in that
>> directory.
>
> Why? This approach has the advantage that the subdirectory contains
> *only* verbatim imported files, which could well make updates simpler.
The file name Kbuild is unlikely to conflict with a file from that
other repository. It doesn't contain all the files in that repository
(or even all in a subdirectory) so there is some filtering going on
anyways.
> (I don't have a problem with that Kbuild including Makefie.dtc).
>>
>> things like the dependancy on scripts_basic in the top level
>> Makefile.
>
> I'm not even sure what you mean by this.
I was trying to give a hint where you could find "compile programs in
that directory so I can run them here" for you to draw upon.
next prev parent reply other threads:[~2007-10-19 5:35 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 17:49 Merge dtc Milton Miller
2007-10-18 19:59 ` Sam Ravnborg
2007-10-19 1:45 ` David Gibson
2007-10-19 5:56 ` Milton Miller
2007-10-19 6:55 ` David Gibson
2007-10-19 7:07 ` Sam Ravnborg
2007-10-19 7:10 ` David Gibson
2007-10-19 18:42 ` Sam Ravnborg
2007-10-31 2:45 ` David Gibson
2007-11-08 13:59 ` Jon Loeliger
2007-10-19 1:30 ` David Gibson
2007-10-19 5:34 ` Milton Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-10-16 5:02 David Gibson
2007-10-16 5:08 ` Kumar Gala
2007-10-16 5:18 ` David Gibson
2007-10-16 5:39 ` Paul Mackerras
2007-10-16 5:50 ` Kumar Gala
2007-10-16 6:01 ` Benjamin Herrenschmidt
2007-10-16 6:23 ` Kumar Gala
2007-10-16 10:53 ` Josh Boyer
2007-10-17 19:59 ` Timur Tabi
2007-10-17 20:12 ` Josh Boyer
2007-10-17 20:31 ` Grant Likely
2007-10-17 21:42 ` Linas Vepstas
2007-10-17 21:51 ` Jon Loeliger
2007-10-16 6:00 ` Benjamin Herrenschmidt
2007-10-16 6:24 ` Kumar Gala
2007-10-16 13:17 ` Grant Likely
2007-10-16 13:41 ` Kumar Gala
2007-10-17 5:22 ` David Gibson
2007-10-17 13:15 ` Grant Likely
2007-10-17 16:22 ` Stephen Neuendorffer
2007-12-04 1:59 ` David Woodhouse
2007-12-04 3:10 ` David Gibson
2007-12-04 17:22 ` David Woodhouse
2007-12-04 13:25 ` Jon Loeliger
2007-12-04 15:26 ` Josh Boyer
2007-12-04 16:04 ` Kumar Gala
2007-12-04 22:12 ` David Gibson
2007-12-04 16:08 ` Scott Wood
2007-12-04 22:21 ` Paul Mackerras
2007-12-04 22:33 ` David Woodhouse
2007-12-05 0:54 ` David Woodhouse
2007-12-05 1:49 ` Josh Boyer
2007-12-05 1:09 ` Paul Mackerras
2007-12-04 22:34 ` Josh Boyer
2007-12-05 2:22 ` Paul Mackerras
2007-12-05 2:26 ` Josh Boyer
2007-12-05 4:00 ` Josh Boyer
2007-12-05 4:37 ` Olof Johansson
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=83c7a6126bf86eaf90c6744ba43df3df@bga.com \
--to=miltonm@bga.com \
--cc=david@gibson.dropbear.id.au \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=sam@ravnborg.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;
as well as URLs for NNTP newsgroup(s).