Util-Linux package development
 help / color / mirror / Atom feed
From: Ruediger Meier <sweet_f_a@gmx.de>
To: J William Piggott <elseifthen@gmx.com>
Cc: Karel Zak <kzak@redhat.com>, "util-linux" <util-linux@vger.kernel.org>
Subject: Re: versioning
Date: Wed, 24 May 2017 12:02:43 +0200	[thread overview]
Message-ID: <201705241202.43348.sweet_f_a@gmx.de> (raw)
In-Reply-To: <614d0e03-6baf-861b-8636-71c07443b3b6@gmx.com>

On Tuesday 23 May 2017, J William Piggott wrote:
> On 05/23/2017 04:05 AM, Karel Zak wrote:
> > On Tue, May 23, 2017 at 09:57:33AM +0200, Karel Zak wrote:
> >> On Mon, May 22, 2017 at 05:37:28PM -0400, J William Piggott wrote:
> >>> My thoughts are that bugfix releases should be committed to
> >>> 'master' the same as the stable/rc releases are. Then the tag
> >>> created from that commit.
> >>
> >> How do you want to commit bugfix release (e.g. v2.29.2) to the
> >> 'master' if the master and 'stable/' branches contain a different
> >> code?
> >>
> >> The current workflow:
> >>
> >>  1) development (branch: <master>)
> >>
> >>  2) master release (tags: v2.29-rc1, v2.29-rc2, v2.29, branch:
> >> <master>)
> >>
> >>  3) development (work on v2.30, branch: <master>)
> >>
> >>  4) fork -- create a new branch <stable/v2.29> based on tag v2.29
> >>
> >>      4a) new patches or cherry-pick patches from <master> (branch:
> >> <stable/v2.29>)
> >>
> >>      4b) stable release (tag: v2.29.1, branch: <stable/v2.29>)
> >>
> >>      4c) another patches, another release (tag: v2.29.2, branch:
> >> <stable/v2.29>)
> >>
> >>  5) master release v2.30 (branch: <master>)
> >>     ...
> >>
> >>
> >> where 3) and 4) happen in the same time.
>
> Argh, my brain was broken. I wrongheadedly believed that this project
> was using linear development.
>
> > And yes, NEWS file in the master does not contain info about
> > maintenance release (e.g. v2.29.1). Maybe it's mistake.
>
> No, I was the mistake ;)
>
> > This information is in the ReleaseNotes where are links to the
> > previous maintenance releases.
> >
> > We can add a hint about maintenance releases to the master branch
> > NEWS file, but stable maintenance tags (v2.29.1) has to be in the
> > stable/ branches. It's released code what has to be tagged and
> > signed.
>
> It's all clear now that you've pulled my head out of ... its 'master'
> branch walled garden. The stable maintenance tags are not reachable
> from, pulled by, or have anything else to do with the 'master'
> branch. They belong only to their respective forked stable branches
> being developed independently. Hinting about them in master would
> probably be misleading.
>
> I think I will submit a patch to add something to Documentation about
> this so that someone else might not ask the same dumb questions. With
> your permission, I might include your well written workflow
> description.

FYI there is also "man 7 gitworkflows", worth to read IMO.

Beside the trivial fact that they use "maint" instead of "stable" they 
always provide one non-versioned "stable" branch which contains *all* 
tags, more easy to be followed by users. To be able to do that they 
*commit* bugfixes only to "stable" and *merge* them into master 
(instead of cherry-picking from master).

cu,
Rudi

> Sorry for wasting your time Karel (and anyone else reading this).
> Thank you for setting me straight.
>
> >     Karel
>
> --
> To unsubscribe from this list: send the line "unsubscribe util-linux"
> in the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



  reply	other threads:[~2017-05-24 10:02 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-17  7:47 versioning Karel Zak
2017-05-17  8:42 ` versioning Ruediger Meier
2017-05-17  8:47   ` versioning Ruediger Meier
2017-05-17 13:23     ` versioning Bernhard Voelker
2017-05-17 13:51       ` versioning Karel Zak
2017-05-17 15:04   ` versioning Karel Zak
2017-05-17 16:08     ` versioning Ruediger Meier
2017-05-17 17:36 ` versioning Bruce Dubbs
2017-05-17 19:07   ` versioning Ruediger Meier
2017-05-17 21:09     ` versioning Karel Zak
2017-05-18  9:29       ` versioning Sami Kerola
2017-05-18 10:36         ` versioning Karel Zak
2017-05-18 18:08           ` versioning J William Piggott
2017-05-18 19:56             ` versioning Karel Zak
2017-05-18 20:55               ` versioning Rüdiger Meier
2017-05-19  8:12                 ` versioning Karel Zak
2017-05-19 19:00                 ` versioning J William Piggott
2017-05-20 19:34                   ` versioning Karel Zak
2017-05-22 21:37                     ` versioning J William Piggott
2017-05-23  7:57                       ` versioning Karel Zak
2017-05-23  8:05                         ` versioning Karel Zak
2017-05-23 20:54                           ` versioning J William Piggott
2017-05-24 10:02                             ` Ruediger Meier [this message]
2017-05-27 18:55                             ` versioning J William Piggott
2017-05-29 10:22                               ` versioning Karel Zak
2017-05-18 10:43         ` versioning Ruediger Meier
2017-05-17 17:46 ` versioning J William Piggott

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=201705241202.43348.sweet_f_a@gmx.de \
    --to=sweet_f_a@gmx.de \
    --cc=elseifthen@gmx.com \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.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