You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by Steven Bethard <st...@Colorado.EDU> on 2012/10/31 10:45:33 UTC

technical release process questions

I have a few technical questions about cTAKES releases:

(1) When we decide to make a release, does someone create a branch for the release? I'm assuming yes, because otherwise there needs to be some way of freezing development on the trunk. Where can I find that branch?

(2) After we make a release, where do bug-fixes for that release go? I can imagine at least two answers: (a) bug-fixes and new features both go to trunk, and all releases will be new branches off of trunk or (b) bug-fixes and new features both go to trunk, bug-fixes only are merged into the release branch, and bug-fix releases are done from the release branch, while new-feature releases create new branches off of trunk.

What's the process here?

Steve

Re: technical release process questions

Posted by Steven Bethard <st...@Colorado.EDU>.
On Oct 31, 2012, at 5:49 PM, Jörn Kottmann <ko...@gmail.com> wrote:
> new work which needs to go into trunk can also be worked on in parallel 
> and be pushed into trunk after the release.

Could you elaborate on this point? What does it mean to work on it in parallel? Do you just mean "do whatever you want locally, but don't commit"?

Steve


Re: technical release process questions

Posted by Jörn Kottmann <ko...@gmail.com>.
On 10/31/2012 05:30 PM, Steven Bethard wrote:
> If we start having enough developers that freezing the trunk for a day or two is really slowing people down, we can always switch to a more complicated scheme later.

Minimum freeze period will be longer, since you need at least 72 hours 
to get the vote through, some time to prepare
the release candidate, some time to test it, etc. That can easily sum up 
to one week or two.

Over at UIMA we always freeze and then everybody helps with testing and 
reviewing,
new work which needs to go into trunk can also be worked on in parallel 
and be pushed into trunk
after the release. I personally like this model because it encourages 
everyone to help out with the
release work.

Jörn

Re: technical release process questions

Posted by Steven Bethard <st...@Colorado.EDU>.
On Oct 31, 2012, at 4:34 PM, "Masanz, James J." <Ma...@mayo.edu> wrote:
> I like the idea of building from trunk (with an announcement first) and the idea of "if we ever need to patch an existing release, we can create a patch branch from the tag"


This is fine with me too.

If we start having enough developers that freezing the trunk for a day or two is really slowing people down, we can always switch to a more complicated scheme later.

Steve


RE: technical release process questions

Posted by "Masanz, James J." <Ma...@mayo.edu>.
I like the idea of building from trunk (with an announcement first) and the idea of "if we ever need to patch an existing release, we can create a patch branch from the tag"

-- James


> -----Original Message-----
> From: ctakes-dev-return-777-Masanz.James=mayo.edu@incubator.apache.org
> [mailto:ctakes-dev-return-777-
> Masanz.James=mayo.edu@incubator.apache.org] On Behalf Of Chen, Pei
> Sent: Wednesday, October 31, 2012 9:44 AM
> To: ctakes-dev@incubator.apache.org
> Subject: RE: technical release process questions
> 
> > Ok, so you're just cutting the release directly from trunk then. In
> > that case, perhaps there should be a "Trunk is frozen" announcement,
> > where we warn developers not to commit anything? I imagine we don't
> > want random changes sneaking in while you're in the middle of the
> release process.
> 
> Yes, I think this was just an oversight on my part as I was just trying
> the new release process at ASF (And I wasn't too concerned about new
> changes in trunk getting into the RC at that time yet; manually
> reviewing all the commits that were happening).
> Going forward, Yes, I think we should make an explicit announcement to
> ctakes-dev about the upcoming release (candidate) that is about to be
> cut from trunk.
> I think it's probably a good idea to make the announcement regardless
> anyway to make the developers aware of what is going on (and just in
> case they actually would like something to be included but just needed
> some more time).
> 
> --Pei
> 
> > -----Original Message-----
> > From: Steven Bethard [mailto:steven.bethard@Colorado.EDU]
> > Sent: Wednesday, October 31, 2012 10:37 AM
> > To: ctakes-dev@incubator.apache.org
> > Subject: Re: technical release process questions
> >
> > On Oct 31, 2012, at 3:29 PM, "Chen, Pei"
> > <Pe...@childrens.harvard.edu>
> > wrote:
> > >> (1) When we decide to make a release, does someone create a branch
> > >> for the release? I'm assuming yes, because otherwise there needs to
> > >> be some way of freezing development on the trunk. Where can I find
> > >> that
> > branch?
> > > By default, the mvn release plugin automatically always creates a
> > > tag by
> > default(example 3.0.0-incubating, etc.).
> > > Code is checked out and built from this tag for distribution.
> > > The tag could be treated as a frozen version when it was cut from
> > > trunk and
> > the release number is incremented in trunk for future development.
> >
> > Ok, so you're just cutting the release directly from trunk then. In
> > that case, perhaps there should be a "Trunk is frozen" announcement,
> > where we warn developers not to commit anything? I imagine we don't
> > want random changes sneaking in while you're in the middle of the
> release process.
> >
> > The alternative is to branch first, and cut the release from the
> > branch. Maven release will still create the same tag, but it will
> > create it from the branch instead of the trunk. This approach wouldn't
> require the "frozen"
> > announcement, and people could keep working from trunk.
> >
> > Steve

RE: technical release process questions

Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
> Ok, so you're just cutting the release directly from trunk then. In that case,
> perhaps there should be a "Trunk is frozen" announcement, where we warn
> developers not to commit anything? I imagine we don't want random
> changes sneaking in while you're in the middle of the release process.

Yes, I think this was just an oversight on my part as I was just trying the new release process at ASF (And I wasn't too concerned about new changes in trunk getting into the RC at that time yet; manually reviewing all the commits that were happening).
Going forward, Yes, I think we should make an explicit announcement to ctakes-dev about the upcoming release (candidate) that is about to be cut from trunk.
I think it's probably a good idea to make the announcement regardless anyway to make the developers aware of what is going on (and just in case they actually would like something to be included but just needed some more time).

--Pei

> -----Original Message-----
> From: Steven Bethard [mailto:steven.bethard@Colorado.EDU]
> Sent: Wednesday, October 31, 2012 10:37 AM
> To: ctakes-dev@incubator.apache.org
> Subject: Re: technical release process questions
> 
> On Oct 31, 2012, at 3:29 PM, "Chen, Pei" <Pe...@childrens.harvard.edu>
> wrote:
> >> (1) When we decide to make a release, does someone create a branch
> >> for the release? I'm assuming yes, because otherwise there needs to
> >> be some way of freezing development on the trunk. Where can I find that
> branch?
> > By default, the mvn release plugin automatically always creates a tag by
> default(example 3.0.0-incubating, etc.).
> > Code is checked out and built from this tag for distribution.
> > The tag could be treated as a frozen version when it was cut from trunk and
> the release number is incremented in trunk for future development.
> 
> Ok, so you're just cutting the release directly from trunk then. In that case,
> perhaps there should be a "Trunk is frozen" announcement, where we warn
> developers not to commit anything? I imagine we don't want random
> changes sneaking in while you're in the middle of the release process.
> 
> The alternative is to branch first, and cut the release from the branch. Maven
> release will still create the same tag, but it will create it from the branch
> instead of the trunk. This approach wouldn't require the "frozen"
> announcement, and people could keep working from trunk.
> 
> Steve

Re: technical release process questions

Posted by Steven Bethard <st...@Colorado.EDU>.
On Oct 31, 2012, at 3:29 PM, "Chen, Pei" <Pe...@childrens.harvard.edu> wrote:
>> (1) When we decide to make a release, does someone create a branch for
>> the release? I'm assuming yes, because otherwise there needs to be some
>> way of freezing development on the trunk. Where can I find that branch?
> By default, the mvn release plugin automatically always creates a tag by default(example 3.0.0-incubating, etc.).  
> Code is checked out and built from this tag for distribution. 
> The tag could be treated as a frozen version when it was cut from trunk and the release number is incremented in trunk for future development.

Ok, so you're just cutting the release directly from trunk then. In that case, perhaps there should be a "Trunk is frozen" announcement, where we warn developers not to commit anything? I imagine we don't want random changes sneaking in while you're in the middle of the release process.

The alternative is to branch first, and cut the release from the branch. Maven release will still create the same tag, but it will create it from the branch instead of the trunk. This approach wouldn't require the "frozen" announcement, and people could keep working from trunk.

Steve

RE: technical release process questions

Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
Hi Steve,
These are good questions and hopefully we'll try to flush them out while we're performing the initial few releases.

> (1) When we decide to make a release, does someone create a branch for
> the release? I'm assuming yes, because otherwise there needs to be some
> way of freezing development on the trunk. Where can I find that branch?
By default, the mvn release plugin automatically always creates a tag by default(example 3.0.0-incubating, etc.).  
Code is checked out and built from this tag for distribution. 
The tag could be treated as a frozen version when it was cut from trunk and the release number is incremented in trunk for future development.

> (2) After we make a release, where do bug-fixes for that release go? 
> I can imagine at least two answers: (a) bug-fixes and new features both go to
> trunk, and all releases will be new branches off of trunk or (b) bug-fixes and
> new features both go to trunk, bug-fixes only are merged into the release
> branch, and bug-fix releases are done from the release branch, while new-
> feature releases create new branches off of trunk.

>From past experience with cTAKES, I believe we have been doing a) more often.  i.e. if we find a bug, we fix it in trunk. New releases will be cut from trunk along with new features (simpler for the push forward mechanism rather than patching existing releases).
For the few cases if we ever need to patch an existing release, we can create a patch branch from the tag- put the bug fixes both the patch branch and trunk (I believe this is what Sean F also suggested).  Trunk always continues with new development as usual.

We can also always create a branch as well as a tag in svn by default for every release (but this just seemed like an extra step if we already have it tagged- unless something thinks it's worth it.)
This is just a suggestion based on my observations here so far.   I'm a big fan to keep the release process as simple as possible though.  

Thanks,
Pei



> -----Original Message-----
> From: Steven Bethard [mailto:steven.bethard@Colorado.EDU]
> Sent: Wednesday, October 31, 2012 5:46 AM
> To: ctakes-dev@incubator.apache.org
> Subject: technical release process questions
> 
> I have a few technical questions about cTAKES releases:
> 
> (1) When we decide to make a release, does someone create a branch for
> the release? I'm assuming yes, because otherwise there needs to be some
> way of freezing development on the trunk. Where can I find that branch?
> 
> (2) After we make a release, where do bug-fixes for that release go? I can
> imagine at least two answers: (a) bug-fixes and new features both go to
> trunk, and all releases will be new branches off of trunk or (b) bug-fixes and
> new features both go to trunk, bug-fixes only are merged into the release
> branch, and bug-fix releases are done from the release branch, while new-
> feature releases create new branches off of trunk.
> 
> What's the process here?
> 
> Steve

RE: technical release process questions

Posted by "Finan, Sean" <Se...@childrens.harvard.edu>.
On Wednesday, October 31, 2012 5:46 AM : Steven Bethard [mailto:steven.bethard@Colorado.EDU] wrote:
> (2) After we make a release, where do bug-fixes for that release go

One option is to create a release branch (2.6), make a patch branch (2.6.1),  and keep trunk.  Fixes and enhancements go to trunk, fixes go to the patch, and the release branch is frozen.