Re: Better anticipation for minor releases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 5 Feb 2018, Ken Dreyer wrote:
> On Mon, Feb 5, 2018 at 8:50 AM, Sage Weil <sage@xxxxxxxxxxxx> wrote:
> > Building from a tag seems like the wrong approach.  What if the build
> > fails for some reason (e.g., minor error in cmake files that affects
> > release build but not test build)?
> 
> Do you have a specific example of this type of failure?
>
> In general I want our test builds to be as close to our release builds
> as possible. Some of the reasons for the differences are mainly
> historical rather than technical. If there are particular differences
> that could cause build failures, let's identify those and fix them!

I don't have an example, but I suspect Alfredo has half a dozen.  Totally 
agree that we should keep the build processes identical, but things 
happen, and even if they don't, it might be that the tip commit hasn't had 
a regular shaman build yet (or that the release person forgot to verify 
that build was successful before kicking off the release build).

> > Or, perhaps for important, what if we
> > get to the point where we do some testing on the final build
> > artifact before finalizing/blessing the release?
> 
> This is an interesting idea. How would you picture someone doing this
> testing, and who would that person be?

Maybe we stage the rc build, run it through qa, and only after that 
passes do we publish the tag and build artifacts.
 
> What happens when the testing fails and people have already merged
> more racing PRs to luminous? We would have to back those out right?

No... this is exactly the point.  Git branches remove any concern for 
"races".  If someone pushed 100 commits to luminous, just create a 
different branch with exactly the commit(s) you *do* want and build from 
that.  After everything is confirmed built, good, and tagged, push and 
merge it back into the luminous stream.

> v10.2.5 and v10.2.9 were quick releases to fix problems in the
> immediate prior releases. If we merged a bunch of PRs at the same time
> there, those quick versions would not have been as quick/safe.
> 
> > I don't understand why racing updates is a problem.  git branching/merge
> > solves exactly this problem:
> 
> Again just my opinion, I think this makes the history harder to read.
> For example, it's already a challenge to remember to run "git
> describe" on the merge commit rather than the code change commit.

It seems like the history complexity is there because history *was* 
complex: work didn't stop for the day(s) that the release was being built 
and finalized.  A simple fork+merge pattern like in my previous email 
isn't that complicated to understand, and it's how pretty every other 
change in the repo appears.

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux