linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josh Triplett <josh@freedesktop.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Christopher Li <sparse@chrisli.org>,
	linux-sparse@vger.kernel.org,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: RFC: Move sparse.git inside linux-kernel-2.6.git?
Date: Thu, 2 Jul 2009 16:21:10 -0700	[thread overview]
Message-ID: <20090702232109.GJ19009@feather> (raw)
In-Reply-To: <20090618192058.GB14086@uranus.ravnborg.org>

On Thu, Jun 18, 2009 at 09:20:58PM +0200, Sam Ravnborg wrote:
> The linux kernel is one of the major customers of
> sparse and several sparse hackers are very
> active on the kernel front too.
> 
> How about combining forces and move sparse.git inside
> the kernel.
> 
> Benefits doing so:
> 
> - Easy access to sparse from within the kernel.
>   Doing a make C=2 run is now trivial for everyone
> 
> - We (the kernel hackers) has the source readily
>   avalibale when we need to hack it.
> 
> Drawbacks:
> 
> - We need to come up with a solution so it is
>   easy to distribute sparse binaries/source packages
>   without the need to distribute the full kernel source
> 
> 
> The idea has come up before, and now that the kernel
> has a tools/ directory we have a place where sparse can live.
> 
> And I think Linus can find a way to pull sparse.git
> with full history so we do not loose anything doing so.

I think that Sparse needs to exist as a separate project for the benefit
of all the non-kernel users of Sparse, but at the same time I think
having Sparse in the kernel tree would help kernel developers actually
run Sparse as part of their build process.

Fortunately, Git offers a good solution to this problem: submodules.
linux-2.6 could have Sparse as a submodule under the tools/sparse
directory.  Anyone who checked out linux-2.6 via git could then
near-automatically get a copy of Sparse via git, and release tarballs of
Linux could fairly easily include Sparse.

The way submodules work, a commit in the linux-2.6 repository would refer to
a specific commit in the sparse repostory, so linux-2.6 could always point
to a version of Sparse known to more-or-less work with that version of
Linux.

How does that sound?

- Josh Triplett

  parent reply	other threads:[~2009-07-02 23:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-18 19:20 RFC: Move sparse.git inside linux-kernel-2.6.git? Sam Ravnborg
2009-06-18 19:34 ` Jeff Garzik
2009-06-18 19:57   ` Jeff Garzik
2009-06-18 20:13     ` Randy Dunlap
2009-06-18 20:18   ` Sam Ravnborg
2009-06-18 20:40 ` Christopher Li
2009-06-20 19:37   ` Samuel Bronson
2009-06-21 18:33     ` Christopher Li
2009-06-21 23:17       ` Samuel Bronson
2009-06-22  7:57         ` Christopher Li
2009-06-25 14:48         ` H. Peter Anvin
2009-07-02 23:21 ` Josh Triplett [this message]
2009-07-02 23:46   ` Christopher Li

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=20090702232109.GJ19009@feather \
    --to=josh@freedesktop.org \
    --cc=linux-sparse@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=sparse@chrisli.org \
    --cc=torvalds@linux-foundation.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).