From: Carl Worth Date: Thu, 21 Aug 2014 16:46:57 +0000 (-0700) Subject: docs: Add my notes on stable-branch patch criteria X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=399b4e2227a79c8a0c025c7e7ca5f4e3832d8dc6;p=mesa.git docs: Add my notes on stable-branch patch criteria This captures the set of rules I have been using for stable-branch management, (starting with a discussion on the mesa-dev mailing list on July 2013, and then refined through my own experience of performing stable-branch releases since then). --- diff --git a/docs/devinfo.html b/docs/devinfo.html index a947b0d39b2..e173b550bc2 100644 --- a/docs/devinfo.html +++ b/docs/devinfo.html @@ -218,15 +218,93 @@ commit ID of the commit of interest (as it appears in the mesa master branch). The latest set of patches that have been nominated, accepted, or rejected for the upcoming stable release can always be seen on the -Mesa Stable Queue +Mesa Stable Queue page. -

Cherry-picking candidates for a stable branch

+

Criteria for accepting patches to the stable branch

-

-Please use git cherry-pick -x <commit> for cherry-picking a commit -from master to a stable branch. -

+Mesa has a designated release manager for each stable branch, and the release +manager is the only developer that should be pushing changes to these +branches. Everyone else should simply nominate patches using the mechanism +described above. + +The stable-release manager will work with the list of nominated patches, and +for each patch that meets the crtieria below will cherry-pick the patch with: +git cherry-pick -x <commit>. The -x option is +important so that the picked patch references the comit ID of the original +patch. + +The stable-release manager may at times need to force-push changes to the +stable branches, for example, to drop a previously-picked patch that was later +identified as causing a regression). These force-pushes may cause changes to +be lost from the stable branch if developers push things directly. Consider +yourself warned. + +The stable-release manager is also given broad discretion in rejecting patches +that have been nominated for the stable branch. The most basic rule is that +the stable branch is for bug fixes only, (no new features, no +regressions). Here is a non-exhaustive list of some reasons that a patch may +be rejected: + +

Making a New Mesa Release