Linux CIFS filesystem development
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
To: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: linux-next workflow question for cifs
Date: Wed, 9 May 2012 15:02:20 -0400	[thread overview]
Message-ID: <20120509190220.GA27077@fieldses.org> (raw)
In-Reply-To: <20120509140847.277d5c0b-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>

On Wed, May 09, 2012 at 02:08:47PM -0400, Jeff Layton wrote:
> For "normal" branches that you expect people to pull, I agree. For
> linux-next though, it really doesn't matter too much since it gets
> re-created from scratch every day.
> 
> Rewriting history is explicitly ok there, but you do of course want
> that branch to be bisectable if at all possible in order to make it
> easier to track down regressions.
> 
> OTOH, if someone says "I got a panic on linux-next from on last
> Thursday", it might be tough to know what was in that pull if you're
> changing the history regularly. It is a bit of a balancing act, I guess.

Yeah.  So the way I currently do it, in case it's of any use:

I have a for-next branch in my public repo, and a for-next-incoming in my
local repo.  The latter gets rebased, the former doesn't.

I apply stuff to for-next-incoming when I start considering it, but I
rearrange and rewrite it on top of for-next all the time.

Every now and then I do a

	gitk for-next..for-next-incoming

and look for the longest initial set of commits that:

	- are based on patches that have been posted at least 24 hours.
	  (Exceptions for something urgent or trivial.)
	- have passed any required review.

I run about a half hour of simple automated regression tests on the
commit at the top of that initial piece and push it to for-3.5.

I try to do that as I go along, rather than waiting a month and then
pushing a bunch out at once.

There are some things that -next testing routinely catches that I still
miss (cross-compiles or various config options).  I should probably add
more of those to my tests.

But so far that's been close enough to bisectable that I haven't felt
a strong need to break my self-imposed rule and rebase.

> In any case, for some background...the problem we're trying to solve
> here is that patches sit on linux-cifs mailing list with no activity
> for months when they should be soaking in linux-next. So we're trying
> to come up with a workflow that allows us to get them into linux-next
> in a more timely fashion. If that requires not using an append-only
> branch, I'm ok with that...

Makes sense.

--b.

      parent reply	other threads:[~2012-05-09 19:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09 13:19 linux-next workflow question for cifs Steve French
     [not found] ` <CAH2r5mtBK-C0Uc6gVY0Dk+YfbaFE+OfCbM+A_2BmiTVzZMchmQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-09 13:45   ` Jeff Layton
     [not found]     ` <20120509094511.29ca89ea-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2012-05-09 14:04       ` Sachin Prabhu
2012-05-09 14:38         ` Steve French
     [not found]           ` <CAH2r5mupvedQif+7XRxJozbwQxshqs2SJBgkP3t_9xJQdBWPwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-09 16:29             ` Jeff Layton
2012-05-09 17:52   ` J. Bruce Fields
     [not found]     ` <20120509175219.GA26477-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2012-05-09 18:08       ` Jeff Layton
     [not found]         ` <20120509140847.277d5c0b-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2012-05-09 19:02           ` J. Bruce Fields [this message]

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=20120509190220.GA27077@fieldses.org \
    --to=bfields-uc3wqj2krung9huczpvpmw@public.gmane.org \
    --cc=jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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