The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	Konstantin Ryabitsev <mricon@kernel.org>,
	linux-kernel@vger.kernel.org, backports@vger.kernel.org,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: Helping with backports: linux-next, linux, linux-stable - a few enhancements
Date: Fri, 21 Sep 2012 09:16:14 +0100	[thread overview]
Message-ID: <20120921081614.GA17547@kroah.com> (raw)
In-Reply-To: <CAB=NE6UVZ2HQU27LdkzUFe3of6N1v8YZYVMKsfA+0Wmg5nRBug@mail.gmail.com>

On Thu, Sep 20, 2012 at 03:45:46PM -0700, Luis R. Rodriguez wrote:
> Greg, Stephen, Konstantin,
> 
> so for the Linux backports project [0] we rely on a few git trees:
> 
>   * linux-next.git
>   * linux-stable.git
>   * linux.git
> 
> The linux.git tree is required for RC releases. The linux-stable.git
> tree for extraversion stable releases, and the linux-next.git tree for
> daily snapshots. There is a trick for stable releases whereby we
> accelerate the integration of pending-stable patches by cherry picking
> them out of linux-next.git if the commit log entry has the
> 'stable@vger.kernel.org' on the commit log, and if the stable patch
> does not apply we require the developers to provide a backport
> compatible port. This trick works swell on linux-next.git for RC
> release given that we can query for rc releases there as linux-next
> carries them but linux-next.git does not carry extra version tags.
> Additionally the requirement of linux.git is only there given that at
> times there are delays between which linux-stable.git will not have an
> RC release on it. I have a way to address all these issues, namely to
> add linux.git as a remote for my local linux-stable tree, and also by
> adding linux-stable as a local remote for my linux-next tree. Now, I
> document how I resolve this for backport package consumers / builders
> but it occurs to me perhaps we can simplify this if we had:
> 
>   * linux-next - pulling in linux-stable packs / tags
>   * a new linux-releases.git - which has both linux.git and
> linux-stable pulled together through a cronjob
> 
> Would this be reasonable to accommodate to help ease of use or shall
> we just live with folks having to do the remote / local remote hacks?

I pull the linux.git tree into linux-stable.git every few -rc releases,
and as it's based on linux.git, it's really not a big deal.

I don't see how pulling linux-stable into linux-next really helps anyone
out, linux-stable is so far behind what is in linux-next it's not funny.

But, if you really want it all in a single tree, can't you just do this
with a few 'remote' markings in your git configuration file for the repo
and do it locally if you want to?

Otherwise I don't see the real question here.

confused probably due to a bad case of jet lag,

greg k-h

  reply	other threads:[~2012-09-21  8:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20 22:45 Helping with backports: linux-next, linux, linux-stable - a few enhancements Luis R. Rodriguez
2012-09-21  8:16 ` Greg Kroah-Hartman [this message]
2012-09-21 16:24   ` Luis R. Rodriguez
2012-09-22  1:17     ` Stephen Rothwell

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=20120921081614.GA17547@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=backports@vger.kernel.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@do-not-panic.com \
    --cc=mricon@kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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