You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Mark Struberg <st...@yahoo.de> on 2015/01/28 09:53:40 UTC
what is which branch up for?
Hi folks!
Just noticed that our branch naming schema in GIT is still outerwordly fucked up.
Why don't we do it as everyone else does?
What does this crap of development branch do? It's total nonsense to have it!
There is NO RTC for development at whole ASF except for MAINTENANCE BRANCHES maybe. All the standard community work is CTR (Commmit Then Review) That's a community wide modus operandi and we should follow it as well.
So I for one will totally ignore this development branch when working on the TCK in the next days.
Can we please finally merge in all the good work in the development branch to master and delete it finally?
LieGrue,
strub
Re: what is which branch up for?
Posted by Mark Struberg <st...@yahoo.de>.
master is on the state of OKTOBER 2014!
Now people think about that: what do others look at when they check out a project. They look at trunk/master! And there they see that the project didn't move since almost a half yea? Christ, that's totally nuts!
LieGrue,
strub
> On Wednesday, 28 January 2015, 9:55, Romain Manni-Bucau <rm...@gmail.com> wrote:
> > hehe feel less alone now, +1
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
>
> 2015-01-28 9:53 GMT+01:00 Mark Struberg <st...@yahoo.de>:
>> Hi folks!
>>
>> Just noticed that our branch naming schema in GIT is still outerwordly
> fucked up.
>>
>>
>>
>> Why don't we do it as everyone else does?
>> What does this crap of development branch do? It's total nonsense to
> have it!
>>
>> There is NO RTC for development at whole ASF except for MAINTENANCE
> BRANCHES maybe. All the standard community work is CTR (Commmit Then Review)
> That's a community wide modus operandi and we should follow it as well.
>>
>>
>> So I for one will totally ignore this development branch when working on
> the TCK in the next days.
>>
>> Can we please finally merge in all the good work in the development branch
> to master and delete it finally?
>>
>>
>> LieGrue,
>> strub
>
Re: what is which branch up for?
Posted by Mark Struberg <st...@yahoo.de>.
agree. Gitflow is basically a workflow replacement of what we have with out commit mails anyway. This is something we technically do not need at ASF. Plus it requires extra manpower for managing the merges...
LieGrue,
strub
> On Wednesday, 28 January 2015, 11:00, Romain Manni-Bucau <rm...@gmail.com> wrote:
> > well it is by design opposed to apache way since if it is used it is
> to have the ability to change commit history - if not it is really
> useless.
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
>
> 2015-01-28 10:57 GMT+01:00 Andy Gumbrecht <ag...@tomitribe.com>:
>> I know I set it up this way, but I am really +0 at the moment. I don't
> feel
>> any anger towards it though. It is not 'my way', rather the Gitflow
> way.
>>
>> I'm not going to push it other than to point to the description of
> Gitflow.
>> It's only going to make sense if you use it, and then really only if
> you
>> play release manager, and then only if you are managing both 1.7.x and
>> develop releases.
>>
>> The scenario is described here in extreme detail -
>>
> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
>>
>> It just 'looks' future safe to do it that way, and until the
> Gitflow has
>> been tried and tested on the upcoming releases we will not know. Jon should
>> give us his feedback after the releases are done. And then we should all
>> look at the repo. The decision to use it was based on that description and
>> they guy who 'invented' it -
>> http://nvie.com/posts/a-successful-git-branching-model/
>>
>> I actually don't know what is so painful about using '-b
> develop' on the
>> initial developer checkout? That's it, everything else is identical. As
> a
>> developer it is trivial. Where are the hard line drawbacks to it other than
>> to say it's crap? Why is is so painful for some? I really want to
> understand
>> what is causing the hate?
>>
>> The simple idea is that 'master' only ever contains production
> ready code,
>> that's it. No more no less.
>>
>> Anyway, if everyone agrees on a way forward then votes on it then I really
>> am +0, as it is not hard to do it either way.
>>
>> That doesn't mean:
>> -1 It's crap!
>>
>> That does mean:
>> -1 It's crap because.... and I will document 'my way' for
> everyone to follow
>> to the letter.
>>
>> Andy.
>>
>>
>> On 28/01/2015 09:55, Romain Manni-Bucau wrote:
>>>
>>> hehe feel less alone now, +1
>>>
>>>
>>> Romain Manni-Bucau
>>> @rmannibucau
>>> http://www.tomitribe.com
>>> http://rmannibucau.wordpress.com
>>> https://github.com/rmannibucau
>>>
>>>
>>> 2015-01-28 9:53 GMT+01:00 Mark Struberg <st...@yahoo.de>:
>>>>
>>>> Hi folks!
>>>>
>>>> Just noticed that our branch naming schema in GIT is still
> outerwordly
>>>> fucked up.
>>>>
>>>>
>>>>
>>>> Why don't we do it as everyone else does?
>>>> What does this crap of development branch do? It's total
> nonsense to have
>>>> it!
>>>>
>>>> There is NO RTC for development at whole ASF except for MAINTENANCE
>>>> BRANCHES maybe. All the standard community work is CTR (Commmit
> Then Review)
>>>> That's a community wide modus operandi and we should follow it
> as well.
>>>>
>>>>
>>>> So I for one will totally ignore this development branch when
> working on
>>>> the TCK in the next days.
>>>>
>>>> Can we please finally merge in all the good work in the development
>>>> branch to master and delete it finally?
>>>>
>>>>
>>>> LieGrue,
>>>> strub
>>>
>>>
>>>
>>> --
>>> Andy Gumbrecht
>>> https://twitter.com/AndyGeeDe
>>> http://www.tomitribe.com
>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
>>@thiago: works but 2.x is generally useless while it matches master or last
2.x tag
@romain: It is useful if we don't want code-freeze. In that case, we would
need a place to work as the buffer that Andy mentioned before.
>> just to allow a buffer zone during it's preparation so devs can carry on
oblivious to it.
On Fri, Jan 30, 2015 at 6:51 PM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> @thiago: works but 2.x is generally useless while it matches master or
> last 2.x tag
> Le 31 janv. 2015 00:22, "Thiago Veronezi" <th...@veronezi.org> a écrit :
>
> > Did you guys take some time to consider my proposal? Oh well... Ok, I
> > changed the rssreader project in order to reflect what I'm trying to say.
> > :)
> >
> > https://github.com/tveronezi/rssreader
> > https://github.com/tveronezi/rssreader/branches
> > https://github.com/tveronezi/rssreader/releases
> >
> > With my proposal, we would have 3, and only 3, branches all the times. In
> > the example above it goes like this:
> > * master -> bleeding edge - development branch. I will try to use tomee
> > 2.x.x here.
> > * with-tomee-1.7.x -> stable branch. Only libraries and TomEE-1.7.x
> updates
> > here.
> > * with-tomee-2.x.x -> stable branch. Updated every time a new TomEE 2.x.x
> > comes out.
> >
> > We would also have tags. https://github.com/tveronezi/rssreader/tags
> > For now I have only one. v1.0 uses the latest released TomEE 1.7.x ->
> TomEE
> > 1.7.1
> >
> > Just for one minute, lets imagine/map these branches as being our TomEE
> > branches:
> > * master rssreader -> master tomee
> > * with-tomee-1.7.x -> tomee-1.7.x
> > * with-tomee-2.x.x -> tomee-2.x.x
> >
> > My "with-tomee-1.7.x" branch is stable and should not have new features.
> > Once a new TomEE version comes out, I will simply switch to this branch
> and
> > update to the new version. Commit, push, create a new tag (v1.1) and push
> > the tag. I don't need to touch "master" because "master" uses TomEE
> > 2.0.0-SNAPSHOT.
> >
> > "with-tomee-2.x.x" is pretty much dead now because we still don't have a
> > TomEE 2.0.0 release. Once we have it, I will do the following...
> >
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git branch
> > * master
> > with-tomee-1.7.x
> > with-tomee-2.x.x
> >
> > ## switching from master to 'with-tomee-2.x.x'
> >
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git checkout
> > with-tomee-2.x.x
> > Switched to branch 'with-tomee-2.x.x'
> >
> > ## merging whatever I have in 'master' into 'with-tomee-2.x.x'
> >
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git merge master
> > Updating 8bbfdcc..64b3095
> > Fast-forward
> > pom.xml | 26 +++++++++++++++++++++++---
> > 1 file changed, 23 insertions(+), 3 deletions(-)
> >
> > ## pushing it to the remote repository so others can help me
> >
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
> > Total 0 (delta 0), reused 0 (delta 0)
> > To https://github.com/tveronezi/rssreader.git
> > 8bbfdcc..64b3095 with-tomee-2.x.x -> with-tomee-2.x.x
> >
> >
> > ## At this point "master" and "with-tomee-2.x.x" are the same. It means
> > that "with-tomee-2.x.x" could potentially be broken.
> > ## My job now is to make it stable again. Once I did the source changes,
> I
> > commit and push them back to the remote branch.
> > ## I also create a tag and push it to the remote repository.
> > ## Commiting the changes I did to make the release possible...
> >
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git status
> > # On branch with-tomee-2.x.x
> > # Changes not staged for commit:
> > # (use "git add <file>..." to update what will be committed)
> > # (use "git checkout -- <file>..." to discard changes in working
> > directory)
> > #
> > # modified: pom.xml
> > # modified: src/main/webapp/index.jsp
> > #
> > no changes added to commit (use "git add" and/or "git commit -a")
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git add pom.xml
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git add
> > src/main/webapp/index.jsp
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git commit -m "not
> using
> > extjs webjar due to bug in tomee 2.0.0"
> > [with-tomee-2.x.x 1562d1a] not using extjs webjar due to bug in tomee
> 2.0.0
> > 2 files changed, 3 insertions(+), 9 deletions(-)
> >
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
> > Counting objects: 13, done.
> > Delta compression using up to 2 threads.
> > Compressing objects: 100% (7/7), done.
> > Writing objects: 100% (7/7), 683 bytes, done.
> > Total 7 (delta 5), reused 0 (delta 0)
> > To https://github.com/tveronezi/rssreader.git
> > 64b3095..1562d1a with-tomee-2.x.x -> with-tomee-2.x.x
> >
> > ## I call a vote. Once it passes, it's time to create a tag.
> >
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git tag -a v2.0-Beta -m
> > 'rssreader with tomee 2.0.0 SNAPSHOT'
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push origin
> v2.0-Beta
> > Counting objects: 1, done.
> > Writing objects: 100% (1/1), 190 bytes, done.
> > Total 1 (delta 0), reused 0 (delta 0)
> > To https://github.com/tveronezi/rssreader.git
> > * [new tag] v2.0-Beta -> v2.0-Beta
> >
> > ## Now it is time to merge our changes back to master so we don't lose
> our
> > good work
> >
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git branch
> > master
> > with-tomee-1.7.x
> > * with-tomee-2.x.x
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git checkout master
> > Switched to branch 'master'
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git merge
> > with-tomee-2.x.x
> > Updating 64b3095..1562d1a
> > Fast-forward
> > pom.xml | 8 +-------
> > src/main/webapp/index.jsp | 4 ++--
> > 2 files changed, 3 insertions(+), 9 deletions(-)
> > tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
> > Total 0 (delta 0), reused 0 (delta 0)
> > To https://github.com/tveronezi/rssreader.git
> > 64b3095..1562d1a master -> master
> >
> >
> > ## The release v2.0-Beta is now ready!
> >
> > This approach makes everyone happy:
> > * master points to the latest code. So, anyone cloning this project would
> > automatically have the bleeding edge version of it.
> > * we don't need to call a code freeze. Other developers can still work on
> > master.
> > * we won't need to create and delete new branches.
> > * there is no "review and commit" process.
> > * there is no cherry-picking.
> > * there is no history rewrite.
> > * we would have release branches that are always (or most of the time)
> > stable.
> > * we have tags to our releases
> >
> >
> > []s,
> > Thiago.
> >
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
@thiago: works but 2.x is generally useless while it matches master or
last 2.x tag
Le 31 janv. 2015 00:22, "Thiago Veronezi" <th...@veronezi.org> a écrit :
> Did you guys take some time to consider my proposal? Oh well... Ok, I
> changed the rssreader project in order to reflect what I'm trying to say.
> :)
>
> https://github.com/tveronezi/rssreader
> https://github.com/tveronezi/rssreader/branches
> https://github.com/tveronezi/rssreader/releases
>
> With my proposal, we would have 3, and only 3, branches all the times. In
> the example above it goes like this:
> * master -> bleeding edge - development branch. I will try to use tomee
> 2.x.x here.
> * with-tomee-1.7.x -> stable branch. Only libraries and TomEE-1.7.x updates
> here.
> * with-tomee-2.x.x -> stable branch. Updated every time a new TomEE 2.x.x
> comes out.
>
> We would also have tags. https://github.com/tveronezi/rssreader/tags
> For now I have only one. v1.0 uses the latest released TomEE 1.7.x -> TomEE
> 1.7.1
>
> Just for one minute, lets imagine/map these branches as being our TomEE
> branches:
> * master rssreader -> master tomee
> * with-tomee-1.7.x -> tomee-1.7.x
> * with-tomee-2.x.x -> tomee-2.x.x
>
> My "with-tomee-1.7.x" branch is stable and should not have new features.
> Once a new TomEE version comes out, I will simply switch to this branch and
> update to the new version. Commit, push, create a new tag (v1.1) and push
> the tag. I don't need to touch "master" because "master" uses TomEE
> 2.0.0-SNAPSHOT.
>
> "with-tomee-2.x.x" is pretty much dead now because we still don't have a
> TomEE 2.0.0 release. Once we have it, I will do the following...
>
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git branch
> * master
> with-tomee-1.7.x
> with-tomee-2.x.x
>
> ## switching from master to 'with-tomee-2.x.x'
>
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git checkout
> with-tomee-2.x.x
> Switched to branch 'with-tomee-2.x.x'
>
> ## merging whatever I have in 'master' into 'with-tomee-2.x.x'
>
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git merge master
> Updating 8bbfdcc..64b3095
> Fast-forward
> pom.xml | 26 +++++++++++++++++++++++---
> 1 file changed, 23 insertions(+), 3 deletions(-)
>
> ## pushing it to the remote repository so others can help me
>
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
> Total 0 (delta 0), reused 0 (delta 0)
> To https://github.com/tveronezi/rssreader.git
> 8bbfdcc..64b3095 with-tomee-2.x.x -> with-tomee-2.x.x
>
>
> ## At this point "master" and "with-tomee-2.x.x" are the same. It means
> that "with-tomee-2.x.x" could potentially be broken.
> ## My job now is to make it stable again. Once I did the source changes, I
> commit and push them back to the remote branch.
> ## I also create a tag and push it to the remote repository.
> ## Commiting the changes I did to make the release possible...
>
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git status
> # On branch with-tomee-2.x.x
> # Changes not staged for commit:
> # (use "git add <file>..." to update what will be committed)
> # (use "git checkout -- <file>..." to discard changes in working
> directory)
> #
> # modified: pom.xml
> # modified: src/main/webapp/index.jsp
> #
> no changes added to commit (use "git add" and/or "git commit -a")
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git add pom.xml
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git add
> src/main/webapp/index.jsp
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git commit -m "not using
> extjs webjar due to bug in tomee 2.0.0"
> [with-tomee-2.x.x 1562d1a] not using extjs webjar due to bug in tomee 2.0.0
> 2 files changed, 3 insertions(+), 9 deletions(-)
>
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
> Counting objects: 13, done.
> Delta compression using up to 2 threads.
> Compressing objects: 100% (7/7), done.
> Writing objects: 100% (7/7), 683 bytes, done.
> Total 7 (delta 5), reused 0 (delta 0)
> To https://github.com/tveronezi/rssreader.git
> 64b3095..1562d1a with-tomee-2.x.x -> with-tomee-2.x.x
>
> ## I call a vote. Once it passes, it's time to create a tag.
>
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git tag -a v2.0-Beta -m
> 'rssreader with tomee 2.0.0 SNAPSHOT'
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push origin v2.0-Beta
> Counting objects: 1, done.
> Writing objects: 100% (1/1), 190 bytes, done.
> Total 1 (delta 0), reused 0 (delta 0)
> To https://github.com/tveronezi/rssreader.git
> * [new tag] v2.0-Beta -> v2.0-Beta
>
> ## Now it is time to merge our changes back to master so we don't lose our
> good work
>
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git branch
> master
> with-tomee-1.7.x
> * with-tomee-2.x.x
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git checkout master
> Switched to branch 'master'
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git merge
> with-tomee-2.x.x
> Updating 64b3095..1562d1a
> Fast-forward
> pom.xml | 8 +-------
> src/main/webapp/index.jsp | 4 ++--
> 2 files changed, 3 insertions(+), 9 deletions(-)
> tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
> Total 0 (delta 0), reused 0 (delta 0)
> To https://github.com/tveronezi/rssreader.git
> 64b3095..1562d1a master -> master
>
>
> ## The release v2.0-Beta is now ready!
>
> This approach makes everyone happy:
> * master points to the latest code. So, anyone cloning this project would
> automatically have the bleeding edge version of it.
> * we don't need to call a code freeze. Other developers can still work on
> master.
> * we won't need to create and delete new branches.
> * there is no "review and commit" process.
> * there is no cherry-picking.
> * there is no history rewrite.
> * we would have release branches that are always (or most of the time)
> stable.
> * we have tags to our releases
>
>
> []s,
> Thiago.
>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
Did you guys take some time to consider my proposal? Oh well... Ok, I
changed the rssreader project in order to reflect what I'm trying to say. :)
https://github.com/tveronezi/rssreader
https://github.com/tveronezi/rssreader/branches
https://github.com/tveronezi/rssreader/releases
With my proposal, we would have 3, and only 3, branches all the times. In
the example above it goes like this:
* master -> bleeding edge - development branch. I will try to use tomee
2.x.x here.
* with-tomee-1.7.x -> stable branch. Only libraries and TomEE-1.7.x updates
here.
* with-tomee-2.x.x -> stable branch. Updated every time a new TomEE 2.x.x
comes out.
We would also have tags. https://github.com/tveronezi/rssreader/tags
For now I have only one. v1.0 uses the latest released TomEE 1.7.x -> TomEE
1.7.1
Just for one minute, lets imagine/map these branches as being our TomEE
branches:
* master rssreader -> master tomee
* with-tomee-1.7.x -> tomee-1.7.x
* with-tomee-2.x.x -> tomee-2.x.x
My "with-tomee-1.7.x" branch is stable and should not have new features.
Once a new TomEE version comes out, I will simply switch to this branch and
update to the new version. Commit, push, create a new tag (v1.1) and push
the tag. I don't need to touch "master" because "master" uses TomEE
2.0.0-SNAPSHOT.
"with-tomee-2.x.x" is pretty much dead now because we still don't have a
TomEE 2.0.0 release. Once we have it, I will do the following...
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git branch
* master
with-tomee-1.7.x
with-tomee-2.x.x
## switching from master to 'with-tomee-2.x.x'
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git checkout
with-tomee-2.x.x
Switched to branch 'with-tomee-2.x.x'
## merging whatever I have in 'master' into 'with-tomee-2.x.x'
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git merge master
Updating 8bbfdcc..64b3095
Fast-forward
pom.xml | 26 +++++++++++++++++++++++---
1 file changed, 23 insertions(+), 3 deletions(-)
## pushing it to the remote repository so others can help me
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/tveronezi/rssreader.git
8bbfdcc..64b3095 with-tomee-2.x.x -> with-tomee-2.x.x
## At this point "master" and "with-tomee-2.x.x" are the same. It means
that "with-tomee-2.x.x" could potentially be broken.
## My job now is to make it stable again. Once I did the source changes, I
commit and push them back to the remote branch.
## I also create a tag and push it to the remote repository.
## Commiting the changes I did to make the release possible...
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git status
# On branch with-tomee-2.x.x
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working
directory)
#
# modified: pom.xml
# modified: src/main/webapp/index.jsp
#
no changes added to commit (use "git add" and/or "git commit -a")
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git add pom.xml
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git add
src/main/webapp/index.jsp
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git commit -m "not using
extjs webjar due to bug in tomee 2.0.0"
[with-tomee-2.x.x 1562d1a] not using extjs webjar due to bug in tomee 2.0.0
2 files changed, 3 insertions(+), 9 deletions(-)
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
Counting objects: 13, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 683 bytes, done.
Total 7 (delta 5), reused 0 (delta 0)
To https://github.com/tveronezi/rssreader.git
64b3095..1562d1a with-tomee-2.x.x -> with-tomee-2.x.x
## I call a vote. Once it passes, it's time to create a tag.
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git tag -a v2.0-Beta -m
'rssreader with tomee 2.0.0 SNAPSHOT'
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push origin v2.0-Beta
Counting objects: 1, done.
Writing objects: 100% (1/1), 190 bytes, done.
Total 1 (delta 0), reused 0 (delta 0)
To https://github.com/tveronezi/rssreader.git
* [new tag] v2.0-Beta -> v2.0-Beta
## Now it is time to merge our changes back to master so we don't lose our
good work
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git branch
master
with-tomee-1.7.x
* with-tomee-2.x.x
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git checkout master
Switched to branch 'master'
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git merge with-tomee-2.x.x
Updating 64b3095..1562d1a
Fast-forward
pom.xml | 8 +-------
src/main/webapp/index.jsp | 4 ++--
2 files changed, 3 insertions(+), 9 deletions(-)
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/tveronezi/rssreader.git
64b3095..1562d1a master -> master
## The release v2.0-Beta is now ready!
This approach makes everyone happy:
* master points to the latest code. So, anyone cloning this project would
automatically have the bleeding edge version of it.
* we don't need to call a code freeze. Other developers can still work on
master.
* we won't need to create and delete new branches.
* there is no "review and commit" process.
* there is no cherry-picking.
* there is no history rewrite.
* we would have release branches that are always (or most of the time)
stable.
* we have tags to our releases
[]s,
Thiago.
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
Did you guys take some time to consider my proposal? Oh well... Ok, I
changed the rssreader project in order to reflect what I'm trying to say. :)
https://github.com/tveronezi/rssreader
https://github.com/tveronezi/rssreader/branches
https://github.com/tveronezi/rssreader/releases
With my proposal, we would have 3, and only 3, branches all the times. In
the example above it goes like this:
* master -> bleeding edge - development branch. I will try to use tomee
2.x.x here.
* with-tomee-1.7.x -> stable branch. Only libraries and TomEE-1.7.x updates
here.
* with-tomee-2.x.x -> stable branch. Updated every time a new TomEE 2.x.x
comes out.
We would also have tags. https://github.com/tveronezi/rssreader/tags
For now I have only one. v1.0 uses the latest released TomEE 1.7.x -> TomEE
1.7.1
Just for one minute, lets imagine/map these branches as being our TomEE
branches:
* master rssreader -> master tomee
* with-tomee-1.7.x -> tomee-1.7.x
* with-tomee-2.x.x -> tomee-2.x.x
My "with-tomee-1.7.x" branch is stable and should not have new features.
Once a new TomEE version comes out, I will simply switch to this branch and
update to the new version. Commit, push, create a new tag (v1.1) and push
the tag. I don't need to touch "master" because "master" uses TomEE
2.0.0-SNAPSHOT.
"with-tomee-2.x.x" is pretty much dead now because we still don't have a
TomEE 2.0.0 release. Once we have it, I will do the following...
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git branch
* master
with-tomee-1.7.x
with-tomee-2.x.x
## switching from master to 'with-tomee-2.x.x'
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git checkout
with-tomee-2.x.x
Switched to branch 'with-tomee-2.x.x'
## merging whatever I have in 'master' into 'with-tomee-2.x.x'
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git merge master
Updating 8bbfdcc..64b3095
Fast-forward
pom.xml | 26 +++++++++++++++++++++++---
1 file changed, 23 insertions(+), 3 deletions(-)
## pushing it to the remote repository so others can help me
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/tveronezi/rssreader.git
8bbfdcc..64b3095 with-tomee-2.x.x -> with-tomee-2.x.x
## At this point "master" and "with-tomee-2.x.x" are the same. It means
that "with-tomee-2.x.x" could potentially be broken.
## My job now is to make it stable again. Once I did the source changes, I
commit and push them back to the remote branch.
## I also create a tag and push it to the remote repository.
## Commiting the changes I did to make the release possible...
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git status
# On branch with-tomee-2.x.x
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working
directory)
#
# modified: pom.xml
# modified: src/main/webapp/index.jsp
#
no changes added to commit (use "git add" and/or "git commit -a")
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git add pom.xml
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git add
src/main/webapp/index.jsp
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git commit -m "not using
extjs webjar due to bug in tomee 2.0.0"
[with-tomee-2.x.x 1562d1a] not using extjs webjar due to bug in tomee 2.0.0
2 files changed, 3 insertions(+), 9 deletions(-)
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
Counting objects: 13, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 683 bytes, done.
Total 7 (delta 5), reused 0 (delta 0)
To https://github.com/tveronezi/rssreader.git
64b3095..1562d1a with-tomee-2.x.x -> with-tomee-2.x.x
## I call a vote. Once it passes, it's time to create a tag.
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git tag -a v2.0-Beta -m
'rssreader with tomee 2.0.0 SNAPSHOT'
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push origin v2.0-Beta
Counting objects: 1, done.
Writing objects: 100% (1/1), 190 bytes, done.
Total 1 (delta 0), reused 0 (delta 0)
To https://github.com/tveronezi/rssreader.git
* [new tag] v2.0-Beta -> v2.0-Beta
## Now it is time to merge our changes back to master so we don't lose our
good work
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git branch
master
with-tomee-1.7.x
* with-tomee-2.x.x
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git checkout master
Switched to branch 'master'
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git merge with-tomee-2.x.x
Updating 64b3095..1562d1a
Fast-forward
pom.xml | 8 +-------
src/main/webapp/index.jsp | 4 ++--
2 files changed, 3 insertions(+), 9 deletions(-)
tveronezi@sweethome:~/dev/ws/projects/rssreader$ git push
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/tveronezi/rssreader.git
64b3095..1562d1a master -> master
## The release v2.0-Beta is now ready!
This approach makes everyone happy:
* master points to the latest code. So, anyone cloning this project would
automatically have the bleeding edge version of it.
* we don't need to call a code freeze. Other developers can still work on
master.
* we won't need to create and delete new branches.
* there is no "review and commit" process.
* there is no cherry-picking.
* there is no history rewrite.
* we would have release branches that are always (or most of the time)
stable.
* we have tags to our releases
[]s,
Thiago.
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
point is if you dont do it then this workflow is useless and doesnt
bring anything since stable sources are in tags
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-01-30 13:01 GMT+01:00 Andy Gumbrecht <ag...@tomitribe.com>:
> Hi Mark,
>
> This is a great discussion and I am really starting to see both sides. Again
> I am pretty neutral, but still lean to Gitflow.
>
> However (there is always one of those), I have to agree with Alan on the
> 'cherry picking' issue. It does not tie in with the documentation at all? I
> have read
> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
> over and over to try and see where all this work you suggest is coming from,
> and I still don't see it?
>
>>> Where do you see that? I keep reading that Atlasssian document and I
>>> don’t see
>>> where it requires cherry picking each and every commit.
>>>
>>>
>>> You have a master branch and a development branch. All work happens on
>>> the development branch but releases happen from master branch, right? So how
>>> do all the commits end up on the master branch? Someone has to pick the
>>> 'good' ones from the development branch over to the master branch.
>>> Especially when a release comes near.
>>>
>>>
> Releases are taken from develop - 'Once the release is ready to ship, Mary
> merges it into master and develop' - This is where I cannot understand the
> nature of it's / your dismissal, as it is virtually a one liner? Someone
> does play the release manager at some point and all this Gitflow is just to
> allow a buffer zone during it's preparation so devs can carry on oblivious
> to it.
>
> The first picture in the mentioned docs really paints it for me. I played
> out Gitflow step by step on a simple hello world repo and still can't find
> 'all this work'?
>
> We have of course jumped ahead of the game with 1.7.x and develop branches,
> because we don't have a 2.x release in master yet (ie. the only thing that
> should be in master is 2.0.0-Milestone1). It is just to save a back peddle
> when we finally get there. Really, as it stands today, the develop branch
> 'should' be 1.7.x and 2.x should be in it's own branch until it takes over
> as the main release. It would have been that way if we'd made the transition
> to git earlier.
>
> What you suggest is, as mentioned in the thread, that we basically do it the
> svn way (with the advantages of git locally). We still freeze checking in
> potentially unstable stuff while the release is ongoing and collaborate via
> the lists as usual. Totally cool with it if that's really what you want. I
> was totally cool with svn ;-)
>
> Andy.
>
>
> --
> Andy Gumbrecht
> https://twitter.com/AndyGeeDe
> http://www.tomitribe.com
>
Re: what is which branch up for?
Posted by Andy Gumbrecht <ag...@tomitribe.com>.
Hi Mark,
This is a great discussion and I am really starting to see both sides.
Again I am pretty neutral, but still lean to Gitflow.
However (there is always one of those), I have to agree with Alan on the
'cherry picking' issue. It does not tie in with the documentation at
all? I have read
https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
over and over to try and see where all this work you suggest is coming
from, and I still don't see it?
>> Where do you see that? I keep reading that Atlasssian document and I don’t see
>> where it requires cherry picking each and every commit.
>>
>>
>> You have a master branch and a development branch. All work happens on the development branch but releases happen from master branch, right? So how do all the commits end up on the master branch? Someone has to pick the 'good' ones from the development branch over to the master branch. Especially when a release comes near.
>>
>>
Releases are taken from develop - 'Once the release is ready to ship,
Mary merges it into master and develop' - This is where I cannot
understand the nature of it's / your dismissal, as it is virtually a one
liner? Someone does play the release manager at some point and all this
Gitflow is just to allow a buffer zone during it's preparation so devs
can carry on oblivious to it.
The first picture in the mentioned docs really paints it for me. I
played out Gitflow step by step on a simple hello world repo and still
can't find 'all this work'?
We have of course jumped ahead of the game with 1.7.x and develop
branches, because we don't have a 2.x release in master yet (ie. the
only thing that should be in master is 2.0.0-Milestone1). It is just to
save a back peddle when we finally get there. Really, as it stands
today, the develop branch 'should' be 1.7.x and 2.x should be in it's
own branch until it takes over as the main release. It would have been
that way if we'd made the transition to git earlier.
What you suggest is, as mentioned in the thread, that we basically do it
the svn way (with the advantages of git locally). We still freeze
checking in potentially unstable stuff while the release is ongoing and
collaborate via the lists as usual. Totally cool with it if that's
really what you want. I was totally cool with svn ;-)
Andy.
--
Andy Gumbrecht
https://twitter.com/AndyGeeDe
http://www.tomitribe.com
Re: what is which branch up for?
Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
nope
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com
On Thu, Mar 5, 2015 at 10:48 AM, Mark Struberg <st...@yahoo.de> wrote:
> So was there a final conclusion?
> I get it that it makes sense to create a stabilisation branch shortly
> before really rolling a release (kind fo RC builds). This is basically a
> release branching attempt.
> But as we lack of a ReleaseManager who _reviews_ and pulls over all those
> changes on a daily basis I thin there is just no justification for this
> development branch thingy.
>
> Any objections to merge development into master?
>
> LieGrue,
> strub
>
>
> > Am 31.01.2015 um 13:36 schrieb Thiago Veronezi <th...@veronezi.org>:
> >
> > Oh... I see. I'm not talking about feature implementation. I'm talking
> > about the release process and release branches.
> > I don't like a branch per feature either. :) We don't need that.
> >
> >
> > On Sat, Jan 31, 2015 at 7:31 AM, Mark Struberg <st...@yahoo.de>
> wrote:
> >
> >> If you push it to github or attach it as patch you will get help.
> >> That was also the way it used to be with SVN. And it would even be ok to
> >> grant an ASF colleague rights to your github repo or pull a fix from
> him.
> >>
> >> Of course it would be even better if we could have such branches in a
> >> 'sandbox' repo on ASF hardware. But we don't have those YET... :)
> >>
> >>
> >> LieGrue,
> >> strub
> >>
> >>
> >>
> >>
> >>
> >>> On Saturday, 31 January 2015, 13:28, Romain Manni-Bucau <
> >> rmannibucau@gmail.com> wrote:
> >>>> No help yes. That is what we should target anyway.
> >>>
> >>> And removing a remote temp branch is not bad.
> >>>
> >>> Mark got a good proposal with staging mirrors of main asf repos.
> >>>
> >>> Le 31 janv. 2015 13:22, "Thiago Veronezi" <th...@veronezi.org>
> >>> a écrit :
> >>>
> >>>> @Romain: if we are talking about temp remote branches, it implies
> later
> >>>> removal of this branch [bad] otherwise we end up with dead branches
> >> [bad].
> >>>> If we are talking about local or remote branches that can be used by
> >> only
> >>>> one person, it implies no help from the other developers [bad].
> >>>>
> >>>>
> >>>>
> >>>> On Sat, Jan 31, 2015 at 4:46 AM, Romain Manni-Bucau
> >>> <rmannibucau@gmail.com
> >>>>>
> >>>> wrote:
> >>>>
> >>>>> @Thiago: not exactly since we do it in temp branches which could even
> >>> be
> >>>>> private
> >>>>> Le 31 janv. 2015 10:32, "Mark Struberg"
> >>> <st...@yahoo.de> a écrit :
> >>>>>
> >>>>>>> The "Apache Way” is not a set of rules. The Apache Way
> >>> is
> >>>>>>
> >>>>>>> community over code. That’s it. Nothing else.
> >>>>>>
> >>>>>>
> >>>>>> Alan, it is important but all that comes only _after_ some very
> >>> basic
> >>>>>> legal rules we have to follow.
> >>>>>> Those are not many, but they exist. E.g. if a PMC doesn't
> >>> like to
> >>>> follow
> >>>>>> the license and marks guidelines then it will simply get shut
> >>> down by
> >>>>>> board. And I'm glad that we don't have such issues at
> >>> TomEE.
> >>>>>>
> >>>>>>
> >>>>>> To understand the importance of code provenance you just need to
> >>> look
> >>>> at
> >>>>>> the current subpoena we have to handle:
> >>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_subpoenaed1
> >>>>>>
> >>>>>> So it is really _very_ important for the foundation to have a
> >>> very good
> >>>>>> SCM history which can stand the proof of court!
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> LieGrue,
> >>>>>> strub
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
>
>
Re: what is which branch up for?
Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
I meant nope, no objections
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com
On Thu, Mar 5, 2015 at 10:49 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> +1
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> | Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com>
>
> 2015-03-05 10:48 GMT+01:00 Mark Struberg <st...@yahoo.de>:
>
> > So was there a final conclusion?
> > I get it that it makes sense to create a stabilisation branch shortly
> > before really rolling a release (kind fo RC builds). This is basically a
> > release branching attempt.
> > But as we lack of a ReleaseManager who _reviews_ and pulls over all those
> > changes on a daily basis I thin there is just no justification for this
> > development branch thingy.
> >
> > Any objections to merge development into master?
> >
> > LieGrue,
> > strub
> >
> >
> > > Am 31.01.2015 um 13:36 schrieb Thiago Veronezi <th...@veronezi.org>:
> > >
> > > Oh... I see. I'm not talking about feature implementation. I'm talking
> > > about the release process and release branches.
> > > I don't like a branch per feature either. :) We don't need that.
> > >
> > >
> > > On Sat, Jan 31, 2015 at 7:31 AM, Mark Struberg <st...@yahoo.de>
> > wrote:
> > >
> > >> If you push it to github or attach it as patch you will get help.
> > >> That was also the way it used to be with SVN. And it would even be ok
> to
> > >> grant an ASF colleague rights to your github repo or pull a fix from
> > him.
> > >>
> > >> Of course it would be even better if we could have such branches in a
> > >> 'sandbox' repo on ASF hardware. But we don't have those YET... :)
> > >>
> > >>
> > >> LieGrue,
> > >> strub
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>> On Saturday, 31 January 2015, 13:28, Romain Manni-Bucau <
> > >> rmannibucau@gmail.com> wrote:
> > >>>> No help yes. That is what we should target anyway.
> > >>>
> > >>> And removing a remote temp branch is not bad.
> > >>>
> > >>> Mark got a good proposal with staging mirrors of main asf repos.
> > >>>
> > >>> Le 31 janv. 2015 13:22, "Thiago Veronezi" <th...@veronezi.org>
> > >>> a écrit :
> > >>>
> > >>>> @Romain: if we are talking about temp remote branches, it implies
> > later
> > >>>> removal of this branch [bad] otherwise we end up with dead branches
> > >> [bad].
> > >>>> If we are talking about local or remote branches that can be used by
> > >> only
> > >>>> one person, it implies no help from the other developers [bad].
> > >>>>
> > >>>>
> > >>>>
> > >>>> On Sat, Jan 31, 2015 at 4:46 AM, Romain Manni-Bucau
> > >>> <rmannibucau@gmail.com
> > >>>>>
> > >>>> wrote:
> > >>>>
> > >>>>> @Thiago: not exactly since we do it in temp branches which could
> even
> > >>> be
> > >>>>> private
> > >>>>> Le 31 janv. 2015 10:32, "Mark Struberg"
> > >>> <st...@yahoo.de> a écrit :
> > >>>>>
> > >>>>>>> The "Apache Way” is not a set of rules. The Apache Way
> > >>> is
> > >>>>>>
> > >>>>>>> community over code. That’s it. Nothing else.
> > >>>>>>
> > >>>>>>
> > >>>>>> Alan, it is important but all that comes only _after_ some very
> > >>> basic
> > >>>>>> legal rules we have to follow.
> > >>>>>> Those are not many, but they exist. E.g. if a PMC doesn't
> > >>> like to
> > >>>> follow
> > >>>>>> the license and marks guidelines then it will simply get shut
> > >>> down by
> > >>>>>> board. And I'm glad that we don't have such issues at
> > >>> TomEE.
> > >>>>>>
> > >>>>>>
> > >>>>>> To understand the importance of code provenance you just need to
> > >>> look
> > >>>> at
> > >>>>>> the current subpoena we have to handle:
> > >>>>>>
> > >>>>>>
> > >>>>>
> > >>>>
> > >>>
> > >>
> >
> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_subpoenaed1
> > >>>>>>
> > >>>>>> So it is really _very_ important for the foundation to have a
> > >>> very good
> > >>>>>> SCM history which can stand the proof of court!
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> LieGrue,
> > >>>>>> strub
> > >>>>>>
> > >>>>>
> > >>>>
> > >>>
> > >>
> >
> >
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
+1
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>
2015-03-05 10:48 GMT+01:00 Mark Struberg <st...@yahoo.de>:
> So was there a final conclusion?
> I get it that it makes sense to create a stabilisation branch shortly
> before really rolling a release (kind fo RC builds). This is basically a
> release branching attempt.
> But as we lack of a ReleaseManager who _reviews_ and pulls over all those
> changes on a daily basis I thin there is just no justification for this
> development branch thingy.
>
> Any objections to merge development into master?
>
> LieGrue,
> strub
>
>
> > Am 31.01.2015 um 13:36 schrieb Thiago Veronezi <th...@veronezi.org>:
> >
> > Oh... I see. I'm not talking about feature implementation. I'm talking
> > about the release process and release branches.
> > I don't like a branch per feature either. :) We don't need that.
> >
> >
> > On Sat, Jan 31, 2015 at 7:31 AM, Mark Struberg <st...@yahoo.de>
> wrote:
> >
> >> If you push it to github or attach it as patch you will get help.
> >> That was also the way it used to be with SVN. And it would even be ok to
> >> grant an ASF colleague rights to your github repo or pull a fix from
> him.
> >>
> >> Of course it would be even better if we could have such branches in a
> >> 'sandbox' repo on ASF hardware. But we don't have those YET... :)
> >>
> >>
> >> LieGrue,
> >> strub
> >>
> >>
> >>
> >>
> >>
> >>> On Saturday, 31 January 2015, 13:28, Romain Manni-Bucau <
> >> rmannibucau@gmail.com> wrote:
> >>>> No help yes. That is what we should target anyway.
> >>>
> >>> And removing a remote temp branch is not bad.
> >>>
> >>> Mark got a good proposal with staging mirrors of main asf repos.
> >>>
> >>> Le 31 janv. 2015 13:22, "Thiago Veronezi" <th...@veronezi.org>
> >>> a écrit :
> >>>
> >>>> @Romain: if we are talking about temp remote branches, it implies
> later
> >>>> removal of this branch [bad] otherwise we end up with dead branches
> >> [bad].
> >>>> If we are talking about local or remote branches that can be used by
> >> only
> >>>> one person, it implies no help from the other developers [bad].
> >>>>
> >>>>
> >>>>
> >>>> On Sat, Jan 31, 2015 at 4:46 AM, Romain Manni-Bucau
> >>> <rmannibucau@gmail.com
> >>>>>
> >>>> wrote:
> >>>>
> >>>>> @Thiago: not exactly since we do it in temp branches which could even
> >>> be
> >>>>> private
> >>>>> Le 31 janv. 2015 10:32, "Mark Struberg"
> >>> <st...@yahoo.de> a écrit :
> >>>>>
> >>>>>>> The "Apache Way” is not a set of rules. The Apache Way
> >>> is
> >>>>>>
> >>>>>>> community over code. That’s it. Nothing else.
> >>>>>>
> >>>>>>
> >>>>>> Alan, it is important but all that comes only _after_ some very
> >>> basic
> >>>>>> legal rules we have to follow.
> >>>>>> Those are not many, but they exist. E.g. if a PMC doesn't
> >>> like to
> >>>> follow
> >>>>>> the license and marks guidelines then it will simply get shut
> >>> down by
> >>>>>> board. And I'm glad that we don't have such issues at
> >>> TomEE.
> >>>>>>
> >>>>>>
> >>>>>> To understand the importance of code provenance you just need to
> >>> look
> >>>> at
> >>>>>> the current subpoena we have to handle:
> >>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_subpoenaed1
> >>>>>>
> >>>>>> So it is really _very_ important for the foundation to have a
> >>> very good
> >>>>>> SCM history which can stand the proof of court!
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> LieGrue,
> >>>>>> strub
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
>
>
Re: what is which branch up for?
Posted by Mark Struberg <st...@yahoo.de>.
So was there a final conclusion?
I get it that it makes sense to create a stabilisation branch shortly before really rolling a release (kind fo RC builds). This is basically a release branching attempt.
But as we lack of a ReleaseManager who _reviews_ and pulls over all those changes on a daily basis I thin there is just no justification for this development branch thingy.
Any objections to merge development into master?
LieGrue,
strub
> Am 31.01.2015 um 13:36 schrieb Thiago Veronezi <th...@veronezi.org>:
>
> Oh... I see. I'm not talking about feature implementation. I'm talking
> about the release process and release branches.
> I don't like a branch per feature either. :) We don't need that.
>
>
> On Sat, Jan 31, 2015 at 7:31 AM, Mark Struberg <st...@yahoo.de> wrote:
>
>> If you push it to github or attach it as patch you will get help.
>> That was also the way it used to be with SVN. And it would even be ok to
>> grant an ASF colleague rights to your github repo or pull a fix from him.
>>
>> Of course it would be even better if we could have such branches in a
>> 'sandbox' repo on ASF hardware. But we don't have those YET... :)
>>
>>
>> LieGrue,
>> strub
>>
>>
>>
>>
>>
>>> On Saturday, 31 January 2015, 13:28, Romain Manni-Bucau <
>> rmannibucau@gmail.com> wrote:
>>>> No help yes. That is what we should target anyway.
>>>
>>> And removing a remote temp branch is not bad.
>>>
>>> Mark got a good proposal with staging mirrors of main asf repos.
>>>
>>> Le 31 janv. 2015 13:22, "Thiago Veronezi" <th...@veronezi.org>
>>> a écrit :
>>>
>>>> @Romain: if we are talking about temp remote branches, it implies later
>>>> removal of this branch [bad] otherwise we end up with dead branches
>> [bad].
>>>> If we are talking about local or remote branches that can be used by
>> only
>>>> one person, it implies no help from the other developers [bad].
>>>>
>>>>
>>>>
>>>> On Sat, Jan 31, 2015 at 4:46 AM, Romain Manni-Bucau
>>> <rmannibucau@gmail.com
>>>>>
>>>> wrote:
>>>>
>>>>> @Thiago: not exactly since we do it in temp branches which could even
>>> be
>>>>> private
>>>>> Le 31 janv. 2015 10:32, "Mark Struberg"
>>> <st...@yahoo.de> a écrit :
>>>>>
>>>>>>> The "Apache Way” is not a set of rules. The Apache Way
>>> is
>>>>>>
>>>>>>> community over code. That’s it. Nothing else.
>>>>>>
>>>>>>
>>>>>> Alan, it is important but all that comes only _after_ some very
>>> basic
>>>>>> legal rules we have to follow.
>>>>>> Those are not many, but they exist. E.g. if a PMC doesn't
>>> like to
>>>> follow
>>>>>> the license and marks guidelines then it will simply get shut
>>> down by
>>>>>> board. And I'm glad that we don't have such issues at
>>> TomEE.
>>>>>>
>>>>>>
>>>>>> To understand the importance of code provenance you just need to
>>> look
>>>> at
>>>>>> the current subpoena we have to handle:
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_subpoenaed1
>>>>>>
>>>>>> So it is really _very_ important for the foundation to have a
>>> very good
>>>>>> SCM history which can stand the proof of court!
>>>>>>
>>>>>>
>>>>>>
>>>>>> LieGrue,
>>>>>> strub
>>>>>>
>>>>>
>>>>
>>>
>>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
Oh... I see. I'm not talking about feature implementation. I'm talking
about the release process and release branches.
I don't like a branch per feature either. :) We don't need that.
On Sat, Jan 31, 2015 at 7:31 AM, Mark Struberg <st...@yahoo.de> wrote:
> If you push it to github or attach it as patch you will get help.
> That was also the way it used to be with SVN. And it would even be ok to
> grant an ASF colleague rights to your github repo or pull a fix from him.
>
> Of course it would be even better if we could have such branches in a
> 'sandbox' repo on ASF hardware. But we don't have those YET... :)
>
>
> LieGrue,
> strub
>
>
>
>
>
> > On Saturday, 31 January 2015, 13:28, Romain Manni-Bucau <
> rmannibucau@gmail.com> wrote:
> > > No help yes. That is what we should target anyway.
> >
> > And removing a remote temp branch is not bad.
> >
> > Mark got a good proposal with staging mirrors of main asf repos.
> >
> > Le 31 janv. 2015 13:22, "Thiago Veronezi" <th...@veronezi.org>
> > a écrit :
> >
> >> @Romain: if we are talking about temp remote branches, it implies later
> >> removal of this branch [bad] otherwise we end up with dead branches
> [bad].
> >> If we are talking about local or remote branches that can be used by
> only
> >> one person, it implies no help from the other developers [bad].
> >>
> >>
> >>
> >> On Sat, Jan 31, 2015 at 4:46 AM, Romain Manni-Bucau
> > <rmannibucau@gmail.com
> >> >
> >> wrote:
> >>
> >> > @Thiago: not exactly since we do it in temp branches which could even
> > be
> >> > private
> >> > Le 31 janv. 2015 10:32, "Mark Struberg"
> > <st...@yahoo.de> a écrit :
> >> >
> >> > > > The "Apache Way” is not a set of rules. The Apache Way
> > is
> >> > >
> >> > > > community over code. That’s it. Nothing else.
> >> > >
> >> > >
> >> > > Alan, it is important but all that comes only _after_ some very
> > basic
> >> > > legal rules we have to follow.
> >> > > Those are not many, but they exist. E.g. if a PMC doesn't
> > like to
> >> follow
> >> > > the license and marks guidelines then it will simply get shut
> > down by
> >> > > board. And I'm glad that we don't have such issues at
> > TomEE.
> >> > >
> >> > >
> >> > > To understand the importance of code provenance you just need to
> > look
> >> at
> >> > > the current subpoena we have to handle:
> >> > >
> >> > >
> >> >
> >>
> >
> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_subpoenaed1
> >> > >
> >> > > So it is really _very_ important for the foundation to have a
> > very good
> >> > > SCM history which can stand the proof of court!
> >> > >
> >> > >
> >> > >
> >> > > LieGrue,
> >> > > strub
> >> > >
> >> >
> >>
> >
>
Re: what is which branch up for?
Posted by Mark Struberg <st...@yahoo.de>.
If you push it to github or attach it as patch you will get help.
That was also the way it used to be with SVN. And it would even be ok to grant an ASF colleague rights to your github repo or pull a fix from him.
Of course it would be even better if we could have such branches in a 'sandbox' repo on ASF hardware. But we don't have those YET... :)
LieGrue,
strub
> On Saturday, 31 January 2015, 13:28, Romain Manni-Bucau <rm...@gmail.com> wrote:
> > No help yes. That is what we should target anyway.
>
> And removing a remote temp branch is not bad.
>
> Mark got a good proposal with staging mirrors of main asf repos.
>
> Le 31 janv. 2015 13:22, "Thiago Veronezi" <th...@veronezi.org>
> a écrit :
>
>> @Romain: if we are talking about temp remote branches, it implies later
>> removal of this branch [bad] otherwise we end up with dead branches [bad].
>> If we are talking about local or remote branches that can be used by only
>> one person, it implies no help from the other developers [bad].
>>
>>
>>
>> On Sat, Jan 31, 2015 at 4:46 AM, Romain Manni-Bucau
> <rmannibucau@gmail.com
>> >
>> wrote:
>>
>> > @Thiago: not exactly since we do it in temp branches which could even
> be
>> > private
>> > Le 31 janv. 2015 10:32, "Mark Struberg"
> <st...@yahoo.de> a écrit :
>> >
>> > > > The "Apache Way” is not a set of rules. The Apache Way
> is
>> > >
>> > > > community over code. That’s it. Nothing else.
>> > >
>> > >
>> > > Alan, it is important but all that comes only _after_ some very
> basic
>> > > legal rules we have to follow.
>> > > Those are not many, but they exist. E.g. if a PMC doesn't
> like to
>> follow
>> > > the license and marks guidelines then it will simply get shut
> down by
>> > > board. And I'm glad that we don't have such issues at
> TomEE.
>> > >
>> > >
>> > > To understand the importance of code provenance you just need to
> look
>> at
>> > > the current subpoena we have to handle:
>> > >
>> > >
>> >
>>
> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_subpoenaed1
>> > >
>> > > So it is really _very_ important for the foundation to have a
> very good
>> > > SCM history which can stand the proof of court!
>> > >
>> > >
>> > >
>> > > LieGrue,
>> > > strub
>> > >
>> >
>>
>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
>>No help yes. That is what we should target anyway.
Are we thanking about releases or features implementation?
I was talking about releases.
>>And removing a remote temp branch is not bad.
I'm confused. I thought that one of the concerns of this thread was the
number of branches and whether we delete them or not.
On Sat, Jan 31, 2015 at 7:27 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> No help yes. That is what we should target anyway.
>
> And removing a remote temp branch is not bad.
>
> Mark got a good proposal with staging mirrors of main asf repos.
> Le 31 janv. 2015 13:22, "Thiago Veronezi" <th...@veronezi.org> a écrit :
>
> > @Romain: if we are talking about temp remote branches, it implies later
> > removal of this branch [bad] otherwise we end up with dead branches
> [bad].
> > If we are talking about local or remote branches that can be used by only
> > one person, it implies no help from the other developers [bad].
> >
> >
> >
> > On Sat, Jan 31, 2015 at 4:46 AM, Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >
> > wrote:
> >
> > > @Thiago: not exactly since we do it in temp branches which could even
> be
> > > private
> > > Le 31 janv. 2015 10:32, "Mark Struberg" <st...@yahoo.de> a écrit :
> > >
> > > > > The "Apache Way” is not a set of rules. The Apache Way is
> > > >
> > > > > community over code. That’s it. Nothing else.
> > > >
> > > >
> > > > Alan, it is important but all that comes only _after_ some very basic
> > > > legal rules we have to follow.
> > > > Those are not many, but they exist. E.g. if a PMC doesn't like to
> > follow
> > > > the license and marks guidelines then it will simply get shut down by
> > > > board. And I'm glad that we don't have such issues at TomEE.
> > > >
> > > >
> > > > To understand the importance of code provenance you just need to look
> > at
> > > > the current subpoena we have to handle:
> > > >
> > > >
> > >
> >
> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_subpoenaed1
> > > >
> > > > So it is really _very_ important for the foundation to have a very
> good
> > > > SCM history which can stand the proof of court!
> > > >
> > > >
> > > >
> > > > LieGrue,
> > > > strub
> > > >
> > >
> >
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
No help yes. That is what we should target anyway.
And removing a remote temp branch is not bad.
Mark got a good proposal with staging mirrors of main asf repos.
Le 31 janv. 2015 13:22, "Thiago Veronezi" <th...@veronezi.org> a écrit :
> @Romain: if we are talking about temp remote branches, it implies later
> removal of this branch [bad] otherwise we end up with dead branches [bad].
> If we are talking about local or remote branches that can be used by only
> one person, it implies no help from the other developers [bad].
>
>
>
> On Sat, Jan 31, 2015 at 4:46 AM, Romain Manni-Bucau <rmannibucau@gmail.com
> >
> wrote:
>
> > @Thiago: not exactly since we do it in temp branches which could even be
> > private
> > Le 31 janv. 2015 10:32, "Mark Struberg" <st...@yahoo.de> a écrit :
> >
> > > > The "Apache Way” is not a set of rules. The Apache Way is
> > >
> > > > community over code. That’s it. Nothing else.
> > >
> > >
> > > Alan, it is important but all that comes only _after_ some very basic
> > > legal rules we have to follow.
> > > Those are not many, but they exist. E.g. if a PMC doesn't like to
> follow
> > > the license and marks guidelines then it will simply get shut down by
> > > board. And I'm glad that we don't have such issues at TomEE.
> > >
> > >
> > > To understand the importance of code provenance you just need to look
> at
> > > the current subpoena we have to handle:
> > >
> > >
> >
> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_subpoenaed1
> > >
> > > So it is really _very_ important for the foundation to have a very good
> > > SCM history which can stand the proof of court!
> > >
> > >
> > >
> > > LieGrue,
> > > strub
> > >
> >
>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
@Romain: if we are talking about temp remote branches, it implies later
removal of this branch [bad] otherwise we end up with dead branches [bad].
If we are talking about local or remote branches that can be used by only
one person, it implies no help from the other developers [bad].
On Sat, Jan 31, 2015 at 4:46 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> @Thiago: not exactly since we do it in temp branches which could even be
> private
> Le 31 janv. 2015 10:32, "Mark Struberg" <st...@yahoo.de> a écrit :
>
> > > The "Apache Way” is not a set of rules. The Apache Way is
> >
> > > community over code. That’s it. Nothing else.
> >
> >
> > Alan, it is important but all that comes only _after_ some very basic
> > legal rules we have to follow.
> > Those are not many, but they exist. E.g. if a PMC doesn't like to follow
> > the license and marks guidelines then it will simply get shut down by
> > board. And I'm glad that we don't have such issues at TomEE.
> >
> >
> > To understand the importance of code provenance you just need to look at
> > the current subpoena we have to handle:
> >
> >
> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_subpoenaed1
> >
> > So it is really _very_ important for the foundation to have a very good
> > SCM history which can stand the proof of court!
> >
> >
> >
> > LieGrue,
> > strub
> >
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
@Thiago: not exactly since we do it in temp branches which could even be
private
Le 31 janv. 2015 10:32, "Mark Struberg" <st...@yahoo.de> a écrit :
> > The "Apache Way” is not a set of rules. The Apache Way is
>
> > community over code. That’s it. Nothing else.
>
>
> Alan, it is important but all that comes only _after_ some very basic
> legal rules we have to follow.
> Those are not many, but they exist. E.g. if a PMC doesn't like to follow
> the license and marks guidelines then it will simply get shut down by
> board. And I'm glad that we don't have such issues at TomEE.
>
>
> To understand the importance of code provenance you just need to look at
> the current subpoena we have to handle:
>
> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_subpoenaed1
>
> So it is really _very_ important for the foundation to have a very good
> SCM history which can stand the proof of court!
>
>
>
> LieGrue,
> strub
>
Re: what is which branch up for?
Posted by Mark Struberg <st...@yahoo.de>.
> The "Apache Way” is not a set of rules. The Apache Way is
> community over code. That’s it. Nothing else.
Alan, it is important but all that comes only _after_ some very basic legal rules we have to follow.
Those are not many, but they exist. E.g. if a PMC doesn't like to follow the license and marks guidelines then it will simply get shut down by board. And I'm glad that we don't have such issues at TomEE.
To understand the importance of code provenance you just need to look at the current subpoena we have to handle:
https://blogs.apache.org/foundation/entry/the_apache_software_foundation_subpoenaed1
So it is really _very_ important for the foundation to have a very good SCM history which can stand the proof of court!
LieGrue,
strub
Re: what is which branch up for?
Posted by "Alan D. Cabrera" <li...@toolazydogs.com>.
> On Jan 29, 2015, at 10:28 PM, Mark Struberg <st...@yahoo.de> wrote:
>
> Hi Alan!
>
>> Where do you see that? I keep reading that Atlasssian document and I don’t see
>> where it requires cherry picking each and every commit.
>
>
> You have a master branch and a development branch. All work happens on the development branch but releases happen from master branch, right? So how do all the commits end up on the master branch? Someone has to pick the 'good' ones from the development branch over to the master branch. Especially when a release comes near.
Well, I do agree that’s cumbersome and error prone but I thought that the master was *merged* from a release branch.
>> Can you point me to the parts that justify your allegations?
>
> My 'musts' listed below are not from gitflow. Those are requirements we do have as ASF project. As an ASF project we are required to maintain a clean code provenance and a immutable project source history. This means we must not do any history rewrite of stuff which already hit the ASF repo (of course a local! rebase or your own work which you did not push to some ASF repo is perfectly fine).
>
> So we should really disable history rewrite on our cannonical ASF git repo.
>
> As to my argument about branch deletes. Gitflow requires that you create an own branch for every feature someone does. But that would have us end up with 400++ branches pretty soon. I guess you see that this is not really easy to maintain. Of course after a feature got merged in to some 'upstream' branch then we can delete this feature branch technically. But the problem is that it's really easy to trash a GIT repo with branch deletes. And there is no way back other than a full file restore from a backup.
>
> What people don't get most of the time:
>
> A delete of a branch in SVN is really just an additional commit which sets a 'deleted' flag. So you can always do an undelete in SVN. But that's not the way it works with GIT. If you delete a branch in GIT then it is gone. Especially if there was a git-prune or git-gc scheduled afterwards.
>
> So I'd rather forbid all history rewrite (including deletess) on our repos and do experimental stuff on a different repo (either an own sandbox repo at ASF or on github).
Thanks for providing detail. I agree that if a feature branch is worked on by more than one person it probably shouldn’t be deleted; I think it’s more likely s/shouldn’t/must not/. But that’s a problem w/ git. It’s too bad that there can’t be two repos per project, one is for feature development and the other is for official releases.
I don’t see the requirement to squash commits in GitFlow.
Thanks for taking the time to bring me up to speed. Frankly, I didn’t have the bandwidth to keep up w/ the initial git discussions. Is there an ASF position document on git usage?
With that said, I haven’t been doing a lot of development here lately and so I’ve been reticent on the issue with the exception being where there are gaps in my understanding of things. But, I do want to make one very important observation.
The "Apache Way” is not a set of rules. The Apache Way is community over code. That’s it. Nothing else.
The biggest aspect of that is treating your colleagues on this project with respect and not trying to bully others to get your way. Take a personal pause on this thread and redouble your efforts to attain your goal while realizing that since this is not a technical issue you will need to garner the consensus of your colleagues. Using expletives and couching accusations of development immaturity will only cause others to “circle the wagons”, making for yet another interminable thread that I have to slog through.
We have probably one of the best developer groups on this project in the planet here. They are smart, articulate, and will listen to calm, respectful, reasoning.
Regards,
Alan
Re: what is which branch up for?
Posted by Mark Struberg <st...@yahoo.de>.
Hi Alan!
> Where do you see that? I keep reading that Atlasssian document and I don’t see
> where it requires cherry picking each and every commit.
You have a master branch and a development branch. All work happens on the development branch but releases happen from master branch, right? So how do all the commits end up on the master branch? Someone has to pick the 'good' ones from the development branch over to the master branch. Especially when a release comes near.
> Can you point me to the parts that justify your allegations?
My 'musts' listed below are not from gitflow. Those are requirements we do have as ASF project. As an ASF project we are required to maintain a clean code provenance and a immutable project source history. This means we must not do any history rewrite of stuff which already hit the ASF repo (of course a local! rebase or your own work which you did not push to some ASF repo is perfectly fine).
So we should really disable history rewrite on our cannonical ASF git repo.
As to my argument about branch deletes. Gitflow requires that you create an own branch for every feature someone does. But that would have us end up with 400++ branches pretty soon. I guess you see that this is not really easy to maintain. Of course after a feature got merged in to some 'upstream' branch then we can delete this feature branch technically. But the problem is that it's really easy to trash a GIT repo with branch deletes. And there is no way back other than a full file restore from a backup.
What people don't get most of the time:
A delete of a branch in SVN is really just an additional commit which sets a 'deleted' flag. So you can always do an undelete in SVN. But that's not the way it works with GIT. If you delete a branch in GIT then it is gone. Especially if there was a git-prune or git-gc scheduled afterwards.
So I'd rather forbid all history rewrite (including deletess) on our repos and do experimental stuff on a different repo (either an own sandbox repo at ASF or on github).
LieGrue,
strub
> On Friday, 30 January 2015, 6:04, Alan D. Cabrera <li...@toolazydogs.com> wrote:
> >
>> On Jan 28, 2015, at 11:48 PM, Mark Struberg <st...@yahoo.de>
> wrote:
>>
>> Alan, the gitflow way is basically review then commit. Because the
> 'Release Manager' (of whom we lack...) needs to review and choose
> (cherry-pick) EACH AND EVERY SINGLE COMMIT.
>
> Where do you see that? I keep reading that Atlasssian document and I don’t see
> where it requires cherry picking each and every commit.
>
>> And even worse - by deleting the 'temp' branch afterwards we also
> loose all the other work later.
>>
>> And once again:
>>
>> We must not delete anything from our repos!
>>
>> We must not squash commits!
>>
>> We must not loose any history!
>> We must guarantee a verifyable code provenance!
>>
>> Those are no 'should' those are MUST!
>
> You guys must be reading something different than I am or I am accidentally
> skimming over some critical bit:
>
> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
> <https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow>
>
> Can you point me to the parts that justify your allegations?
>
>
>
> Regards,
> Alan
>
Re: what is which branch up for?
Posted by "Alan D. Cabrera" <li...@toolazydogs.com>.
> On Jan 28, 2015, at 11:48 PM, Mark Struberg <st...@yahoo.de> wrote:
>
> Alan, the gitflow way is basically review then commit. Because the 'Release Manager' (of whom we lack...) needs to review and choose (cherry-pick) EACH AND EVERY SINGLE COMMIT.
Where do you see that? I keep reading that Atlasssian document and I don’t see where it requires cherry picking each and every commit.
> And even worse - by deleting the 'temp' branch afterwards we also loose all the other work later.
>
> And once again:
>
> We must not delete anything from our repos!
>
> We must not squash commits!
>
> We must not loose any history!
> We must guarantee a verifyable code provenance!
>
> Those are no 'should' those are MUST!
You guys must be reading something different than I am or I am accidentally skimming over some critical bit:
https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow <https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow>
Can you point me to the parts that justify your allegations?
Regards,
Alan
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
Hi,
I agree our review is done after the commit... and this is great. I don't
think we want to push a boring review process in this project. I have
enough of this in my day time job. :) I guess the goal was to have a
release without disturbing the regular development. At least not too much.
Now I see how tags can help quick bug fixes; but if I got it right, we will
have code freeze for regular releases.
It looks like new branches are bad because we cannot (or are not supposed
to) delete them. I'm confused about the quick fix. If we don't like new
branches, how would be quick fix without bringing all the on-going features
along with the fix itself?
Please check if I got it right...
Quick bug fix in 2.x.x ("origin/master"):
* Create a branch from the faulty tag.
* Fix the issues in this new branch.
* Call a vote in this new branch.
* The vote passes. You create a tag in this branch.
* You delete the branch.
Normal 2.x.x release ("origin/master"):
* You send a message to the dev list: "Code-freeze. Preparing code for new
release. Only commits related to the release please."
* You make the "origin/master" stable
* You call a vote on "origin/master"
* The vote passes. You create a tag.
* You send a message to the dev list: "Release done. You are free to mess
up the master branch again. ;)"
[]s,
Thiago.
On Thu, Jan 29, 2015 at 2:48 AM, Mark Struberg <st...@yahoo.de> wrote:
> Alan, the gitflow way is basically review then commit. Because the
> 'Release Manager' (of whom we lack...) needs to review and choose
> (cherry-pick) EACH AND EVERY SINGLE COMMIT. And even worse - by deleting
> the 'temp' branch afterwards we also loose all the other work later.
>
> And once again:
>
> We must not delete anything from our repos!
>
> We must not squash commits!
>
> We must not loose any history!
> We must guarantee a verifyable code provenance!
>
> Those are no 'should' those are MUST!
>
>
> LieGrue,
> strub
>
>
>
>
>
> > On Thursday, 29 January 2015, 7:51, Alan D. Cabrera <
> list@toolazydogs.com> wrote:
> > >
> >> On Jan 28, 2015, at 1:59 AM, Romain Manni-Bucau
> > <rm...@gmail.com> wrote:
> >>
> >> well it is by design opposed to apache way since if it is used it is
> >> to have the ability to change commit history - if not it is really
> >> useless.
> >
> > I’m sure that I’m being dense but how is this form of branch management
> not the
> > apache way?
> >
> >
> > Regards,
> > Alan
> >
>
Re: what is which branch up for?
Posted by Mark Struberg <st...@yahoo.de>.
Alan, the gitflow way is basically review then commit. Because the 'Release Manager' (of whom we lack...) needs to review and choose (cherry-pick) EACH AND EVERY SINGLE COMMIT. And even worse - by deleting the 'temp' branch afterwards we also loose all the other work later.
And once again:
We must not delete anything from our repos!
We must not squash commits!
We must not loose any history!
We must guarantee a verifyable code provenance!
Those are no 'should' those are MUST!
LieGrue,
strub
> On Thursday, 29 January 2015, 7:51, Alan D. Cabrera <li...@toolazydogs.com> wrote:
> >
>> On Jan 28, 2015, at 1:59 AM, Romain Manni-Bucau
> <rm...@gmail.com> wrote:
>>
>> well it is by design opposed to apache way since if it is used it is
>> to have the ability to change commit history - if not it is really
>> useless.
>
> I’m sure that I’m being dense but how is this form of branch management not the
> apache way?
>
>
> Regards,
> Alan
>
Re: what is which branch up for?
Posted by Alan Cabrera <li...@toolazydogs.com>.
> On Jan 28, 2015, at 11:18 PM, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
> Well it basically forces you to move commits to master once you released
> and since that is git you can rewrite the history (caricatirally you ll
> just add 1 commit to master saying release-x).
GitFlow espouses that you merge your release to the master branch. It does not force you to move commits to the master, there is a difference. As for the possibility of rewriting history that's something that's inherent in git, not the GitFlow that developers here are currently using.
If what I've said is accurate then I don't really see a violation here as the provenance of commits is clearly preserved so long as we do not delete the develop branch.
> Le 29 janv. 2015 08:13, "Alan D. Cabrera" <li...@toolazydogs.com> a écrit :
>
>> I am dense. :)
>>
>> Can you provide an explicit example?
>>
>>> On Jan 28, 2015, at 11:09 PM, Romain Manni-Bucau <rm...@gmail.com>
>> wrote:
>>>
>>> Cause it implies history rewrite by design
>>> Le 29 janv. 2015 07:51, "Alan D. Cabrera" <li...@toolazydogs.com> a
>> écrit :
>>>
>>>>
>>>>> On Jan 28, 2015, at 1:59 AM, Romain Manni-Bucau <rmannibucau@gmail.com
>>>
>>>> wrote:
>>>>>
>>>>> well it is by design opposed to apache way since if it is used it is
>>>>> to have the ability to change commit history - if not it is really
>>>>> useless.
>>>>
>>>> I’m sure that I’m being dense but how is this form of branch management
>>>> not the apache way?
>>>>
>>>>
>>>> Regards,
>>>> Alan
>>>>
>>>>
>>
>>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Well it basically forces you to move commits to master once you released
and since that is git you can rewrite the history (caricatirally you ll
just add 1 commit to master saying release-x).
If you dont want to use it what is the point having another dev dead branch
- ie master? Seeing last stable release? That is a tag. Seeing last stable
state - ie you update it regularly? No way to have it without the release
process - we failed at it for each releases and it would be worse than
using current snapshots.
Le 29 janv. 2015 08:13, "Alan D. Cabrera" <li...@toolazydogs.com> a écrit :
> I am dense. :)
>
> Can you provide an explicit example?
>
> > On Jan 28, 2015, at 11:09 PM, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
> >
> > Cause it implies history rewrite by design
> > Le 29 janv. 2015 07:51, "Alan D. Cabrera" <li...@toolazydogs.com> a
> écrit :
> >
> >>
> >>> On Jan 28, 2015, at 1:59 AM, Romain Manni-Bucau <rmannibucau@gmail.com
> >
> >> wrote:
> >>>
> >>> well it is by design opposed to apache way since if it is used it is
> >>> to have the ability to change commit history - if not it is really
> >>> useless.
> >>
> >> I’m sure that I’m being dense but how is this form of branch management
> >> not the apache way?
> >>
> >>
> >> Regards,
> >> Alan
> >>
> >>
>
>
Re: what is which branch up for?
Posted by "Alan D. Cabrera" <li...@toolazydogs.com>.
I am dense. :)
Can you provide an explicit example?
> On Jan 28, 2015, at 11:09 PM, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
> Cause it implies history rewrite by design
> Le 29 janv. 2015 07:51, "Alan D. Cabrera" <li...@toolazydogs.com> a écrit :
>
>>
>>> On Jan 28, 2015, at 1:59 AM, Romain Manni-Bucau <rm...@gmail.com>
>> wrote:
>>>
>>> well it is by design opposed to apache way since if it is used it is
>>> to have the ability to change commit history - if not it is really
>>> useless.
>>
>> I’m sure that I’m being dense but how is this form of branch management
>> not the apache way?
>>
>>
>> Regards,
>> Alan
>>
>>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Cause it implies history rewrite by design
Le 29 janv. 2015 07:51, "Alan D. Cabrera" <li...@toolazydogs.com> a écrit :
>
> > On Jan 28, 2015, at 1:59 AM, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
> >
> > well it is by design opposed to apache way since if it is used it is
> > to have the ability to change commit history - if not it is really
> > useless.
>
> I’m sure that I’m being dense but how is this form of branch management
> not the apache way?
>
>
> Regards,
> Alan
>
>
Re: what is which branch up for?
Posted by "Alan D. Cabrera" <li...@toolazydogs.com>.
> On Jan 28, 2015, at 1:59 AM, Romain Manni-Bucau <rm...@gmail.com> wrote:
>
> well it is by design opposed to apache way since if it is used it is
> to have the ability to change commit history - if not it is really
> useless.
I’m sure that I’m being dense but how is this form of branch management not the apache way?
Regards,
Alan
Re: what is which branch up for?
Posted by Mark Struberg <st...@yahoo.de>.
+1
We don't even need upfront maintenance branches for 1.7.1 vs 1.7.2 etc.
IF we need to ship a 1.7.1.1 version, then we can easily create such a branch from the 1.7.1 tag at any time anyway.
Of course if it takes us longer to stabilize a version then we can roll a maintenance-1.7.1 branch even before we cut the release. But I'd only do this if we don't get this managed in other ways. Usually it is enough to just shout to the list that a release will be cut soon and people should abstain from committing experimental stuff but only fix important bugs on that branch.
LieGrue,
strub
> On Wednesday, 28 January 2015, 21:35, Romain Manni-Bucau <rm...@gmail.com> wrote:
> > well while master = 2.x.x I wouldn't create it but yes (Tomcat model
> basically is nice 1 maintaince branch by N-1 maintained version +
> trunk for last one).
>
>
Re: what is which branch up for?
Posted by Mark Struberg <st...@yahoo.de>.
Again, gitflow IS nice if you have a bunch of juniors who don't know much what they do. And they keep trashing your project every single day... But for such projects I'd rather use Gerrit and enforce a tight review chain.
If you have a mature team then you don't need all this stuff.
If someone mails to the list that he is working towards 1.7.2 then I hope that everybody will simply not commit any experimental stuff to this branch.
LieGrue,
strub
> On Wednesday, 28 January 2015, 23:00, Thiago Veronezi <th...@veronezi.org> wrote:
> > Hmmm... I think I see how it works now. It starts to make more sense. :)
> Something doesn't feel right though. Why Gitflow is so popular? How would
> it protect the companies from having bad commits? I need to think about it.
> Just wanted to let you know that I see your point.
>
> []s,
> Thiago.
>
>
>
> On Wed, Jan 28, 2015 at 4:32 PM, Romain Manni-Bucau
> <rm...@gmail.com>
> wrote:
>
>> 2015-01-28 22:29 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>> > But if you only have master, any quick fix would bring unnecessary
>> baggage,
>> > right?
>> > I mean, merging the fix changes from 2.x.x to master would be trivial
>> > because it would only contain changes for that particular fix.
>> >
>> > If the release tags are on master, for a quick fix, we would need to
>> create
>> > a new branch from the latest release tag, do the fix in the new branch
>> and
>> > release it again. Where would this new release tag live? Do we keep
> this
>> > new branch just to hold a minor code change for a bug fix?
>>
>> If that's a fix for a recent release we just create a branch for the
>> release, release, tag, delete the release branch - like we'd have do
>> it just after the release ignoring all commit in between.
>>
>> Otherwise you are back to current status = you merge all commit done
>> on 2.x on master which is:
>> 1) useless
>> 2) makes a lot of noise when done
>> 3) makes getting started not obvious (need doc)
>>
>>
>> >
>> > []s,
>> > Thiago
>> >
>> >
>> > On Wed, Jan 28, 2015 at 4:17 PM, Romain Manni-Bucau <
>> rmannibucau@gmail.com>
>> > wrote:
>> >
>> >> well you shouldn't rebase/merge from a lower to upper branch
> IMO - ie
>> >> it is always fixed first on mainstream then backported if needed -
> or
>> >> just dev in the lower version if specific.
>> >>
>> >> That said this doesn't justify 2.x while master = 2.x
>> >>
>> >>
>> >> Romain Manni-Bucau
>> >> @rmannibucau
>> >> http://www.tomitribe.com
>> >> http://rmannibucau.wordpress.com
>> >> https://github.com/rmannibucau
>> >>
>> >>
>> >> 2015-01-28 22:12 GMT+01:00 Thiago Veronezi
> <th...@veronezi.org>:
>> >> > Maybe it can be something like...
>> >> >
>> >> > Quick bug fix in 2.x.x:
>> >> > * You fix your issue in "2.x.x"
>> >> > * Call a vote for "2.x.x".
>> >> > * The vote passes. You merge "2.x.x" back to
> "master".
>> >> > * You create a new tag in 2.x.x -> Let's call it
> "tag 2.0.2"
>> >> >
>> >> > Normal 2.x.x release
>> >> > * You rebase "2.x.x"
>> >> > * You follow the same steps as the ones for "quick bug
> fixes in 2.x.x"
>> >> >
>> >> > This way we avoid the auxiliary branches. We just need to be
> sure that
>> >> > "2.x.x" is not a development branch. It needs to be
> stable. So, once
>> we
>> >> > rebase it, we need to make it stable before merging it back
> to master.
>> >> > "2.x.x" is the branch that contains the release
> tags.
>> >> >
>> >> > []s,
>> >> > Thiago.
>> >> >
>> >> >
>> >> > On Wed, Jan 28, 2015 at 4:07 PM, Thiago Veronezi
> <thiago@veronezi.org
>> >
>> >> > wrote:
>> >> >
>> >> >> Hi,
>> >> >> This is what I was thinking...
>> >> >>
>> >> >> Quick bug fix in 2.x.x:
>> >> >> * You create a new auxiliary branch from 2.x.x. ->
> Let's call it
>> "2.0.2"
>> >> >> as example
>> >> >> * You fix your issue in this new "2.0.2" branch
>> >> >> * Call a vote for "2.0.2".
>> >> >> * The vote passes. You merge "2.0.2" back to
> "2.x.x".
>> >> >> * You create a new tag in 2.x.x -> Let's call it
> "tag 2.0.2"
>> >> >> * You destroy the auxiliary branch "2.0.2"
>> >> >> * You merge "2.x.x" back to master.
>> >> >>
>> >> >> Normal 2.x.x release
>> >> >> * You rebase "2.x.x"
>> >> >> * You follow the same steps as the ones for "quick
> bug fixes in
>> 2.x.x"
>> >> >>
>> >> >> []s,
>> >> >> Thiago.
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Wed, Jan 28, 2015 at 3:54 PM, Romain Manni-Bucau <
>> >> rmannibucau@gmail.com
>> >> >> > wrote:
>> >> >>
>> >> >>> If I have a fix to do in 2.x, where do I code? 2.x.x
> or master?
>> While
>> >> >>> master = 2.x I'm not convinced we need it. Doesnt
> solve the need of
>> a
>> >> >>> release branch while mvn tools are not compliant with
> tomee setup.
>> >> >>>
>> >> >>>
>> >> >>> Romain Manni-Bucau
>> >> >>> @rmannibucau
>> >> >>> http://www.tomitribe.com
>> >> >>> http://rmannibucau.wordpress.com
>> >> >>> https://github.com/rmannibucau
>> >> >>>
>> >> >>>
>> >> >>> 2015-01-28 21:52 GMT+01:00 Thiago Veronezi
> <th...@veronezi.org>:
>> >> >>> > Please note that having "2.x.x" covers
> all the requirements:
>> >> >>> > * master is the bleeding edge - it doesn't
> need to be stable
>> >> >>> > * no code-freeze necessary
>> >> >>> > * stable and ready for production
> "2.x.x" branch
>> >> >>> > * quick bug fix release possible without
> interrupting development
>> on
>> >> >>> master
>> >> >>> >
>> >> >>> > []s,
>> >> >>> > Thiago.
>> >> >>> >
>> >> >>> > On Wed, Jan 28, 2015 at 3:34 PM, Romain
> Manni-Bucau <
>> >> >>> rmannibucau@gmail.com>
>> >> >>> > wrote:
>> >> >>> >
>> >> >>> >> well while master = 2.x.x I wouldn't
> create it but yes (Tomcat
>> model
>> >> >>> >> basically is nice 1 maintaince branch by N-1
> maintained version +
>> >> >>> >> trunk for last one).
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> Romain Manni-Bucau
>> >> >>> >> @rmannibucau
>> >> >>> >> http://www.tomitribe.com
>> >> >>> >> http://rmannibucau.wordpress.com
>> >> >>> >> https://github.com/rmannibucau
>> >> >>> >>
>> >> >>>
>> >> >>
>> >> >>
>> >>
>>
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
it is great when you really need to work on release and often squash
commits, we dont do it @asf.
+ dont forget theory != practise and most of the time overhead to get
a nice theory is useless (why we still use newton law even if we know
they are wrong ;))
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-01-28 22:59 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> Hmmm... I think I see how it works now. It starts to make more sense. :)
> Something doesn't feel right though. Why Gitflow is so popular? How would
> it protect the companies from having bad commits? I need to think about it.
> Just wanted to let you know that I see your point.
>
> []s,
> Thiago.
>
>
> On Wed, Jan 28, 2015 at 4:32 PM, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
>
>> 2015-01-28 22:29 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>> > But if you only have master, any quick fix would bring unnecessary
>> baggage,
>> > right?
>> > I mean, merging the fix changes from 2.x.x to master would be trivial
>> > because it would only contain changes for that particular fix.
>> >
>> > If the release tags are on master, for a quick fix, we would need to
>> create
>> > a new branch from the latest release tag, do the fix in the new branch
>> and
>> > release it again. Where would this new release tag live? Do we keep this
>> > new branch just to hold a minor code change for a bug fix?
>>
>> If that's a fix for a recent release we just create a branch for the
>> release, release, tag, delete the release branch - like we'd have do
>> it just after the release ignoring all commit in between.
>>
>> Otherwise you are back to current status = you merge all commit done
>> on 2.x on master which is:
>> 1) useless
>> 2) makes a lot of noise when done
>> 3) makes getting started not obvious (need doc)
>>
>>
>> >
>> > []s,
>> > Thiago
>> >
>> >
>> > On Wed, Jan 28, 2015 at 4:17 PM, Romain Manni-Bucau <
>> rmannibucau@gmail.com>
>> > wrote:
>> >
>> >> well you shouldn't rebase/merge from a lower to upper branch IMO - ie
>> >> it is always fixed first on mainstream then backported if needed - or
>> >> just dev in the lower version if specific.
>> >>
>> >> That said this doesn't justify 2.x while master = 2.x
>> >>
>> >>
>> >> Romain Manni-Bucau
>> >> @rmannibucau
>> >> http://www.tomitribe.com
>> >> http://rmannibucau.wordpress.com
>> >> https://github.com/rmannibucau
>> >>
>> >>
>> >> 2015-01-28 22:12 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>> >> > Maybe it can be something like...
>> >> >
>> >> > Quick bug fix in 2.x.x:
>> >> > * You fix your issue in "2.x.x"
>> >> > * Call a vote for "2.x.x".
>> >> > * The vote passes. You merge "2.x.x" back to "master".
>> >> > * You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
>> >> >
>> >> > Normal 2.x.x release
>> >> > * You rebase "2.x.x"
>> >> > * You follow the same steps as the ones for "quick bug fixes in 2.x.x"
>> >> >
>> >> > This way we avoid the auxiliary branches. We just need to be sure that
>> >> > "2.x.x" is not a development branch. It needs to be stable. So, once
>> we
>> >> > rebase it, we need to make it stable before merging it back to master.
>> >> > "2.x.x" is the branch that contains the release tags.
>> >> >
>> >> > []s,
>> >> > Thiago.
>> >> >
>> >> >
>> >> > On Wed, Jan 28, 2015 at 4:07 PM, Thiago Veronezi <thiago@veronezi.org
>> >
>> >> > wrote:
>> >> >
>> >> >> Hi,
>> >> >> This is what I was thinking...
>> >> >>
>> >> >> Quick bug fix in 2.x.x:
>> >> >> * You create a new auxiliary branch from 2.x.x. -> Let's call it
>> "2.0.2"
>> >> >> as example
>> >> >> * You fix your issue in this new "2.0.2" branch
>> >> >> * Call a vote for "2.0.2".
>> >> >> * The vote passes. You merge "2.0.2" back to "2.x.x".
>> >> >> * You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
>> >> >> * You destroy the auxiliary branch "2.0.2"
>> >> >> * You merge "2.x.x" back to master.
>> >> >>
>> >> >> Normal 2.x.x release
>> >> >> * You rebase "2.x.x"
>> >> >> * You follow the same steps as the ones for "quick bug fixes in
>> 2.x.x"
>> >> >>
>> >> >> []s,
>> >> >> Thiago.
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Wed, Jan 28, 2015 at 3:54 PM, Romain Manni-Bucau <
>> >> rmannibucau@gmail.com
>> >> >> > wrote:
>> >> >>
>> >> >>> If I have a fix to do in 2.x, where do I code? 2.x.x or master?
>> While
>> >> >>> master = 2.x I'm not convinced we need it. Doesnt solve the need of
>> a
>> >> >>> release branch while mvn tools are not compliant with tomee setup.
>> >> >>>
>> >> >>>
>> >> >>> Romain Manni-Bucau
>> >> >>> @rmannibucau
>> >> >>> http://www.tomitribe.com
>> >> >>> http://rmannibucau.wordpress.com
>> >> >>> https://github.com/rmannibucau
>> >> >>>
>> >> >>>
>> >> >>> 2015-01-28 21:52 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>> >> >>> > Please note that having "2.x.x" covers all the requirements:
>> >> >>> > * master is the bleeding edge - it doesn't need to be stable
>> >> >>> > * no code-freeze necessary
>> >> >>> > * stable and ready for production "2.x.x" branch
>> >> >>> > * quick bug fix release possible without interrupting development
>> on
>> >> >>> master
>> >> >>> >
>> >> >>> > []s,
>> >> >>> > Thiago.
>> >> >>> >
>> >> >>> > On Wed, Jan 28, 2015 at 3:34 PM, Romain Manni-Bucau <
>> >> >>> rmannibucau@gmail.com>
>> >> >>> > wrote:
>> >> >>> >
>> >> >>> >> well while master = 2.x.x I wouldn't create it but yes (Tomcat
>> model
>> >> >>> >> basically is nice 1 maintaince branch by N-1 maintained version +
>> >> >>> >> trunk for last one).
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> Romain Manni-Bucau
>> >> >>> >> @rmannibucau
>> >> >>> >> http://www.tomitribe.com
>> >> >>> >> http://rmannibucau.wordpress.com
>> >> >>> >> https://github.com/rmannibucau
>> >> >>> >>
>> >> >>>
>> >> >>
>> >> >>
>> >>
>>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
Hmmm... I think I see how it works now. It starts to make more sense. :)
Something doesn't feel right though. Why Gitflow is so popular? How would
it protect the companies from having bad commits? I need to think about it.
Just wanted to let you know that I see your point.
[]s,
Thiago.
On Wed, Jan 28, 2015 at 4:32 PM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> 2015-01-28 22:29 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> > But if you only have master, any quick fix would bring unnecessary
> baggage,
> > right?
> > I mean, merging the fix changes from 2.x.x to master would be trivial
> > because it would only contain changes for that particular fix.
> >
> > If the release tags are on master, for a quick fix, we would need to
> create
> > a new branch from the latest release tag, do the fix in the new branch
> and
> > release it again. Where would this new release tag live? Do we keep this
> > new branch just to hold a minor code change for a bug fix?
>
> If that's a fix for a recent release we just create a branch for the
> release, release, tag, delete the release branch - like we'd have do
> it just after the release ignoring all commit in between.
>
> Otherwise you are back to current status = you merge all commit done
> on 2.x on master which is:
> 1) useless
> 2) makes a lot of noise when done
> 3) makes getting started not obvious (need doc)
>
>
> >
> > []s,
> > Thiago
> >
> >
> > On Wed, Jan 28, 2015 at 4:17 PM, Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > wrote:
> >
> >> well you shouldn't rebase/merge from a lower to upper branch IMO - ie
> >> it is always fixed first on mainstream then backported if needed - or
> >> just dev in the lower version if specific.
> >>
> >> That said this doesn't justify 2.x while master = 2.x
> >>
> >>
> >> Romain Manni-Bucau
> >> @rmannibucau
> >> http://www.tomitribe.com
> >> http://rmannibucau.wordpress.com
> >> https://github.com/rmannibucau
> >>
> >>
> >> 2015-01-28 22:12 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> >> > Maybe it can be something like...
> >> >
> >> > Quick bug fix in 2.x.x:
> >> > * You fix your issue in "2.x.x"
> >> > * Call a vote for "2.x.x".
> >> > * The vote passes. You merge "2.x.x" back to "master".
> >> > * You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
> >> >
> >> > Normal 2.x.x release
> >> > * You rebase "2.x.x"
> >> > * You follow the same steps as the ones for "quick bug fixes in 2.x.x"
> >> >
> >> > This way we avoid the auxiliary branches. We just need to be sure that
> >> > "2.x.x" is not a development branch. It needs to be stable. So, once
> we
> >> > rebase it, we need to make it stable before merging it back to master.
> >> > "2.x.x" is the branch that contains the release tags.
> >> >
> >> > []s,
> >> > Thiago.
> >> >
> >> >
> >> > On Wed, Jan 28, 2015 at 4:07 PM, Thiago Veronezi <thiago@veronezi.org
> >
> >> > wrote:
> >> >
> >> >> Hi,
> >> >> This is what I was thinking...
> >> >>
> >> >> Quick bug fix in 2.x.x:
> >> >> * You create a new auxiliary branch from 2.x.x. -> Let's call it
> "2.0.2"
> >> >> as example
> >> >> * You fix your issue in this new "2.0.2" branch
> >> >> * Call a vote for "2.0.2".
> >> >> * The vote passes. You merge "2.0.2" back to "2.x.x".
> >> >> * You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
> >> >> * You destroy the auxiliary branch "2.0.2"
> >> >> * You merge "2.x.x" back to master.
> >> >>
> >> >> Normal 2.x.x release
> >> >> * You rebase "2.x.x"
> >> >> * You follow the same steps as the ones for "quick bug fixes in
> 2.x.x"
> >> >>
> >> >> []s,
> >> >> Thiago.
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Jan 28, 2015 at 3:54 PM, Romain Manni-Bucau <
> >> rmannibucau@gmail.com
> >> >> > wrote:
> >> >>
> >> >>> If I have a fix to do in 2.x, where do I code? 2.x.x or master?
> While
> >> >>> master = 2.x I'm not convinced we need it. Doesnt solve the need of
> a
> >> >>> release branch while mvn tools are not compliant with tomee setup.
> >> >>>
> >> >>>
> >> >>> Romain Manni-Bucau
> >> >>> @rmannibucau
> >> >>> http://www.tomitribe.com
> >> >>> http://rmannibucau.wordpress.com
> >> >>> https://github.com/rmannibucau
> >> >>>
> >> >>>
> >> >>> 2015-01-28 21:52 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> >> >>> > Please note that having "2.x.x" covers all the requirements:
> >> >>> > * master is the bleeding edge - it doesn't need to be stable
> >> >>> > * no code-freeze necessary
> >> >>> > * stable and ready for production "2.x.x" branch
> >> >>> > * quick bug fix release possible without interrupting development
> on
> >> >>> master
> >> >>> >
> >> >>> > []s,
> >> >>> > Thiago.
> >> >>> >
> >> >>> > On Wed, Jan 28, 2015 at 3:34 PM, Romain Manni-Bucau <
> >> >>> rmannibucau@gmail.com>
> >> >>> > wrote:
> >> >>> >
> >> >>> >> well while master = 2.x.x I wouldn't create it but yes (Tomcat
> model
> >> >>> >> basically is nice 1 maintaince branch by N-1 maintained version +
> >> >>> >> trunk for last one).
> >> >>> >>
> >> >>> >>
> >> >>> >> Romain Manni-Bucau
> >> >>> >> @rmannibucau
> >> >>> >> http://www.tomitribe.com
> >> >>> >> http://rmannibucau.wordpress.com
> >> >>> >> https://github.com/rmannibucau
> >> >>> >>
> >> >>>
> >> >>
> >> >>
> >>
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
2015-01-28 22:29 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> But if you only have master, any quick fix would bring unnecessary baggage,
> right?
> I mean, merging the fix changes from 2.x.x to master would be trivial
> because it would only contain changes for that particular fix.
>
> If the release tags are on master, for a quick fix, we would need to create
> a new branch from the latest release tag, do the fix in the new branch and
> release it again. Where would this new release tag live? Do we keep this
> new branch just to hold a minor code change for a bug fix?
If that's a fix for a recent release we just create a branch for the
release, release, tag, delete the release branch - like we'd have do
it just after the release ignoring all commit in between.
Otherwise you are back to current status = you merge all commit done
on 2.x on master which is:
1) useless
2) makes a lot of noise when done
3) makes getting started not obvious (need doc)
>
> []s,
> Thiago
>
>
> On Wed, Jan 28, 2015 at 4:17 PM, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
>
>> well you shouldn't rebase/merge from a lower to upper branch IMO - ie
>> it is always fixed first on mainstream then backported if needed - or
>> just dev in the lower version if specific.
>>
>> That said this doesn't justify 2.x while master = 2.x
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2015-01-28 22:12 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>> > Maybe it can be something like...
>> >
>> > Quick bug fix in 2.x.x:
>> > * You fix your issue in "2.x.x"
>> > * Call a vote for "2.x.x".
>> > * The vote passes. You merge "2.x.x" back to "master".
>> > * You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
>> >
>> > Normal 2.x.x release
>> > * You rebase "2.x.x"
>> > * You follow the same steps as the ones for "quick bug fixes in 2.x.x"
>> >
>> > This way we avoid the auxiliary branches. We just need to be sure that
>> > "2.x.x" is not a development branch. It needs to be stable. So, once we
>> > rebase it, we need to make it stable before merging it back to master.
>> > "2.x.x" is the branch that contains the release tags.
>> >
>> > []s,
>> > Thiago.
>> >
>> >
>> > On Wed, Jan 28, 2015 at 4:07 PM, Thiago Veronezi <th...@veronezi.org>
>> > wrote:
>> >
>> >> Hi,
>> >> This is what I was thinking...
>> >>
>> >> Quick bug fix in 2.x.x:
>> >> * You create a new auxiliary branch from 2.x.x. -> Let's call it "2.0.2"
>> >> as example
>> >> * You fix your issue in this new "2.0.2" branch
>> >> * Call a vote for "2.0.2".
>> >> * The vote passes. You merge "2.0.2" back to "2.x.x".
>> >> * You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
>> >> * You destroy the auxiliary branch "2.0.2"
>> >> * You merge "2.x.x" back to master.
>> >>
>> >> Normal 2.x.x release
>> >> * You rebase "2.x.x"
>> >> * You follow the same steps as the ones for "quick bug fixes in 2.x.x"
>> >>
>> >> []s,
>> >> Thiago.
>> >>
>> >>
>> >>
>> >> On Wed, Jan 28, 2015 at 3:54 PM, Romain Manni-Bucau <
>> rmannibucau@gmail.com
>> >> > wrote:
>> >>
>> >>> If I have a fix to do in 2.x, where do I code? 2.x.x or master? While
>> >>> master = 2.x I'm not convinced we need it. Doesnt solve the need of a
>> >>> release branch while mvn tools are not compliant with tomee setup.
>> >>>
>> >>>
>> >>> Romain Manni-Bucau
>> >>> @rmannibucau
>> >>> http://www.tomitribe.com
>> >>> http://rmannibucau.wordpress.com
>> >>> https://github.com/rmannibucau
>> >>>
>> >>>
>> >>> 2015-01-28 21:52 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>> >>> > Please note that having "2.x.x" covers all the requirements:
>> >>> > * master is the bleeding edge - it doesn't need to be stable
>> >>> > * no code-freeze necessary
>> >>> > * stable and ready for production "2.x.x" branch
>> >>> > * quick bug fix release possible without interrupting development on
>> >>> master
>> >>> >
>> >>> > []s,
>> >>> > Thiago.
>> >>> >
>> >>> > On Wed, Jan 28, 2015 at 3:34 PM, Romain Manni-Bucau <
>> >>> rmannibucau@gmail.com>
>> >>> > wrote:
>> >>> >
>> >>> >> well while master = 2.x.x I wouldn't create it but yes (Tomcat model
>> >>> >> basically is nice 1 maintaince branch by N-1 maintained version +
>> >>> >> trunk for last one).
>> >>> >>
>> >>> >>
>> >>> >> Romain Manni-Bucau
>> >>> >> @rmannibucau
>> >>> >> http://www.tomitribe.com
>> >>> >> http://rmannibucau.wordpress.com
>> >>> >> https://github.com/rmannibucau
>> >>> >>
>> >>>
>> >>
>> >>
>>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
But if you only have master, any quick fix would bring unnecessary baggage,
right?
I mean, merging the fix changes from 2.x.x to master would be trivial
because it would only contain changes for that particular fix.
If the release tags are on master, for a quick fix, we would need to create
a new branch from the latest release tag, do the fix in the new branch and
release it again. Where would this new release tag live? Do we keep this
new branch just to hold a minor code change for a bug fix?
[]s,
Thiago
On Wed, Jan 28, 2015 at 4:17 PM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> well you shouldn't rebase/merge from a lower to upper branch IMO - ie
> it is always fixed first on mainstream then backported if needed - or
> just dev in the lower version if specific.
>
> That said this doesn't justify 2.x while master = 2.x
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2015-01-28 22:12 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> > Maybe it can be something like...
> >
> > Quick bug fix in 2.x.x:
> > * You fix your issue in "2.x.x"
> > * Call a vote for "2.x.x".
> > * The vote passes. You merge "2.x.x" back to "master".
> > * You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
> >
> > Normal 2.x.x release
> > * You rebase "2.x.x"
> > * You follow the same steps as the ones for "quick bug fixes in 2.x.x"
> >
> > This way we avoid the auxiliary branches. We just need to be sure that
> > "2.x.x" is not a development branch. It needs to be stable. So, once we
> > rebase it, we need to make it stable before merging it back to master.
> > "2.x.x" is the branch that contains the release tags.
> >
> > []s,
> > Thiago.
> >
> >
> > On Wed, Jan 28, 2015 at 4:07 PM, Thiago Veronezi <th...@veronezi.org>
> > wrote:
> >
> >> Hi,
> >> This is what I was thinking...
> >>
> >> Quick bug fix in 2.x.x:
> >> * You create a new auxiliary branch from 2.x.x. -> Let's call it "2.0.2"
> >> as example
> >> * You fix your issue in this new "2.0.2" branch
> >> * Call a vote for "2.0.2".
> >> * The vote passes. You merge "2.0.2" back to "2.x.x".
> >> * You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
> >> * You destroy the auxiliary branch "2.0.2"
> >> * You merge "2.x.x" back to master.
> >>
> >> Normal 2.x.x release
> >> * You rebase "2.x.x"
> >> * You follow the same steps as the ones for "quick bug fixes in 2.x.x"
> >>
> >> []s,
> >> Thiago.
> >>
> >>
> >>
> >> On Wed, Jan 28, 2015 at 3:54 PM, Romain Manni-Bucau <
> rmannibucau@gmail.com
> >> > wrote:
> >>
> >>> If I have a fix to do in 2.x, where do I code? 2.x.x or master? While
> >>> master = 2.x I'm not convinced we need it. Doesnt solve the need of a
> >>> release branch while mvn tools are not compliant with tomee setup.
> >>>
> >>>
> >>> Romain Manni-Bucau
> >>> @rmannibucau
> >>> http://www.tomitribe.com
> >>> http://rmannibucau.wordpress.com
> >>> https://github.com/rmannibucau
> >>>
> >>>
> >>> 2015-01-28 21:52 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> >>> > Please note that having "2.x.x" covers all the requirements:
> >>> > * master is the bleeding edge - it doesn't need to be stable
> >>> > * no code-freeze necessary
> >>> > * stable and ready for production "2.x.x" branch
> >>> > * quick bug fix release possible without interrupting development on
> >>> master
> >>> >
> >>> > []s,
> >>> > Thiago.
> >>> >
> >>> > On Wed, Jan 28, 2015 at 3:34 PM, Romain Manni-Bucau <
> >>> rmannibucau@gmail.com>
> >>> > wrote:
> >>> >
> >>> >> well while master = 2.x.x I wouldn't create it but yes (Tomcat model
> >>> >> basically is nice 1 maintaince branch by N-1 maintained version +
> >>> >> trunk for last one).
> >>> >>
> >>> >>
> >>> >> Romain Manni-Bucau
> >>> >> @rmannibucau
> >>> >> http://www.tomitribe.com
> >>> >> http://rmannibucau.wordpress.com
> >>> >> https://github.com/rmannibucau
> >>> >>
> >>>
> >>
> >>
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
well you shouldn't rebase/merge from a lower to upper branch IMO - ie
it is always fixed first on mainstream then backported if needed - or
just dev in the lower version if specific.
That said this doesn't justify 2.x while master = 2.x
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-01-28 22:12 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> Maybe it can be something like...
>
> Quick bug fix in 2.x.x:
> * You fix your issue in "2.x.x"
> * Call a vote for "2.x.x".
> * The vote passes. You merge "2.x.x" back to "master".
> * You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
>
> Normal 2.x.x release
> * You rebase "2.x.x"
> * You follow the same steps as the ones for "quick bug fixes in 2.x.x"
>
> This way we avoid the auxiliary branches. We just need to be sure that
> "2.x.x" is not a development branch. It needs to be stable. So, once we
> rebase it, we need to make it stable before merging it back to master.
> "2.x.x" is the branch that contains the release tags.
>
> []s,
> Thiago.
>
>
> On Wed, Jan 28, 2015 at 4:07 PM, Thiago Veronezi <th...@veronezi.org>
> wrote:
>
>> Hi,
>> This is what I was thinking...
>>
>> Quick bug fix in 2.x.x:
>> * You create a new auxiliary branch from 2.x.x. -> Let's call it "2.0.2"
>> as example
>> * You fix your issue in this new "2.0.2" branch
>> * Call a vote for "2.0.2".
>> * The vote passes. You merge "2.0.2" back to "2.x.x".
>> * You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
>> * You destroy the auxiliary branch "2.0.2"
>> * You merge "2.x.x" back to master.
>>
>> Normal 2.x.x release
>> * You rebase "2.x.x"
>> * You follow the same steps as the ones for "quick bug fixes in 2.x.x"
>>
>> []s,
>> Thiago.
>>
>>
>>
>> On Wed, Jan 28, 2015 at 3:54 PM, Romain Manni-Bucau <rmannibucau@gmail.com
>> > wrote:
>>
>>> If I have a fix to do in 2.x, where do I code? 2.x.x or master? While
>>> master = 2.x I'm not convinced we need it. Doesnt solve the need of a
>>> release branch while mvn tools are not compliant with tomee setup.
>>>
>>>
>>> Romain Manni-Bucau
>>> @rmannibucau
>>> http://www.tomitribe.com
>>> http://rmannibucau.wordpress.com
>>> https://github.com/rmannibucau
>>>
>>>
>>> 2015-01-28 21:52 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>>> > Please note that having "2.x.x" covers all the requirements:
>>> > * master is the bleeding edge - it doesn't need to be stable
>>> > * no code-freeze necessary
>>> > * stable and ready for production "2.x.x" branch
>>> > * quick bug fix release possible without interrupting development on
>>> master
>>> >
>>> > []s,
>>> > Thiago.
>>> >
>>> > On Wed, Jan 28, 2015 at 3:34 PM, Romain Manni-Bucau <
>>> rmannibucau@gmail.com>
>>> > wrote:
>>> >
>>> >> well while master = 2.x.x I wouldn't create it but yes (Tomcat model
>>> >> basically is nice 1 maintaince branch by N-1 maintained version +
>>> >> trunk for last one).
>>> >>
>>> >>
>>> >> Romain Manni-Bucau
>>> >> @rmannibucau
>>> >> http://www.tomitribe.com
>>> >> http://rmannibucau.wordpress.com
>>> >> https://github.com/rmannibucau
>>> >>
>>>
>>
>>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
Maybe it can be something like...
Quick bug fix in 2.x.x:
* You fix your issue in "2.x.x"
* Call a vote for "2.x.x".
* The vote passes. You merge "2.x.x" back to "master".
* You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
Normal 2.x.x release
* You rebase "2.x.x"
* You follow the same steps as the ones for "quick bug fixes in 2.x.x"
This way we avoid the auxiliary branches. We just need to be sure that
"2.x.x" is not a development branch. It needs to be stable. So, once we
rebase it, we need to make it stable before merging it back to master.
"2.x.x" is the branch that contains the release tags.
[]s,
Thiago.
On Wed, Jan 28, 2015 at 4:07 PM, Thiago Veronezi <th...@veronezi.org>
wrote:
> Hi,
> This is what I was thinking...
>
> Quick bug fix in 2.x.x:
> * You create a new auxiliary branch from 2.x.x. -> Let's call it "2.0.2"
> as example
> * You fix your issue in this new "2.0.2" branch
> * Call a vote for "2.0.2".
> * The vote passes. You merge "2.0.2" back to "2.x.x".
> * You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
> * You destroy the auxiliary branch "2.0.2"
> * You merge "2.x.x" back to master.
>
> Normal 2.x.x release
> * You rebase "2.x.x"
> * You follow the same steps as the ones for "quick bug fixes in 2.x.x"
>
> []s,
> Thiago.
>
>
>
> On Wed, Jan 28, 2015 at 3:54 PM, Romain Manni-Bucau <rmannibucau@gmail.com
> > wrote:
>
>> If I have a fix to do in 2.x, where do I code? 2.x.x or master? While
>> master = 2.x I'm not convinced we need it. Doesnt solve the need of a
>> release branch while mvn tools are not compliant with tomee setup.
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2015-01-28 21:52 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>> > Please note that having "2.x.x" covers all the requirements:
>> > * master is the bleeding edge - it doesn't need to be stable
>> > * no code-freeze necessary
>> > * stable and ready for production "2.x.x" branch
>> > * quick bug fix release possible without interrupting development on
>> master
>> >
>> > []s,
>> > Thiago.
>> >
>> > On Wed, Jan 28, 2015 at 3:34 PM, Romain Manni-Bucau <
>> rmannibucau@gmail.com>
>> > wrote:
>> >
>> >> well while master = 2.x.x I wouldn't create it but yes (Tomcat model
>> >> basically is nice 1 maintaince branch by N-1 maintained version +
>> >> trunk for last one).
>> >>
>> >>
>> >> Romain Manni-Bucau
>> >> @rmannibucau
>> >> http://www.tomitribe.com
>> >> http://rmannibucau.wordpress.com
>> >> https://github.com/rmannibucau
>> >>
>>
>
>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
Hi,
This is what I was thinking...
Quick bug fix in 2.x.x:
* You create a new auxiliary branch from 2.x.x. -> Let's call it "2.0.2" as
example
* You fix your issue in this new "2.0.2" branch
* Call a vote for "2.0.2".
* The vote passes. You merge "2.0.2" back to "2.x.x".
* You create a new tag in 2.x.x -> Let's call it "tag 2.0.2"
* You destroy the auxiliary branch "2.0.2"
* You merge "2.x.x" back to master.
Normal 2.x.x release
* You rebase "2.x.x"
* You follow the same steps as the ones for "quick bug fixes in 2.x.x"
[]s,
Thiago.
On Wed, Jan 28, 2015 at 3:54 PM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> If I have a fix to do in 2.x, where do I code? 2.x.x or master? While
> master = 2.x I'm not convinced we need it. Doesnt solve the need of a
> release branch while mvn tools are not compliant with tomee setup.
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2015-01-28 21:52 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> > Please note that having "2.x.x" covers all the requirements:
> > * master is the bleeding edge - it doesn't need to be stable
> > * no code-freeze necessary
> > * stable and ready for production "2.x.x" branch
> > * quick bug fix release possible without interrupting development on
> master
> >
> > []s,
> > Thiago.
> >
> > On Wed, Jan 28, 2015 at 3:34 PM, Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > wrote:
> >
> >> well while master = 2.x.x I wouldn't create it but yes (Tomcat model
> >> basically is nice 1 maintaince branch by N-1 maintained version +
> >> trunk for last one).
> >>
> >>
> >> Romain Manni-Bucau
> >> @rmannibucau
> >> http://www.tomitribe.com
> >> http://rmannibucau.wordpress.com
> >> https://github.com/rmannibucau
> >>
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
If I have a fix to do in 2.x, where do I code? 2.x.x or master? While
master = 2.x I'm not convinced we need it. Doesnt solve the need of a
release branch while mvn tools are not compliant with tomee setup.
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-01-28 21:52 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> Please note that having "2.x.x" covers all the requirements:
> * master is the bleeding edge - it doesn't need to be stable
> * no code-freeze necessary
> * stable and ready for production "2.x.x" branch
> * quick bug fix release possible without interrupting development on master
>
> []s,
> Thiago.
>
> On Wed, Jan 28, 2015 at 3:34 PM, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
>
>> well while master = 2.x.x I wouldn't create it but yes (Tomcat model
>> basically is nice 1 maintaince branch by N-1 maintained version +
>> trunk for last one).
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
Please note that having "2.x.x" covers all the requirements:
* master is the bleeding edge - it doesn't need to be stable
* no code-freeze necessary
* stable and ready for production "2.x.x" branch
* quick bug fix release possible without interrupting development on master
[]s,
Thiago.
On Wed, Jan 28, 2015 at 3:34 PM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> well while master = 2.x.x I wouldn't create it but yes (Tomcat model
> basically is nice 1 maintaince branch by N-1 maintained version +
> trunk for last one).
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
Re: what is which branch up for?
Posted by Marius Kruger <am...@gmail.com>.
On 28 January 2015 at 22:34, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> well while master = 2.x.x I wouldn't create it but yes...
>
Exactly develop in `master` and only when stabilizing for a release do you
branch off `2.x.x`. .
I agree that not using `master` for development would cause more confusion
than benefit. One could maintain a `released` branch with points to the
latest released branch `1.7.1` (pushed into `released` at end release
process) - but it is extra work, so don't do this unless somebody in the
world actually want this.
As I mentioned a while ago I think there will be more benefit to maintain a
`master-tests-passed` branch which is kept up to date by the buildbot:
build master every day and if all tests passed, push into
`master-tests-passed`. And if it gets more than a week out of date maybe
mail dev@ or the devs that contributed the breaking changes. This way
occasional developers can easily track a stable-ish master branch that at
least is guaranteed to pass all tests..
--
✝ Marius
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
well while master = 2.x.x I wouldn't create it but yes (Tomcat model
basically is nice 1 maintaince branch by N-1 maintained version +
trunk for last one).
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-01-28 20:48 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> What about having something like this?
> https://dl.dropboxusercontent.com/u/1459144/tomee_git.jpg
>
> * master is the place we push bleeding edge stuff.
> * 1.7.x is stable and will never get back to master. We create our current
> release tags (bug fixes, tomcat upgrades etc) out of it.
> * 2.x.x is stable and contains code out of master (rebase). During release,
> we rebase this branch, create auxiliary branches out of it for voting
> purposes. Once the voting passes, we merge it back to 2.x.x, create the
> release tag out of 2.x.x and delete the auxiliary branch.
>
> []s,
> Thiago.
>
>
>
>
>
> On Wed, Jan 28, 2015 at 12:32 PM, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
>
>> answering inline
>>
>> 2015-01-28 18:13 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>> > Hi Mark,
>> >
>> >>>1.) trunk/master is the 'next planned big release'. Most of the work
>> > happens there.
>> >
>> > As "master" is just a branch, it means we are simply renaming "develop"
>> to
>> > "master". That would save a couple of keystrokes indeed. Instead of...
>> > git checkout -b my_local_branch origin/develop
>> >
>>
>> +1
>>
>> > ... we would do...
>> > git checkout -b my_local_branch
>> >
>> >>>2.) For each released version we have a tag. If we need maintenance on
>> > those (like we have with 1.7.x then we simply create a maintenance branch
>> > for it.
>> >
>> > We create this tag from where? "origin/master"? If so, we would need to
>> > have a kind of code-freeze once "master" is stable and until we have our
>> > release tag ready. Our voting spans up to 3 days, maybe more. It means we
>> > wouldn't be able to push our local changes of on-going tasks until the
>> > release passes. Did I get it right?
>> >
>>
>> we take the last maintainance branch, add the few fixes we need and
>> then create the release branch and release from here. Once the vote
>> passed the RM pushes the tag. If it doesnt we can either delete the
>> release branch or fix it if it is minor.
>>
>> Of course if the diff between last maintaince branch and the fix we
>> want to do - assume we want to fix something in 1.0 now - we'll create
>> another maintaince branch from the 1.0 tag.
>>
>> I'd like a master which is our old trunk = not an issue if not stable,
>> that's the branch interesting guys going to sources so let it be the
>> default.
>>
>> > Gitflow proprosal:
>> > * we create a branch out of "develop" called "tomee-2.0.0" (for example).
>> > * we make "tomee-2.0.0" stable and call a vote. meanwhile, the developers
>> > are free to push to "develop"
>> > * "tomee-2.0.0" passes. we merge the code to "master" and to "develop"
>> (in
>> > case minor changes were necessary)
>> > * we create a release tag out of "master" because this branch is supposed
>> > to be stable.
>> >
>> >>> 3.) If there is a need for a hotfix then simply grab the tag of the
>> > release and create a branch from it. Then just apply the fixes you really
>> > need and no bit more.
>> >
>> > Yeah, it seems simple enough. I have no problem with it. In fact, this
>> > looks like what gitflow proposes. :)
>> >
>> > So, I guess we need to decide where the main development will happen
>> > (develop or master), and whether code-freeze is acceptable or not.
>> >
>> > []s,
>> > Thiago.
>> >
>> >
>> > On Wed, Jan 28, 2015 at 8:27 AM, Romain Manni-Bucau <
>> rmannibucau@gmail.com>
>> > wrote:
>> >
>> >> @Thiago: if there is a security fixes we'll start from a tag anyway,
>> >> not from master
>> >>
>> >>
>> >> Romain Manni-Bucau
>> >> @rmannibucau
>> >> http://www.tomitribe.com
>> >> http://rmannibucau.wordpress.com
>> >> https://github.com/rmannibucau
>> >>
>> >>
>> >> 2015-01-28 14:23 GMT+01:00 Mark Struberg <st...@yahoo.de>:
>> >> > thiago, there is absolutely no sense in all the gitflow stuff. The
>> more
>> >> I think about it the more I come to the conclusion they never did a big
>> >> project yet.
>> >> >
>> >> > Really the ONLY reason for such a workflow is if you have tons of
>> >> uneducated juniors working on the codebase and trashing your project by
>> >> committing more bad things than good things. But I hope that is NOT the
>> >> case for ASF projects...
>> >> > Btw, for such projects I'd rather suggest to use gerrit and not
>> >> gitflow...
>> >> >
>> >> >
>> >> >
>> >> > How does it work usually.
>> >> >
>> >> > 1.) trunk/master is the 'next planned big release'. Most of the work
>> >> happens there.
>> >> >
>> >> >
>> >> > 2.) For each released version we have a tag. If we need maintenance on
>> >> those (like we have with 1.7.x then we simply create a maintenance
>> branch
>> >> for it.
>> >> >
>> >> > 3.) If there is a need for a hotfix then simply grab the tag of the
>> >> release and create a branch from it. Then just apply the fixes you
>> really
>> >> need and no bit more.
>> >> >
>> >> > That works that way since years and I've never seen any issues.
>> >> >
>> >> >
>> >> > The point is that it doesn't make much sense to do all the work
>> upfront
>> >> because you _might_ need it. Just do the work IF you need it instead.
>> >> That's really easy to do with GIT.
>> >> >
>> >> > LieGrue,
>> >> > strub
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >> On Wednesday, 28 January 2015, 14:05, Thiago Veronezi <
>> >> thiago@veronezi.org> wrote:
>> >> >> >>> ...oops for tomee you dont get the snapshot
>> >> >> I agree. But that's the whole point. We shouldn't get the snapshot
>> from
>> >> >> master, according to the "Gitflow". I think it pays off when we have
>> a
>> >> >> hotfix like critical security bugs. Instead of rushing all the
>> on-going
>> >> >> tasks in order to close them for a new release, we would simply
>> create a
>> >> >> hotfix branch out of master, do the fix and merge it to develop and
>> >> back to
>> >> >> master. The link Andy provided has a chart that shows exactly how it
>> >> would
>> >> >> help. See the "hotfixes" line: http://nvie.com/img/git-model@2x.png.
>> >> >>
>> >> >> If the "pom.xml" file in "origin/master" does not use the
>> >> >> "SNAPSHOT", it
>> >> >> raises a flag to the developer. "Where the hell are the snapshots?"
>> :)
>> >> >> She/he would need to switch to the develop branch.
>> >> >>
>> >> >> []s,
>> >> >> Thiago.
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Wed, Jan 28, 2015 at 7:09 AM, Romain Manni-Bucau
>> >> >> <rm...@gmail.com>
>> >> >> wrote:
>> >> >>
>> >> >>> was the idea but:
>> >> >>> - doesnt make sense @asf
>> >> >>> - are we numerous enough to commit to let it get any sense?
>> >> >>> - do we want this ability at all?
>> >> >>>
>> >> >>> IMO we dont
>> >> >>>
>> >> >>> master = 2.0.0-SNAPSHOT = last version of the main version so it is
>> >> >>> not wrong even if not sexy.
>> >> >>>
>> >> >>> What we'll do basically when releasing is just merging all to
>> master
>> >> >>> if we keep develop so we just added noise for external guys
>> >> >>>
>> >> >>>
>> >> >>> When you go on github what do you do?
>> >> >>>
>> >> >>> git clone xxxxx
>> >> >>> cd xxxxx
>> >> >>> mvn clean install
>> >> >>>
>> >> >>>
>> >> >>> ...oops for tomee you dont get the snapshot
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> Romain Manni-Bucau
>> >> >>> @rmannibucau
>> >> >>> http://www.tomitribe.com
>> >> >>> http://rmannibucau.wordpress.com
>> >> >>> https://github.com/rmannibucau
>> >> >>>
>> >> >>>
>> >> >>> 2015-01-28 13:06 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>> >> >>> > Hi,
>> >> >>> >
>> >> >>> > If I get it right...
>> >> >>> >
>> >> >>> > * "origin/master" is just a regular branch, and a branch
>> >> >> represents what
>> >> >>> we
>> >> >>> > want it to be. For the "gitflow", "origin/master"
>> >> >> is our latest release.
>> >> >>> In
>> >> >>> > this case, if someone performs a checkout of master and builds
>> the
>> >> >>> > application from it, she/he will build the 1.7.1 distribution.
>> Note
>> >> >> that
>> >> >>> > currently it points to "2.0.0-SNAPSHOT". So maybe it is not
>> >> >> in good shape
>> >> >>> > because this source code it is not production ready.
>> >> >>> > * "origin/develop" is our tomee 2.0
>> >> >>> > * "origin/tomee-1.7.x" is our tomee 1.7.x
>> >> >>> >
>> >> >>> > If we talk about commands, we would use the following in our
>> >> >> development
>> >> >>> > process [Just tested it to be sure. :) ]...
>> >> >>> >
>> >> >>> > // check out the source code. "origin/master" is the
>> >> >> default. We don't
>> >> >>> > commit to this guy.
>> >> >>> > git clone https://git-wip-us.apache.org/repos/asf/tomee.git
>> >> my_source
>> >> >>> > Cloning into 'my_source'...
>> >> >>> > remote: Counting objects: 236092, done.
>> >> >>> > remote: Compressing objects: 100% (73416/73416), done.
>> >> >>> > remote: Total 236092 (delta 115784), reused 233010 (delta 114168)
>> >> >>> > Receiving objects: 100% (236092/236092), 35.93 MiB | 986 KiB/s,
>> >> done.
>> >> >>> > Resolving deltas: 100% (115784/115784), done.
>> >> >>> >
>> >> >>> > // go to new directory
>> >> >>> > cd my_source
>> >> >>> >
>> >> >>> > // create a local "develop" branch for for tomee 2.0 from
>> >> >>> "origin/develop"
>> >> >>> > git checkout -b develop origin/develop
>> >> >>> > Branch develop set up to track remote branch develop from origin.
>> >> >>> > Switched to a new branch 'develop'
>> >> >>> >
>> >> >>> > // create a local "feature" branch for for tomee 2.0 from
>> >> >> the local
>> >> >>> > "develop"
>> >> >>> > git checkout -b cosmetic develop
>> >> >>> > Switched to a new branch 'cosmetic'
>> >> >>> >
>> >> >>> > // now we work on the tomee 2.0 feature and commit
>> >> >>> > git status
>> >> >>> > git add pom.xml
>> >> >>> > git commit -m "moving end tag up"
>> >> >>> >
>> >> >>> > // ready to merge back to develop
>> >> >>> > git checkout develop
>> >> >>> >
>> >> >>> > // update develop
>> >> >>> > git pull
>> >> >>> >
>> >> >>> > // merge our local branch
>> >> >>> > git merge cosmetic
>> >> >>> > Updating edaf6d2..21ad55b
>> >> >>> > Fast-forward
>> >> >>> > pom.xml | 3 +--
>> >> >>> > 1 file changed, 1 insertion(+), 2 deletions(-)
>> >> >>> >
>> >> >>> > // push to remote develop
>> >> >>> > git push
>> >> >>> >
>> >> >>> > // delete local branch
>> >> >>> > git branch -d cosmetic
>> >> >>> > Deleted branch cosmetic (was 21ad55b).
>> >> >>> >
>> >> >>> > // if we have a new feature, we repeat step from this step...
>> >> >>> > git checkout -b new_feature develop
>> >> >>> > ...
>> >> >>> >
>> >> >>> >
>> >> >>> > Basically, we don't touch "origin/master". Only when we
>> >> >> merge
>> >> >>> > "origin/tomee.1.7.x" (or "origin/develop") back to
>> >> >> it.
>> >> >>> > I don't see a problem. We just need to keep in mind what
>> >> >> "origin/master",
>> >> >>> > "origin/develop" and "origin/tomee.1.7.x"
>> >> >> represent.
>> >> >>> >
>> >> >>> > Is that right?
>> >> >>> >
>> >> >>> > []s,
>> >> >>> > Thiago.
>> >> >>> >
>> >> >>> >
>> >> >>> > On Wed, Jan 28, 2015 at 4:59 AM, Romain Manni-Bucau <
>> >> >>> rmannibucau@gmail.com>
>> >> >>> > wrote:
>> >> >>> >
>> >> >>> >> well it is by design opposed to apache way since if it is used
>> it
>> >> >> is
>> >> >>> >> to have the ability to change commit history - if not it is
>> really
>> >> >>> >> useless.
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> Romain Manni-Bucau
>> >> >>> >> @rmannibucau
>> >> >>> >> http://www.tomitribe.com
>> >> >>> >> http://rmannibucau.wordpress.com
>> >> >>> >> https://github.com/rmannibucau
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> 2015-01-28 10:57 GMT+01:00 Andy Gumbrecht
>> >> >> <ag...@tomitribe.com>:
>> >> >>> >> > I know I set it up this way, but I am really +0 at the
>> >> >> moment. I don't
>> >> >>> >> feel
>> >> >>> >> > any anger towards it though. It is not 'my way',
>> >> >> rather the Gitflow
>> >> >>> way.
>> >> >>> >> >
>> >> >>> >> > I'm not going to push it other than to point to the
>> >> >> description of
>> >> >>> >> Gitflow.
>> >> >>> >> > It's only going to make sense if you use it, and then
>> >> >> really only if
>> >> >>> you
>> >> >>> >> > play release manager, and then only if you are managing both
>> >> >> 1.7.x and
>> >> >>> >> > develop releases.
>> >> >>> >> >
>> >> >>> >> > The scenario is described here in extreme detail -
>> >> >>> >> >
>> >> >>> >>
>> >> >>>
>> >> >>
>> >>
>> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
>> >> >>> >> >
>> >> >>> >> > It just 'looks' future safe to do it that way, and
>> >> >> until the Gitflow
>> >> >>> has
>> >> >>> >> > been tried and tested on the upcoming releases we will not
>> >> >> know. Jon
>> >> >>> >> should
>> >> >>> >> > give us his feedback after the releases are done. And then we
>> >> >> should
>> >> >>> all
>> >> >>> >> > look at the repo. The decision to use it was based on that
>> >> >> description
>> >> >>> >> and
>> >> >>> >> > they guy who 'invented' it -
>> >> >>> >> > http://nvie.com/posts/a-successful-git-branching-model/
>> >> >>> >> >
>> >> >>> >> > I actually don't know what is so painful about using
>> >> >> '-b develop' on
>> >> >>> the
>> >> >>> >> > initial developer checkout? That's it, everything else is
>> >> >> identical.
>> >> >>> As a
>> >> >>> >> > developer it is trivial. Where are the hard line drawbacks to
>> >> >> it other
>> >> >>> >> than
>> >> >>> >> > to say it's crap? Why is is so painful for some? I really
>> >> >> want to
>> >> >>> >> understand
>> >> >>> >> > what is causing the hate?
>> >> >>> >> >
>> >> >>> >> > The simple idea is that 'master' only ever contains
>> >> >> production ready
>> >> >>> >> code,
>> >> >>> >> > that's it. No more no less.
>> >> >>> >> >
>> >> >>> >> > Anyway, if everyone agrees on a way forward then votes on it
>> >> >> then I
>> >> >>> >> really
>> >> >>> >> > am +0, as it is not hard to do it either way.
>> >> >>> >> >
>> >> >>> >> > That doesn't mean:
>> >> >>> >> > -1 It's crap!
>> >> >>> >> >
>> >> >>> >> > That does mean:
>> >> >>> >> > -1 It's crap because.... and I will document 'my
>> >> >> way' for everyone to
>> >> >>> >> follow
>> >> >>> >> > to the letter.
>> >> >>> >> >
>> >> >>> >> > Andy.
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> > On 28/01/2015 09:55, Romain Manni-Bucau wrote:
>> >> >>> >> >>
>> >> >>> >> >> hehe feel less alone now, +1
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >> >> Romain Manni-Bucau
>> >> >>> >> >> @rmannibucau
>> >> >>> >> >> http://www.tomitribe.com
>> >> >>> >> >> http://rmannibucau.wordpress.com
>> >> >>> >> >> https://github.com/rmannibucau
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >> >> 2015-01-28 9:53 GMT+01:00 Mark Struberg
>> >> >> <st...@yahoo.de>:
>> >> >>> >> >>>
>> >> >>> >> >>> Hi folks!
>> >> >>> >> >>>
>> >> >>> >> >>> Just noticed that our branch naming schema in GIT is
>> >> >> still
>> >> >>> outerwordly
>> >> >>> >> >>> fucked up.
>> >> >>> >> >>>
>> >> >>> >> >>>
>> >> >>> >> >>>
>> >> >>> >> >>> Why don't we do it as everyone else does?
>> >> >>> >> >>> What does this crap of development branch do?
>> >> >> It's total nonsense to
>> >> >>> >> have
>> >> >>> >> >>> it!
>> >> >>> >> >>>
>> >> >>> >> >>> There is NO RTC for development at whole ASF except
>> >> >> for MAINTENANCE
>> >> >>> >> >>> BRANCHES maybe. All the standard community work is
>> >> >> CTR (Commmit Then
>> >> >>> >> Review)
>> >> >>> >> >>> That's a community wide modus operandi and we
>> >> >> should follow it as
>> >> >>> well.
>> >> >>> >> >>>
>> >> >>> >> >>>
>> >> >>> >> >>> So I for one will totally ignore this development
>> >> >> branch when
>> >> >>> working
>> >> >>> >> on
>> >> >>> >> >>> the TCK in the next days.
>> >> >>> >> >>>
>> >> >>> >> >>> Can we please finally merge in all the good work in
>> >> >> the development
>> >> >>> >> >>> branch to master and delete it finally?
>> >> >>> >> >>>
>> >> >>> >> >>>
>> >> >>> >> >>> LieGrue,
>> >> >>> >> >>> strub
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >> >> --
>> >> >>> >> >> Andy Gumbrecht
>> >> >>> >> >> https://twitter.com/AndyGeeDe
>> >> >>> >> >> http://www.tomitribe.com
>> >> >>> >>
>> >> >>>
>> >> >>
>> >>
>>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
What about having something like this?
https://dl.dropboxusercontent.com/u/1459144/tomee_git.jpg
* master is the place we push bleeding edge stuff.
* 1.7.x is stable and will never get back to master. We create our current
release tags (bug fixes, tomcat upgrades etc) out of it.
* 2.x.x is stable and contains code out of master (rebase). During release,
we rebase this branch, create auxiliary branches out of it for voting
purposes. Once the voting passes, we merge it back to 2.x.x, create the
release tag out of 2.x.x and delete the auxiliary branch.
[]s,
Thiago.
On Wed, Jan 28, 2015 at 12:32 PM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> answering inline
>
> 2015-01-28 18:13 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> > Hi Mark,
> >
> >>>1.) trunk/master is the 'next planned big release'. Most of the work
> > happens there.
> >
> > As "master" is just a branch, it means we are simply renaming "develop"
> to
> > "master". That would save a couple of keystrokes indeed. Instead of...
> > git checkout -b my_local_branch origin/develop
> >
>
> +1
>
> > ... we would do...
> > git checkout -b my_local_branch
> >
> >>>2.) For each released version we have a tag. If we need maintenance on
> > those (like we have with 1.7.x then we simply create a maintenance branch
> > for it.
> >
> > We create this tag from where? "origin/master"? If so, we would need to
> > have a kind of code-freeze once "master" is stable and until we have our
> > release tag ready. Our voting spans up to 3 days, maybe more. It means we
> > wouldn't be able to push our local changes of on-going tasks until the
> > release passes. Did I get it right?
> >
>
> we take the last maintainance branch, add the few fixes we need and
> then create the release branch and release from here. Once the vote
> passed the RM pushes the tag. If it doesnt we can either delete the
> release branch or fix it if it is minor.
>
> Of course if the diff between last maintaince branch and the fix we
> want to do - assume we want to fix something in 1.0 now - we'll create
> another maintaince branch from the 1.0 tag.
>
> I'd like a master which is our old trunk = not an issue if not stable,
> that's the branch interesting guys going to sources so let it be the
> default.
>
> > Gitflow proprosal:
> > * we create a branch out of "develop" called "tomee-2.0.0" (for example).
> > * we make "tomee-2.0.0" stable and call a vote. meanwhile, the developers
> > are free to push to "develop"
> > * "tomee-2.0.0" passes. we merge the code to "master" and to "develop"
> (in
> > case minor changes were necessary)
> > * we create a release tag out of "master" because this branch is supposed
> > to be stable.
> >
> >>> 3.) If there is a need for a hotfix then simply grab the tag of the
> > release and create a branch from it. Then just apply the fixes you really
> > need and no bit more.
> >
> > Yeah, it seems simple enough. I have no problem with it. In fact, this
> > looks like what gitflow proposes. :)
> >
> > So, I guess we need to decide where the main development will happen
> > (develop or master), and whether code-freeze is acceptable or not.
> >
> > []s,
> > Thiago.
> >
> >
> > On Wed, Jan 28, 2015 at 8:27 AM, Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > wrote:
> >
> >> @Thiago: if there is a security fixes we'll start from a tag anyway,
> >> not from master
> >>
> >>
> >> Romain Manni-Bucau
> >> @rmannibucau
> >> http://www.tomitribe.com
> >> http://rmannibucau.wordpress.com
> >> https://github.com/rmannibucau
> >>
> >>
> >> 2015-01-28 14:23 GMT+01:00 Mark Struberg <st...@yahoo.de>:
> >> > thiago, there is absolutely no sense in all the gitflow stuff. The
> more
> >> I think about it the more I come to the conclusion they never did a big
> >> project yet.
> >> >
> >> > Really the ONLY reason for such a workflow is if you have tons of
> >> uneducated juniors working on the codebase and trashing your project by
> >> committing more bad things than good things. But I hope that is NOT the
> >> case for ASF projects...
> >> > Btw, for such projects I'd rather suggest to use gerrit and not
> >> gitflow...
> >> >
> >> >
> >> >
> >> > How does it work usually.
> >> >
> >> > 1.) trunk/master is the 'next planned big release'. Most of the work
> >> happens there.
> >> >
> >> >
> >> > 2.) For each released version we have a tag. If we need maintenance on
> >> those (like we have with 1.7.x then we simply create a maintenance
> branch
> >> for it.
> >> >
> >> > 3.) If there is a need for a hotfix then simply grab the tag of the
> >> release and create a branch from it. Then just apply the fixes you
> really
> >> need and no bit more.
> >> >
> >> > That works that way since years and I've never seen any issues.
> >> >
> >> >
> >> > The point is that it doesn't make much sense to do all the work
> upfront
> >> because you _might_ need it. Just do the work IF you need it instead.
> >> That's really easy to do with GIT.
> >> >
> >> > LieGrue,
> >> > strub
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >> On Wednesday, 28 January 2015, 14:05, Thiago Veronezi <
> >> thiago@veronezi.org> wrote:
> >> >> >>> ...oops for tomee you dont get the snapshot
> >> >> I agree. But that's the whole point. We shouldn't get the snapshot
> from
> >> >> master, according to the "Gitflow". I think it pays off when we have
> a
> >> >> hotfix like critical security bugs. Instead of rushing all the
> on-going
> >> >> tasks in order to close them for a new release, we would simply
> create a
> >> >> hotfix branch out of master, do the fix and merge it to develop and
> >> back to
> >> >> master. The link Andy provided has a chart that shows exactly how it
> >> would
> >> >> help. See the "hotfixes" line: http://nvie.com/img/git-model@2x.png.
> >> >>
> >> >> If the "pom.xml" file in "origin/master" does not use the
> >> >> "SNAPSHOT", it
> >> >> raises a flag to the developer. "Where the hell are the snapshots?"
> :)
> >> >> She/he would need to switch to the develop branch.
> >> >>
> >> >> []s,
> >> >> Thiago.
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Jan 28, 2015 at 7:09 AM, Romain Manni-Bucau
> >> >> <rm...@gmail.com>
> >> >> wrote:
> >> >>
> >> >>> was the idea but:
> >> >>> - doesnt make sense @asf
> >> >>> - are we numerous enough to commit to let it get any sense?
> >> >>> - do we want this ability at all?
> >> >>>
> >> >>> IMO we dont
> >> >>>
> >> >>> master = 2.0.0-SNAPSHOT = last version of the main version so it is
> >> >>> not wrong even if not sexy.
> >> >>>
> >> >>> What we'll do basically when releasing is just merging all to
> master
> >> >>> if we keep develop so we just added noise for external guys
> >> >>>
> >> >>>
> >> >>> When you go on github what do you do?
> >> >>>
> >> >>> git clone xxxxx
> >> >>> cd xxxxx
> >> >>> mvn clean install
> >> >>>
> >> >>>
> >> >>> ...oops for tomee you dont get the snapshot
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>> Romain Manni-Bucau
> >> >>> @rmannibucau
> >> >>> http://www.tomitribe.com
> >> >>> http://rmannibucau.wordpress.com
> >> >>> https://github.com/rmannibucau
> >> >>>
> >> >>>
> >> >>> 2015-01-28 13:06 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> >> >>> > Hi,
> >> >>> >
> >> >>> > If I get it right...
> >> >>> >
> >> >>> > * "origin/master" is just a regular branch, and a branch
> >> >> represents what
> >> >>> we
> >> >>> > want it to be. For the "gitflow", "origin/master"
> >> >> is our latest release.
> >> >>> In
> >> >>> > this case, if someone performs a checkout of master and builds
> the
> >> >>> > application from it, she/he will build the 1.7.1 distribution.
> Note
> >> >> that
> >> >>> > currently it points to "2.0.0-SNAPSHOT". So maybe it is not
> >> >> in good shape
> >> >>> > because this source code it is not production ready.
> >> >>> > * "origin/develop" is our tomee 2.0
> >> >>> > * "origin/tomee-1.7.x" is our tomee 1.7.x
> >> >>> >
> >> >>> > If we talk about commands, we would use the following in our
> >> >> development
> >> >>> > process [Just tested it to be sure. :) ]...
> >> >>> >
> >> >>> > // check out the source code. "origin/master" is the
> >> >> default. We don't
> >> >>> > commit to this guy.
> >> >>> > git clone https://git-wip-us.apache.org/repos/asf/tomee.git
> >> my_source
> >> >>> > Cloning into 'my_source'...
> >> >>> > remote: Counting objects: 236092, done.
> >> >>> > remote: Compressing objects: 100% (73416/73416), done.
> >> >>> > remote: Total 236092 (delta 115784), reused 233010 (delta 114168)
> >> >>> > Receiving objects: 100% (236092/236092), 35.93 MiB | 986 KiB/s,
> >> done.
> >> >>> > Resolving deltas: 100% (115784/115784), done.
> >> >>> >
> >> >>> > // go to new directory
> >> >>> > cd my_source
> >> >>> >
> >> >>> > // create a local "develop" branch for for tomee 2.0 from
> >> >>> "origin/develop"
> >> >>> > git checkout -b develop origin/develop
> >> >>> > Branch develop set up to track remote branch develop from origin.
> >> >>> > Switched to a new branch 'develop'
> >> >>> >
> >> >>> > // create a local "feature" branch for for tomee 2.0 from
> >> >> the local
> >> >>> > "develop"
> >> >>> > git checkout -b cosmetic develop
> >> >>> > Switched to a new branch 'cosmetic'
> >> >>> >
> >> >>> > // now we work on the tomee 2.0 feature and commit
> >> >>> > git status
> >> >>> > git add pom.xml
> >> >>> > git commit -m "moving end tag up"
> >> >>> >
> >> >>> > // ready to merge back to develop
> >> >>> > git checkout develop
> >> >>> >
> >> >>> > // update develop
> >> >>> > git pull
> >> >>> >
> >> >>> > // merge our local branch
> >> >>> > git merge cosmetic
> >> >>> > Updating edaf6d2..21ad55b
> >> >>> > Fast-forward
> >> >>> > pom.xml | 3 +--
> >> >>> > 1 file changed, 1 insertion(+), 2 deletions(-)
> >> >>> >
> >> >>> > // push to remote develop
> >> >>> > git push
> >> >>> >
> >> >>> > // delete local branch
> >> >>> > git branch -d cosmetic
> >> >>> > Deleted branch cosmetic (was 21ad55b).
> >> >>> >
> >> >>> > // if we have a new feature, we repeat step from this step...
> >> >>> > git checkout -b new_feature develop
> >> >>> > ...
> >> >>> >
> >> >>> >
> >> >>> > Basically, we don't touch "origin/master". Only when we
> >> >> merge
> >> >>> > "origin/tomee.1.7.x" (or "origin/develop") back to
> >> >> it.
> >> >>> > I don't see a problem. We just need to keep in mind what
> >> >> "origin/master",
> >> >>> > "origin/develop" and "origin/tomee.1.7.x"
> >> >> represent.
> >> >>> >
> >> >>> > Is that right?
> >> >>> >
> >> >>> > []s,
> >> >>> > Thiago.
> >> >>> >
> >> >>> >
> >> >>> > On Wed, Jan 28, 2015 at 4:59 AM, Romain Manni-Bucau <
> >> >>> rmannibucau@gmail.com>
> >> >>> > wrote:
> >> >>> >
> >> >>> >> well it is by design opposed to apache way since if it is used
> it
> >> >> is
> >> >>> >> to have the ability to change commit history - if not it is
> really
> >> >>> >> useless.
> >> >>> >>
> >> >>> >>
> >> >>> >> Romain Manni-Bucau
> >> >>> >> @rmannibucau
> >> >>> >> http://www.tomitribe.com
> >> >>> >> http://rmannibucau.wordpress.com
> >> >>> >> https://github.com/rmannibucau
> >> >>> >>
> >> >>> >>
> >> >>> >> 2015-01-28 10:57 GMT+01:00 Andy Gumbrecht
> >> >> <ag...@tomitribe.com>:
> >> >>> >> > I know I set it up this way, but I am really +0 at the
> >> >> moment. I don't
> >> >>> >> feel
> >> >>> >> > any anger towards it though. It is not 'my way',
> >> >> rather the Gitflow
> >> >>> way.
> >> >>> >> >
> >> >>> >> > I'm not going to push it other than to point to the
> >> >> description of
> >> >>> >> Gitflow.
> >> >>> >> > It's only going to make sense if you use it, and then
> >> >> really only if
> >> >>> you
> >> >>> >> > play release manager, and then only if you are managing both
> >> >> 1.7.x and
> >> >>> >> > develop releases.
> >> >>> >> >
> >> >>> >> > The scenario is described here in extreme detail -
> >> >>> >> >
> >> >>> >>
> >> >>>
> >> >>
> >>
> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
> >> >>> >> >
> >> >>> >> > It just 'looks' future safe to do it that way, and
> >> >> until the Gitflow
> >> >>> has
> >> >>> >> > been tried and tested on the upcoming releases we will not
> >> >> know. Jon
> >> >>> >> should
> >> >>> >> > give us his feedback after the releases are done. And then we
> >> >> should
> >> >>> all
> >> >>> >> > look at the repo. The decision to use it was based on that
> >> >> description
> >> >>> >> and
> >> >>> >> > they guy who 'invented' it -
> >> >>> >> > http://nvie.com/posts/a-successful-git-branching-model/
> >> >>> >> >
> >> >>> >> > I actually don't know what is so painful about using
> >> >> '-b develop' on
> >> >>> the
> >> >>> >> > initial developer checkout? That's it, everything else is
> >> >> identical.
> >> >>> As a
> >> >>> >> > developer it is trivial. Where are the hard line drawbacks to
> >> >> it other
> >> >>> >> than
> >> >>> >> > to say it's crap? Why is is so painful for some? I really
> >> >> want to
> >> >>> >> understand
> >> >>> >> > what is causing the hate?
> >> >>> >> >
> >> >>> >> > The simple idea is that 'master' only ever contains
> >> >> production ready
> >> >>> >> code,
> >> >>> >> > that's it. No more no less.
> >> >>> >> >
> >> >>> >> > Anyway, if everyone agrees on a way forward then votes on it
> >> >> then I
> >> >>> >> really
> >> >>> >> > am +0, as it is not hard to do it either way.
> >> >>> >> >
> >> >>> >> > That doesn't mean:
> >> >>> >> > -1 It's crap!
> >> >>> >> >
> >> >>> >> > That does mean:
> >> >>> >> > -1 It's crap because.... and I will document 'my
> >> >> way' for everyone to
> >> >>> >> follow
> >> >>> >> > to the letter.
> >> >>> >> >
> >> >>> >> > Andy.
> >> >>> >> >
> >> >>> >> >
> >> >>> >> > On 28/01/2015 09:55, Romain Manni-Bucau wrote:
> >> >>> >> >>
> >> >>> >> >> hehe feel less alone now, +1
> >> >>> >> >>
> >> >>> >> >>
> >> >>> >> >> Romain Manni-Bucau
> >> >>> >> >> @rmannibucau
> >> >>> >> >> http://www.tomitribe.com
> >> >>> >> >> http://rmannibucau.wordpress.com
> >> >>> >> >> https://github.com/rmannibucau
> >> >>> >> >>
> >> >>> >> >>
> >> >>> >> >> 2015-01-28 9:53 GMT+01:00 Mark Struberg
> >> >> <st...@yahoo.de>:
> >> >>> >> >>>
> >> >>> >> >>> Hi folks!
> >> >>> >> >>>
> >> >>> >> >>> Just noticed that our branch naming schema in GIT is
> >> >> still
> >> >>> outerwordly
> >> >>> >> >>> fucked up.
> >> >>> >> >>>
> >> >>> >> >>>
> >> >>> >> >>>
> >> >>> >> >>> Why don't we do it as everyone else does?
> >> >>> >> >>> What does this crap of development branch do?
> >> >> It's total nonsense to
> >> >>> >> have
> >> >>> >> >>> it!
> >> >>> >> >>>
> >> >>> >> >>> There is NO RTC for development at whole ASF except
> >> >> for MAINTENANCE
> >> >>> >> >>> BRANCHES maybe. All the standard community work is
> >> >> CTR (Commmit Then
> >> >>> >> Review)
> >> >>> >> >>> That's a community wide modus operandi and we
> >> >> should follow it as
> >> >>> well.
> >> >>> >> >>>
> >> >>> >> >>>
> >> >>> >> >>> So I for one will totally ignore this development
> >> >> branch when
> >> >>> working
> >> >>> >> on
> >> >>> >> >>> the TCK in the next days.
> >> >>> >> >>>
> >> >>> >> >>> Can we please finally merge in all the good work in
> >> >> the development
> >> >>> >> >>> branch to master and delete it finally?
> >> >>> >> >>>
> >> >>> >> >>>
> >> >>> >> >>> LieGrue,
> >> >>> >> >>> strub
> >> >>> >> >>
> >> >>> >> >>
> >> >>> >> >>
> >> >>> >> >> --
> >> >>> >> >> Andy Gumbrecht
> >> >>> >> >> https://twitter.com/AndyGeeDe
> >> >>> >> >> http://www.tomitribe.com
> >> >>> >>
> >> >>>
> >> >>
> >>
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
answering inline
2015-01-28 18:13 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> Hi Mark,
>
>>>1.) trunk/master is the 'next planned big release'. Most of the work
> happens there.
>
> As "master" is just a branch, it means we are simply renaming "develop" to
> "master". That would save a couple of keystrokes indeed. Instead of...
> git checkout -b my_local_branch origin/develop
>
+1
> ... we would do...
> git checkout -b my_local_branch
>
>>>2.) For each released version we have a tag. If we need maintenance on
> those (like we have with 1.7.x then we simply create a maintenance branch
> for it.
>
> We create this tag from where? "origin/master"? If so, we would need to
> have a kind of code-freeze once "master" is stable and until we have our
> release tag ready. Our voting spans up to 3 days, maybe more. It means we
> wouldn't be able to push our local changes of on-going tasks until the
> release passes. Did I get it right?
>
we take the last maintainance branch, add the few fixes we need and
then create the release branch and release from here. Once the vote
passed the RM pushes the tag. If it doesnt we can either delete the
release branch or fix it if it is minor.
Of course if the diff between last maintaince branch and the fix we
want to do - assume we want to fix something in 1.0 now - we'll create
another maintaince branch from the 1.0 tag.
I'd like a master which is our old trunk = not an issue if not stable,
that's the branch interesting guys going to sources so let it be the
default.
> Gitflow proprosal:
> * we create a branch out of "develop" called "tomee-2.0.0" (for example).
> * we make "tomee-2.0.0" stable and call a vote. meanwhile, the developers
> are free to push to "develop"
> * "tomee-2.0.0" passes. we merge the code to "master" and to "develop" (in
> case minor changes were necessary)
> * we create a release tag out of "master" because this branch is supposed
> to be stable.
>
>>> 3.) If there is a need for a hotfix then simply grab the tag of the
> release and create a branch from it. Then just apply the fixes you really
> need and no bit more.
>
> Yeah, it seems simple enough. I have no problem with it. In fact, this
> looks like what gitflow proposes. :)
>
> So, I guess we need to decide where the main development will happen
> (develop or master), and whether code-freeze is acceptable or not.
>
> []s,
> Thiago.
>
>
> On Wed, Jan 28, 2015 at 8:27 AM, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
>
>> @Thiago: if there is a security fixes we'll start from a tag anyway,
>> not from master
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2015-01-28 14:23 GMT+01:00 Mark Struberg <st...@yahoo.de>:
>> > thiago, there is absolutely no sense in all the gitflow stuff. The more
>> I think about it the more I come to the conclusion they never did a big
>> project yet.
>> >
>> > Really the ONLY reason for such a workflow is if you have tons of
>> uneducated juniors working on the codebase and trashing your project by
>> committing more bad things than good things. But I hope that is NOT the
>> case for ASF projects...
>> > Btw, for such projects I'd rather suggest to use gerrit and not
>> gitflow...
>> >
>> >
>> >
>> > How does it work usually.
>> >
>> > 1.) trunk/master is the 'next planned big release'. Most of the work
>> happens there.
>> >
>> >
>> > 2.) For each released version we have a tag. If we need maintenance on
>> those (like we have with 1.7.x then we simply create a maintenance branch
>> for it.
>> >
>> > 3.) If there is a need for a hotfix then simply grab the tag of the
>> release and create a branch from it. Then just apply the fixes you really
>> need and no bit more.
>> >
>> > That works that way since years and I've never seen any issues.
>> >
>> >
>> > The point is that it doesn't make much sense to do all the work upfront
>> because you _might_ need it. Just do the work IF you need it instead.
>> That's really easy to do with GIT.
>> >
>> > LieGrue,
>> > strub
>> >
>> >
>> >
>> >
>> >
>> >> On Wednesday, 28 January 2015, 14:05, Thiago Veronezi <
>> thiago@veronezi.org> wrote:
>> >> >>> ...oops for tomee you dont get the snapshot
>> >> I agree. But that's the whole point. We shouldn't get the snapshot from
>> >> master, according to the "Gitflow". I think it pays off when we have a
>> >> hotfix like critical security bugs. Instead of rushing all the on-going
>> >> tasks in order to close them for a new release, we would simply create a
>> >> hotfix branch out of master, do the fix and merge it to develop and
>> back to
>> >> master. The link Andy provided has a chart that shows exactly how it
>> would
>> >> help. See the "hotfixes" line: http://nvie.com/img/git-model@2x.png.
>> >>
>> >> If the "pom.xml" file in "origin/master" does not use the
>> >> "SNAPSHOT", it
>> >> raises a flag to the developer. "Where the hell are the snapshots?" :)
>> >> She/he would need to switch to the develop branch.
>> >>
>> >> []s,
>> >> Thiago.
>> >>
>> >>
>> >>
>> >> On Wed, Jan 28, 2015 at 7:09 AM, Romain Manni-Bucau
>> >> <rm...@gmail.com>
>> >> wrote:
>> >>
>> >>> was the idea but:
>> >>> - doesnt make sense @asf
>> >>> - are we numerous enough to commit to let it get any sense?
>> >>> - do we want this ability at all?
>> >>>
>> >>> IMO we dont
>> >>>
>> >>> master = 2.0.0-SNAPSHOT = last version of the main version so it is
>> >>> not wrong even if not sexy.
>> >>>
>> >>> What we'll do basically when releasing is just merging all to master
>> >>> if we keep develop so we just added noise for external guys
>> >>>
>> >>>
>> >>> When you go on github what do you do?
>> >>>
>> >>> git clone xxxxx
>> >>> cd xxxxx
>> >>> mvn clean install
>> >>>
>> >>>
>> >>> ...oops for tomee you dont get the snapshot
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Romain Manni-Bucau
>> >>> @rmannibucau
>> >>> http://www.tomitribe.com
>> >>> http://rmannibucau.wordpress.com
>> >>> https://github.com/rmannibucau
>> >>>
>> >>>
>> >>> 2015-01-28 13:06 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>> >>> > Hi,
>> >>> >
>> >>> > If I get it right...
>> >>> >
>> >>> > * "origin/master" is just a regular branch, and a branch
>> >> represents what
>> >>> we
>> >>> > want it to be. For the "gitflow", "origin/master"
>> >> is our latest release.
>> >>> In
>> >>> > this case, if someone performs a checkout of master and builds the
>> >>> > application from it, she/he will build the 1.7.1 distribution. Note
>> >> that
>> >>> > currently it points to "2.0.0-SNAPSHOT". So maybe it is not
>> >> in good shape
>> >>> > because this source code it is not production ready.
>> >>> > * "origin/develop" is our tomee 2.0
>> >>> > * "origin/tomee-1.7.x" is our tomee 1.7.x
>> >>> >
>> >>> > If we talk about commands, we would use the following in our
>> >> development
>> >>> > process [Just tested it to be sure. :) ]...
>> >>> >
>> >>> > // check out the source code. "origin/master" is the
>> >> default. We don't
>> >>> > commit to this guy.
>> >>> > git clone https://git-wip-us.apache.org/repos/asf/tomee.git
>> my_source
>> >>> > Cloning into 'my_source'...
>> >>> > remote: Counting objects: 236092, done.
>> >>> > remote: Compressing objects: 100% (73416/73416), done.
>> >>> > remote: Total 236092 (delta 115784), reused 233010 (delta 114168)
>> >>> > Receiving objects: 100% (236092/236092), 35.93 MiB | 986 KiB/s,
>> done.
>> >>> > Resolving deltas: 100% (115784/115784), done.
>> >>> >
>> >>> > // go to new directory
>> >>> > cd my_source
>> >>> >
>> >>> > // create a local "develop" branch for for tomee 2.0 from
>> >>> "origin/develop"
>> >>> > git checkout -b develop origin/develop
>> >>> > Branch develop set up to track remote branch develop from origin.
>> >>> > Switched to a new branch 'develop'
>> >>> >
>> >>> > // create a local "feature" branch for for tomee 2.0 from
>> >> the local
>> >>> > "develop"
>> >>> > git checkout -b cosmetic develop
>> >>> > Switched to a new branch 'cosmetic'
>> >>> >
>> >>> > // now we work on the tomee 2.0 feature and commit
>> >>> > git status
>> >>> > git add pom.xml
>> >>> > git commit -m "moving end tag up"
>> >>> >
>> >>> > // ready to merge back to develop
>> >>> > git checkout develop
>> >>> >
>> >>> > // update develop
>> >>> > git pull
>> >>> >
>> >>> > // merge our local branch
>> >>> > git merge cosmetic
>> >>> > Updating edaf6d2..21ad55b
>> >>> > Fast-forward
>> >>> > pom.xml | 3 +--
>> >>> > 1 file changed, 1 insertion(+), 2 deletions(-)
>> >>> >
>> >>> > // push to remote develop
>> >>> > git push
>> >>> >
>> >>> > // delete local branch
>> >>> > git branch -d cosmetic
>> >>> > Deleted branch cosmetic (was 21ad55b).
>> >>> >
>> >>> > // if we have a new feature, we repeat step from this step...
>> >>> > git checkout -b new_feature develop
>> >>> > ...
>> >>> >
>> >>> >
>> >>> > Basically, we don't touch "origin/master". Only when we
>> >> merge
>> >>> > "origin/tomee.1.7.x" (or "origin/develop") back to
>> >> it.
>> >>> > I don't see a problem. We just need to keep in mind what
>> >> "origin/master",
>> >>> > "origin/develop" and "origin/tomee.1.7.x"
>> >> represent.
>> >>> >
>> >>> > Is that right?
>> >>> >
>> >>> > []s,
>> >>> > Thiago.
>> >>> >
>> >>> >
>> >>> > On Wed, Jan 28, 2015 at 4:59 AM, Romain Manni-Bucau <
>> >>> rmannibucau@gmail.com>
>> >>> > wrote:
>> >>> >
>> >>> >> well it is by design opposed to apache way since if it is used it
>> >> is
>> >>> >> to have the ability to change commit history - if not it is really
>> >>> >> useless.
>> >>> >>
>> >>> >>
>> >>> >> Romain Manni-Bucau
>> >>> >> @rmannibucau
>> >>> >> http://www.tomitribe.com
>> >>> >> http://rmannibucau.wordpress.com
>> >>> >> https://github.com/rmannibucau
>> >>> >>
>> >>> >>
>> >>> >> 2015-01-28 10:57 GMT+01:00 Andy Gumbrecht
>> >> <ag...@tomitribe.com>:
>> >>> >> > I know I set it up this way, but I am really +0 at the
>> >> moment. I don't
>> >>> >> feel
>> >>> >> > any anger towards it though. It is not 'my way',
>> >> rather the Gitflow
>> >>> way.
>> >>> >> >
>> >>> >> > I'm not going to push it other than to point to the
>> >> description of
>> >>> >> Gitflow.
>> >>> >> > It's only going to make sense if you use it, and then
>> >> really only if
>> >>> you
>> >>> >> > play release manager, and then only if you are managing both
>> >> 1.7.x and
>> >>> >> > develop releases.
>> >>> >> >
>> >>> >> > The scenario is described here in extreme detail -
>> >>> >> >
>> >>> >>
>> >>>
>> >>
>> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
>> >>> >> >
>> >>> >> > It just 'looks' future safe to do it that way, and
>> >> until the Gitflow
>> >>> has
>> >>> >> > been tried and tested on the upcoming releases we will not
>> >> know. Jon
>> >>> >> should
>> >>> >> > give us his feedback after the releases are done. And then we
>> >> should
>> >>> all
>> >>> >> > look at the repo. The decision to use it was based on that
>> >> description
>> >>> >> and
>> >>> >> > they guy who 'invented' it -
>> >>> >> > http://nvie.com/posts/a-successful-git-branching-model/
>> >>> >> >
>> >>> >> > I actually don't know what is so painful about using
>> >> '-b develop' on
>> >>> the
>> >>> >> > initial developer checkout? That's it, everything else is
>> >> identical.
>> >>> As a
>> >>> >> > developer it is trivial. Where are the hard line drawbacks to
>> >> it other
>> >>> >> than
>> >>> >> > to say it's crap? Why is is so painful for some? I really
>> >> want to
>> >>> >> understand
>> >>> >> > what is causing the hate?
>> >>> >> >
>> >>> >> > The simple idea is that 'master' only ever contains
>> >> production ready
>> >>> >> code,
>> >>> >> > that's it. No more no less.
>> >>> >> >
>> >>> >> > Anyway, if everyone agrees on a way forward then votes on it
>> >> then I
>> >>> >> really
>> >>> >> > am +0, as it is not hard to do it either way.
>> >>> >> >
>> >>> >> > That doesn't mean:
>> >>> >> > -1 It's crap!
>> >>> >> >
>> >>> >> > That does mean:
>> >>> >> > -1 It's crap because.... and I will document 'my
>> >> way' for everyone to
>> >>> >> follow
>> >>> >> > to the letter.
>> >>> >> >
>> >>> >> > Andy.
>> >>> >> >
>> >>> >> >
>> >>> >> > On 28/01/2015 09:55, Romain Manni-Bucau wrote:
>> >>> >> >>
>> >>> >> >> hehe feel less alone now, +1
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> Romain Manni-Bucau
>> >>> >> >> @rmannibucau
>> >>> >> >> http://www.tomitribe.com
>> >>> >> >> http://rmannibucau.wordpress.com
>> >>> >> >> https://github.com/rmannibucau
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> 2015-01-28 9:53 GMT+01:00 Mark Struberg
>> >> <st...@yahoo.de>:
>> >>> >> >>>
>> >>> >> >>> Hi folks!
>> >>> >> >>>
>> >>> >> >>> Just noticed that our branch naming schema in GIT is
>> >> still
>> >>> outerwordly
>> >>> >> >>> fucked up.
>> >>> >> >>>
>> >>> >> >>>
>> >>> >> >>>
>> >>> >> >>> Why don't we do it as everyone else does?
>> >>> >> >>> What does this crap of development branch do?
>> >> It's total nonsense to
>> >>> >> have
>> >>> >> >>> it!
>> >>> >> >>>
>> >>> >> >>> There is NO RTC for development at whole ASF except
>> >> for MAINTENANCE
>> >>> >> >>> BRANCHES maybe. All the standard community work is
>> >> CTR (Commmit Then
>> >>> >> Review)
>> >>> >> >>> That's a community wide modus operandi and we
>> >> should follow it as
>> >>> well.
>> >>> >> >>>
>> >>> >> >>>
>> >>> >> >>> So I for one will totally ignore this development
>> >> branch when
>> >>> working
>> >>> >> on
>> >>> >> >>> the TCK in the next days.
>> >>> >> >>>
>> >>> >> >>> Can we please finally merge in all the good work in
>> >> the development
>> >>> >> >>> branch to master and delete it finally?
>> >>> >> >>>
>> >>> >> >>>
>> >>> >> >>> LieGrue,
>> >>> >> >>> strub
>> >>> >> >>
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> --
>> >>> >> >> Andy Gumbrecht
>> >>> >> >> https://twitter.com/AndyGeeDe
>> >>> >> >> http://www.tomitribe.com
>> >>> >>
>> >>>
>> >>
>>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
Hi Mark,
>>1.) trunk/master is the 'next planned big release'. Most of the work
happens there.
As "master" is just a branch, it means we are simply renaming "develop" to
"master". That would save a couple of keystrokes indeed. Instead of...
git checkout -b my_local_branch origin/develop
... we would do...
git checkout -b my_local_branch
>>2.) For each released version we have a tag. If we need maintenance on
those (like we have with 1.7.x then we simply create a maintenance branch
for it.
We create this tag from where? "origin/master"? If so, we would need to
have a kind of code-freeze once "master" is stable and until we have our
release tag ready. Our voting spans up to 3 days, maybe more. It means we
wouldn't be able to push our local changes of on-going tasks until the
release passes. Did I get it right?
Gitflow proprosal:
* we create a branch out of "develop" called "tomee-2.0.0" (for example).
* we make "tomee-2.0.0" stable and call a vote. meanwhile, the developers
are free to push to "develop"
* "tomee-2.0.0" passes. we merge the code to "master" and to "develop" (in
case minor changes were necessary)
* we create a release tag out of "master" because this branch is supposed
to be stable.
>> 3.) If there is a need for a hotfix then simply grab the tag of the
release and create a branch from it. Then just apply the fixes you really
need and no bit more.
Yeah, it seems simple enough. I have no problem with it. In fact, this
looks like what gitflow proposes. :)
So, I guess we need to decide where the main development will happen
(develop or master), and whether code-freeze is acceptable or not.
[]s,
Thiago.
On Wed, Jan 28, 2015 at 8:27 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> @Thiago: if there is a security fixes we'll start from a tag anyway,
> not from master
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2015-01-28 14:23 GMT+01:00 Mark Struberg <st...@yahoo.de>:
> > thiago, there is absolutely no sense in all the gitflow stuff. The more
> I think about it the more I come to the conclusion they never did a big
> project yet.
> >
> > Really the ONLY reason for such a workflow is if you have tons of
> uneducated juniors working on the codebase and trashing your project by
> committing more bad things than good things. But I hope that is NOT the
> case for ASF projects...
> > Btw, for such projects I'd rather suggest to use gerrit and not
> gitflow...
> >
> >
> >
> > How does it work usually.
> >
> > 1.) trunk/master is the 'next planned big release'. Most of the work
> happens there.
> >
> >
> > 2.) For each released version we have a tag. If we need maintenance on
> those (like we have with 1.7.x then we simply create a maintenance branch
> for it.
> >
> > 3.) If there is a need for a hotfix then simply grab the tag of the
> release and create a branch from it. Then just apply the fixes you really
> need and no bit more.
> >
> > That works that way since years and I've never seen any issues.
> >
> >
> > The point is that it doesn't make much sense to do all the work upfront
> because you _might_ need it. Just do the work IF you need it instead.
> That's really easy to do with GIT.
> >
> > LieGrue,
> > strub
> >
> >
> >
> >
> >
> >> On Wednesday, 28 January 2015, 14:05, Thiago Veronezi <
> thiago@veronezi.org> wrote:
> >> >>> ...oops for tomee you dont get the snapshot
> >> I agree. But that's the whole point. We shouldn't get the snapshot from
> >> master, according to the "Gitflow". I think it pays off when we have a
> >> hotfix like critical security bugs. Instead of rushing all the on-going
> >> tasks in order to close them for a new release, we would simply create a
> >> hotfix branch out of master, do the fix and merge it to develop and
> back to
> >> master. The link Andy provided has a chart that shows exactly how it
> would
> >> help. See the "hotfixes" line: http://nvie.com/img/git-model@2x.png.
> >>
> >> If the "pom.xml" file in "origin/master" does not use the
> >> "SNAPSHOT", it
> >> raises a flag to the developer. "Where the hell are the snapshots?" :)
> >> She/he would need to switch to the develop branch.
> >>
> >> []s,
> >> Thiago.
> >>
> >>
> >>
> >> On Wed, Jan 28, 2015 at 7:09 AM, Romain Manni-Bucau
> >> <rm...@gmail.com>
> >> wrote:
> >>
> >>> was the idea but:
> >>> - doesnt make sense @asf
> >>> - are we numerous enough to commit to let it get any sense?
> >>> - do we want this ability at all?
> >>>
> >>> IMO we dont
> >>>
> >>> master = 2.0.0-SNAPSHOT = last version of the main version so it is
> >>> not wrong even if not sexy.
> >>>
> >>> What we'll do basically when releasing is just merging all to master
> >>> if we keep develop so we just added noise for external guys
> >>>
> >>>
> >>> When you go on github what do you do?
> >>>
> >>> git clone xxxxx
> >>> cd xxxxx
> >>> mvn clean install
> >>>
> >>>
> >>> ...oops for tomee you dont get the snapshot
> >>>
> >>>
> >>>
> >>>
> >>> Romain Manni-Bucau
> >>> @rmannibucau
> >>> http://www.tomitribe.com
> >>> http://rmannibucau.wordpress.com
> >>> https://github.com/rmannibucau
> >>>
> >>>
> >>> 2015-01-28 13:06 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> >>> > Hi,
> >>> >
> >>> > If I get it right...
> >>> >
> >>> > * "origin/master" is just a regular branch, and a branch
> >> represents what
> >>> we
> >>> > want it to be. For the "gitflow", "origin/master"
> >> is our latest release.
> >>> In
> >>> > this case, if someone performs a checkout of master and builds the
> >>> > application from it, she/he will build the 1.7.1 distribution. Note
> >> that
> >>> > currently it points to "2.0.0-SNAPSHOT". So maybe it is not
> >> in good shape
> >>> > because this source code it is not production ready.
> >>> > * "origin/develop" is our tomee 2.0
> >>> > * "origin/tomee-1.7.x" is our tomee 1.7.x
> >>> >
> >>> > If we talk about commands, we would use the following in our
> >> development
> >>> > process [Just tested it to be sure. :) ]...
> >>> >
> >>> > // check out the source code. "origin/master" is the
> >> default. We don't
> >>> > commit to this guy.
> >>> > git clone https://git-wip-us.apache.org/repos/asf/tomee.git
> my_source
> >>> > Cloning into 'my_source'...
> >>> > remote: Counting objects: 236092, done.
> >>> > remote: Compressing objects: 100% (73416/73416), done.
> >>> > remote: Total 236092 (delta 115784), reused 233010 (delta 114168)
> >>> > Receiving objects: 100% (236092/236092), 35.93 MiB | 986 KiB/s,
> done.
> >>> > Resolving deltas: 100% (115784/115784), done.
> >>> >
> >>> > // go to new directory
> >>> > cd my_source
> >>> >
> >>> > // create a local "develop" branch for for tomee 2.0 from
> >>> "origin/develop"
> >>> > git checkout -b develop origin/develop
> >>> > Branch develop set up to track remote branch develop from origin.
> >>> > Switched to a new branch 'develop'
> >>> >
> >>> > // create a local "feature" branch for for tomee 2.0 from
> >> the local
> >>> > "develop"
> >>> > git checkout -b cosmetic develop
> >>> > Switched to a new branch 'cosmetic'
> >>> >
> >>> > // now we work on the tomee 2.0 feature and commit
> >>> > git status
> >>> > git add pom.xml
> >>> > git commit -m "moving end tag up"
> >>> >
> >>> > // ready to merge back to develop
> >>> > git checkout develop
> >>> >
> >>> > // update develop
> >>> > git pull
> >>> >
> >>> > // merge our local branch
> >>> > git merge cosmetic
> >>> > Updating edaf6d2..21ad55b
> >>> > Fast-forward
> >>> > pom.xml | 3 +--
> >>> > 1 file changed, 1 insertion(+), 2 deletions(-)
> >>> >
> >>> > // push to remote develop
> >>> > git push
> >>> >
> >>> > // delete local branch
> >>> > git branch -d cosmetic
> >>> > Deleted branch cosmetic (was 21ad55b).
> >>> >
> >>> > // if we have a new feature, we repeat step from this step...
> >>> > git checkout -b new_feature develop
> >>> > ...
> >>> >
> >>> >
> >>> > Basically, we don't touch "origin/master". Only when we
> >> merge
> >>> > "origin/tomee.1.7.x" (or "origin/develop") back to
> >> it.
> >>> > I don't see a problem. We just need to keep in mind what
> >> "origin/master",
> >>> > "origin/develop" and "origin/tomee.1.7.x"
> >> represent.
> >>> >
> >>> > Is that right?
> >>> >
> >>> > []s,
> >>> > Thiago.
> >>> >
> >>> >
> >>> > On Wed, Jan 28, 2015 at 4:59 AM, Romain Manni-Bucau <
> >>> rmannibucau@gmail.com>
> >>> > wrote:
> >>> >
> >>> >> well it is by design opposed to apache way since if it is used it
> >> is
> >>> >> to have the ability to change commit history - if not it is really
> >>> >> useless.
> >>> >>
> >>> >>
> >>> >> Romain Manni-Bucau
> >>> >> @rmannibucau
> >>> >> http://www.tomitribe.com
> >>> >> http://rmannibucau.wordpress.com
> >>> >> https://github.com/rmannibucau
> >>> >>
> >>> >>
> >>> >> 2015-01-28 10:57 GMT+01:00 Andy Gumbrecht
> >> <ag...@tomitribe.com>:
> >>> >> > I know I set it up this way, but I am really +0 at the
> >> moment. I don't
> >>> >> feel
> >>> >> > any anger towards it though. It is not 'my way',
> >> rather the Gitflow
> >>> way.
> >>> >> >
> >>> >> > I'm not going to push it other than to point to the
> >> description of
> >>> >> Gitflow.
> >>> >> > It's only going to make sense if you use it, and then
> >> really only if
> >>> you
> >>> >> > play release manager, and then only if you are managing both
> >> 1.7.x and
> >>> >> > develop releases.
> >>> >> >
> >>> >> > The scenario is described here in extreme detail -
> >>> >> >
> >>> >>
> >>>
> >>
> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
> >>> >> >
> >>> >> > It just 'looks' future safe to do it that way, and
> >> until the Gitflow
> >>> has
> >>> >> > been tried and tested on the upcoming releases we will not
> >> know. Jon
> >>> >> should
> >>> >> > give us his feedback after the releases are done. And then we
> >> should
> >>> all
> >>> >> > look at the repo. The decision to use it was based on that
> >> description
> >>> >> and
> >>> >> > they guy who 'invented' it -
> >>> >> > http://nvie.com/posts/a-successful-git-branching-model/
> >>> >> >
> >>> >> > I actually don't know what is so painful about using
> >> '-b develop' on
> >>> the
> >>> >> > initial developer checkout? That's it, everything else is
> >> identical.
> >>> As a
> >>> >> > developer it is trivial. Where are the hard line drawbacks to
> >> it other
> >>> >> than
> >>> >> > to say it's crap? Why is is so painful for some? I really
> >> want to
> >>> >> understand
> >>> >> > what is causing the hate?
> >>> >> >
> >>> >> > The simple idea is that 'master' only ever contains
> >> production ready
> >>> >> code,
> >>> >> > that's it. No more no less.
> >>> >> >
> >>> >> > Anyway, if everyone agrees on a way forward then votes on it
> >> then I
> >>> >> really
> >>> >> > am +0, as it is not hard to do it either way.
> >>> >> >
> >>> >> > That doesn't mean:
> >>> >> > -1 It's crap!
> >>> >> >
> >>> >> > That does mean:
> >>> >> > -1 It's crap because.... and I will document 'my
> >> way' for everyone to
> >>> >> follow
> >>> >> > to the letter.
> >>> >> >
> >>> >> > Andy.
> >>> >> >
> >>> >> >
> >>> >> > On 28/01/2015 09:55, Romain Manni-Bucau wrote:
> >>> >> >>
> >>> >> >> hehe feel less alone now, +1
> >>> >> >>
> >>> >> >>
> >>> >> >> Romain Manni-Bucau
> >>> >> >> @rmannibucau
> >>> >> >> http://www.tomitribe.com
> >>> >> >> http://rmannibucau.wordpress.com
> >>> >> >> https://github.com/rmannibucau
> >>> >> >>
> >>> >> >>
> >>> >> >> 2015-01-28 9:53 GMT+01:00 Mark Struberg
> >> <st...@yahoo.de>:
> >>> >> >>>
> >>> >> >>> Hi folks!
> >>> >> >>>
> >>> >> >>> Just noticed that our branch naming schema in GIT is
> >> still
> >>> outerwordly
> >>> >> >>> fucked up.
> >>> >> >>>
> >>> >> >>>
> >>> >> >>>
> >>> >> >>> Why don't we do it as everyone else does?
> >>> >> >>> What does this crap of development branch do?
> >> It's total nonsense to
> >>> >> have
> >>> >> >>> it!
> >>> >> >>>
> >>> >> >>> There is NO RTC for development at whole ASF except
> >> for MAINTENANCE
> >>> >> >>> BRANCHES maybe. All the standard community work is
> >> CTR (Commmit Then
> >>> >> Review)
> >>> >> >>> That's a community wide modus operandi and we
> >> should follow it as
> >>> well.
> >>> >> >>>
> >>> >> >>>
> >>> >> >>> So I for one will totally ignore this development
> >> branch when
> >>> working
> >>> >> on
> >>> >> >>> the TCK in the next days.
> >>> >> >>>
> >>> >> >>> Can we please finally merge in all the good work in
> >> the development
> >>> >> >>> branch to master and delete it finally?
> >>> >> >>>
> >>> >> >>>
> >>> >> >>> LieGrue,
> >>> >> >>> strub
> >>> >> >>
> >>> >> >>
> >>> >> >>
> >>> >> >> --
> >>> >> >> Andy Gumbrecht
> >>> >> >> https://twitter.com/AndyGeeDe
> >>> >> >> http://www.tomitribe.com
> >>> >>
> >>>
> >>
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
@Thiago: if there is a security fixes we'll start from a tag anyway,
not from master
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-01-28 14:23 GMT+01:00 Mark Struberg <st...@yahoo.de>:
> thiago, there is absolutely no sense in all the gitflow stuff. The more I think about it the more I come to the conclusion they never did a big project yet.
>
> Really the ONLY reason for such a workflow is if you have tons of uneducated juniors working on the codebase and trashing your project by committing more bad things than good things. But I hope that is NOT the case for ASF projects...
> Btw, for such projects I'd rather suggest to use gerrit and not gitflow...
>
>
>
> How does it work usually.
>
> 1.) trunk/master is the 'next planned big release'. Most of the work happens there.
>
>
> 2.) For each released version we have a tag. If we need maintenance on those (like we have with 1.7.x then we simply create a maintenance branch for it.
>
> 3.) If there is a need for a hotfix then simply grab the tag of the release and create a branch from it. Then just apply the fixes you really need and no bit more.
>
> That works that way since years and I've never seen any issues.
>
>
> The point is that it doesn't make much sense to do all the work upfront because you _might_ need it. Just do the work IF you need it instead. That's really easy to do with GIT.
>
> LieGrue,
> strub
>
>
>
>
>
>> On Wednesday, 28 January 2015, 14:05, Thiago Veronezi <th...@veronezi.org> wrote:
>> >>> ...oops for tomee you dont get the snapshot
>> I agree. But that's the whole point. We shouldn't get the snapshot from
>> master, according to the "Gitflow". I think it pays off when we have a
>> hotfix like critical security bugs. Instead of rushing all the on-going
>> tasks in order to close them for a new release, we would simply create a
>> hotfix branch out of master, do the fix and merge it to develop and back to
>> master. The link Andy provided has a chart that shows exactly how it would
>> help. See the "hotfixes" line: http://nvie.com/img/git-model@2x.png.
>>
>> If the "pom.xml" file in "origin/master" does not use the
>> "SNAPSHOT", it
>> raises a flag to the developer. "Where the hell are the snapshots?" :)
>> She/he would need to switch to the develop branch.
>>
>> []s,
>> Thiago.
>>
>>
>>
>> On Wed, Jan 28, 2015 at 7:09 AM, Romain Manni-Bucau
>> <rm...@gmail.com>
>> wrote:
>>
>>> was the idea but:
>>> - doesnt make sense @asf
>>> - are we numerous enough to commit to let it get any sense?
>>> - do we want this ability at all?
>>>
>>> IMO we dont
>>>
>>> master = 2.0.0-SNAPSHOT = last version of the main version so it is
>>> not wrong even if not sexy.
>>>
>>> What we'll do basically when releasing is just merging all to master
>>> if we keep develop so we just added noise for external guys
>>>
>>>
>>> When you go on github what do you do?
>>>
>>> git clone xxxxx
>>> cd xxxxx
>>> mvn clean install
>>>
>>>
>>> ...oops for tomee you dont get the snapshot
>>>
>>>
>>>
>>>
>>> Romain Manni-Bucau
>>> @rmannibucau
>>> http://www.tomitribe.com
>>> http://rmannibucau.wordpress.com
>>> https://github.com/rmannibucau
>>>
>>>
>>> 2015-01-28 13:06 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>>> > Hi,
>>> >
>>> > If I get it right...
>>> >
>>> > * "origin/master" is just a regular branch, and a branch
>> represents what
>>> we
>>> > want it to be. For the "gitflow", "origin/master"
>> is our latest release.
>>> In
>>> > this case, if someone performs a checkout of master and builds the
>>> > application from it, she/he will build the 1.7.1 distribution. Note
>> that
>>> > currently it points to "2.0.0-SNAPSHOT". So maybe it is not
>> in good shape
>>> > because this source code it is not production ready.
>>> > * "origin/develop" is our tomee 2.0
>>> > * "origin/tomee-1.7.x" is our tomee 1.7.x
>>> >
>>> > If we talk about commands, we would use the following in our
>> development
>>> > process [Just tested it to be sure. :) ]...
>>> >
>>> > // check out the source code. "origin/master" is the
>> default. We don't
>>> > commit to this guy.
>>> > git clone https://git-wip-us.apache.org/repos/asf/tomee.git my_source
>>> > Cloning into 'my_source'...
>>> > remote: Counting objects: 236092, done.
>>> > remote: Compressing objects: 100% (73416/73416), done.
>>> > remote: Total 236092 (delta 115784), reused 233010 (delta 114168)
>>> > Receiving objects: 100% (236092/236092), 35.93 MiB | 986 KiB/s, done.
>>> > Resolving deltas: 100% (115784/115784), done.
>>> >
>>> > // go to new directory
>>> > cd my_source
>>> >
>>> > // create a local "develop" branch for for tomee 2.0 from
>>> "origin/develop"
>>> > git checkout -b develop origin/develop
>>> > Branch develop set up to track remote branch develop from origin.
>>> > Switched to a new branch 'develop'
>>> >
>>> > // create a local "feature" branch for for tomee 2.0 from
>> the local
>>> > "develop"
>>> > git checkout -b cosmetic develop
>>> > Switched to a new branch 'cosmetic'
>>> >
>>> > // now we work on the tomee 2.0 feature and commit
>>> > git status
>>> > git add pom.xml
>>> > git commit -m "moving end tag up"
>>> >
>>> > // ready to merge back to develop
>>> > git checkout develop
>>> >
>>> > // update develop
>>> > git pull
>>> >
>>> > // merge our local branch
>>> > git merge cosmetic
>>> > Updating edaf6d2..21ad55b
>>> > Fast-forward
>>> > pom.xml | 3 +--
>>> > 1 file changed, 1 insertion(+), 2 deletions(-)
>>> >
>>> > // push to remote develop
>>> > git push
>>> >
>>> > // delete local branch
>>> > git branch -d cosmetic
>>> > Deleted branch cosmetic (was 21ad55b).
>>> >
>>> > // if we have a new feature, we repeat step from this step...
>>> > git checkout -b new_feature develop
>>> > ...
>>> >
>>> >
>>> > Basically, we don't touch "origin/master". Only when we
>> merge
>>> > "origin/tomee.1.7.x" (or "origin/develop") back to
>> it.
>>> > I don't see a problem. We just need to keep in mind what
>> "origin/master",
>>> > "origin/develop" and "origin/tomee.1.7.x"
>> represent.
>>> >
>>> > Is that right?
>>> >
>>> > []s,
>>> > Thiago.
>>> >
>>> >
>>> > On Wed, Jan 28, 2015 at 4:59 AM, Romain Manni-Bucau <
>>> rmannibucau@gmail.com>
>>> > wrote:
>>> >
>>> >> well it is by design opposed to apache way since if it is used it
>> is
>>> >> to have the ability to change commit history - if not it is really
>>> >> useless.
>>> >>
>>> >>
>>> >> Romain Manni-Bucau
>>> >> @rmannibucau
>>> >> http://www.tomitribe.com
>>> >> http://rmannibucau.wordpress.com
>>> >> https://github.com/rmannibucau
>>> >>
>>> >>
>>> >> 2015-01-28 10:57 GMT+01:00 Andy Gumbrecht
>> <ag...@tomitribe.com>:
>>> >> > I know I set it up this way, but I am really +0 at the
>> moment. I don't
>>> >> feel
>>> >> > any anger towards it though. It is not 'my way',
>> rather the Gitflow
>>> way.
>>> >> >
>>> >> > I'm not going to push it other than to point to the
>> description of
>>> >> Gitflow.
>>> >> > It's only going to make sense if you use it, and then
>> really only if
>>> you
>>> >> > play release manager, and then only if you are managing both
>> 1.7.x and
>>> >> > develop releases.
>>> >> >
>>> >> > The scenario is described here in extreme detail -
>>> >> >
>>> >>
>>>
>> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
>>> >> >
>>> >> > It just 'looks' future safe to do it that way, and
>> until the Gitflow
>>> has
>>> >> > been tried and tested on the upcoming releases we will not
>> know. Jon
>>> >> should
>>> >> > give us his feedback after the releases are done. And then we
>> should
>>> all
>>> >> > look at the repo. The decision to use it was based on that
>> description
>>> >> and
>>> >> > they guy who 'invented' it -
>>> >> > http://nvie.com/posts/a-successful-git-branching-model/
>>> >> >
>>> >> > I actually don't know what is so painful about using
>> '-b develop' on
>>> the
>>> >> > initial developer checkout? That's it, everything else is
>> identical.
>>> As a
>>> >> > developer it is trivial. Where are the hard line drawbacks to
>> it other
>>> >> than
>>> >> > to say it's crap? Why is is so painful for some? I really
>> want to
>>> >> understand
>>> >> > what is causing the hate?
>>> >> >
>>> >> > The simple idea is that 'master' only ever contains
>> production ready
>>> >> code,
>>> >> > that's it. No more no less.
>>> >> >
>>> >> > Anyway, if everyone agrees on a way forward then votes on it
>> then I
>>> >> really
>>> >> > am +0, as it is not hard to do it either way.
>>> >> >
>>> >> > That doesn't mean:
>>> >> > -1 It's crap!
>>> >> >
>>> >> > That does mean:
>>> >> > -1 It's crap because.... and I will document 'my
>> way' for everyone to
>>> >> follow
>>> >> > to the letter.
>>> >> >
>>> >> > Andy.
>>> >> >
>>> >> >
>>> >> > On 28/01/2015 09:55, Romain Manni-Bucau wrote:
>>> >> >>
>>> >> >> hehe feel less alone now, +1
>>> >> >>
>>> >> >>
>>> >> >> Romain Manni-Bucau
>>> >> >> @rmannibucau
>>> >> >> http://www.tomitribe.com
>>> >> >> http://rmannibucau.wordpress.com
>>> >> >> https://github.com/rmannibucau
>>> >> >>
>>> >> >>
>>> >> >> 2015-01-28 9:53 GMT+01:00 Mark Struberg
>> <st...@yahoo.de>:
>>> >> >>>
>>> >> >>> Hi folks!
>>> >> >>>
>>> >> >>> Just noticed that our branch naming schema in GIT is
>> still
>>> outerwordly
>>> >> >>> fucked up.
>>> >> >>>
>>> >> >>>
>>> >> >>>
>>> >> >>> Why don't we do it as everyone else does?
>>> >> >>> What does this crap of development branch do?
>> It's total nonsense to
>>> >> have
>>> >> >>> it!
>>> >> >>>
>>> >> >>> There is NO RTC for development at whole ASF except
>> for MAINTENANCE
>>> >> >>> BRANCHES maybe. All the standard community work is
>> CTR (Commmit Then
>>> >> Review)
>>> >> >>> That's a community wide modus operandi and we
>> should follow it as
>>> well.
>>> >> >>>
>>> >> >>>
>>> >> >>> So I for one will totally ignore this development
>> branch when
>>> working
>>> >> on
>>> >> >>> the TCK in the next days.
>>> >> >>>
>>> >> >>> Can we please finally merge in all the good work in
>> the development
>>> >> >>> branch to master and delete it finally?
>>> >> >>>
>>> >> >>>
>>> >> >>> LieGrue,
>>> >> >>> strub
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> --
>>> >> >> Andy Gumbrecht
>>> >> >> https://twitter.com/AndyGeeDe
>>> >> >> http://www.tomitribe.com
>>> >>
>>>
>>
Re: what is which branch up for?
Posted by Mark Struberg <st...@yahoo.de>.
thiago, there is absolutely no sense in all the gitflow stuff. The more I think about it the more I come to the conclusion they never did a big project yet.
Really the ONLY reason for such a workflow is if you have tons of uneducated juniors working on the codebase and trashing your project by committing more bad things than good things. But I hope that is NOT the case for ASF projects...
Btw, for such projects I'd rather suggest to use gerrit and not gitflow...
How does it work usually.
1.) trunk/master is the 'next planned big release'. Most of the work happens there.
2.) For each released version we have a tag. If we need maintenance on those (like we have with 1.7.x then we simply create a maintenance branch for it.
3.) If there is a need for a hotfix then simply grab the tag of the release and create a branch from it. Then just apply the fixes you really need and no bit more.
That works that way since years and I've never seen any issues.
The point is that it doesn't make much sense to do all the work upfront because you _might_ need it. Just do the work IF you need it instead. That's really easy to do with GIT.
LieGrue,
strub
> On Wednesday, 28 January 2015, 14:05, Thiago Veronezi <th...@veronezi.org> wrote:
> >>> ...oops for tomee you dont get the snapshot
> I agree. But that's the whole point. We shouldn't get the snapshot from
> master, according to the "Gitflow". I think it pays off when we have a
> hotfix like critical security bugs. Instead of rushing all the on-going
> tasks in order to close them for a new release, we would simply create a
> hotfix branch out of master, do the fix and merge it to develop and back to
> master. The link Andy provided has a chart that shows exactly how it would
> help. See the "hotfixes" line: http://nvie.com/img/git-model@2x.png.
>
> If the "pom.xml" file in "origin/master" does not use the
> "SNAPSHOT", it
> raises a flag to the developer. "Where the hell are the snapshots?" :)
> She/he would need to switch to the develop branch.
>
> []s,
> Thiago.
>
>
>
> On Wed, Jan 28, 2015 at 7:09 AM, Romain Manni-Bucau
> <rm...@gmail.com>
> wrote:
>
>> was the idea but:
>> - doesnt make sense @asf
>> - are we numerous enough to commit to let it get any sense?
>> - do we want this ability at all?
>>
>> IMO we dont
>>
>> master = 2.0.0-SNAPSHOT = last version of the main version so it is
>> not wrong even if not sexy.
>>
>> What we'll do basically when releasing is just merging all to master
>> if we keep develop so we just added noise for external guys
>>
>>
>> When you go on github what do you do?
>>
>> git clone xxxxx
>> cd xxxxx
>> mvn clean install
>>
>>
>> ...oops for tomee you dont get the snapshot
>>
>>
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2015-01-28 13:06 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
>> > Hi,
>> >
>> > If I get it right...
>> >
>> > * "origin/master" is just a regular branch, and a branch
> represents what
>> we
>> > want it to be. For the "gitflow", "origin/master"
> is our latest release.
>> In
>> > this case, if someone performs a checkout of master and builds the
>> > application from it, she/he will build the 1.7.1 distribution. Note
> that
>> > currently it points to "2.0.0-SNAPSHOT". So maybe it is not
> in good shape
>> > because this source code it is not production ready.
>> > * "origin/develop" is our tomee 2.0
>> > * "origin/tomee-1.7.x" is our tomee 1.7.x
>> >
>> > If we talk about commands, we would use the following in our
> development
>> > process [Just tested it to be sure. :) ]...
>> >
>> > // check out the source code. "origin/master" is the
> default. We don't
>> > commit to this guy.
>> > git clone https://git-wip-us.apache.org/repos/asf/tomee.git my_source
>> > Cloning into 'my_source'...
>> > remote: Counting objects: 236092, done.
>> > remote: Compressing objects: 100% (73416/73416), done.
>> > remote: Total 236092 (delta 115784), reused 233010 (delta 114168)
>> > Receiving objects: 100% (236092/236092), 35.93 MiB | 986 KiB/s, done.
>> > Resolving deltas: 100% (115784/115784), done.
>> >
>> > // go to new directory
>> > cd my_source
>> >
>> > // create a local "develop" branch for for tomee 2.0 from
>> "origin/develop"
>> > git checkout -b develop origin/develop
>> > Branch develop set up to track remote branch develop from origin.
>> > Switched to a new branch 'develop'
>> >
>> > // create a local "feature" branch for for tomee 2.0 from
> the local
>> > "develop"
>> > git checkout -b cosmetic develop
>> > Switched to a new branch 'cosmetic'
>> >
>> > // now we work on the tomee 2.0 feature and commit
>> > git status
>> > git add pom.xml
>> > git commit -m "moving end tag up"
>> >
>> > // ready to merge back to develop
>> > git checkout develop
>> >
>> > // update develop
>> > git pull
>> >
>> > // merge our local branch
>> > git merge cosmetic
>> > Updating edaf6d2..21ad55b
>> > Fast-forward
>> > pom.xml | 3 +--
>> > 1 file changed, 1 insertion(+), 2 deletions(-)
>> >
>> > // push to remote develop
>> > git push
>> >
>> > // delete local branch
>> > git branch -d cosmetic
>> > Deleted branch cosmetic (was 21ad55b).
>> >
>> > // if we have a new feature, we repeat step from this step...
>> > git checkout -b new_feature develop
>> > ...
>> >
>> >
>> > Basically, we don't touch "origin/master". Only when we
> merge
>> > "origin/tomee.1.7.x" (or "origin/develop") back to
> it.
>> > I don't see a problem. We just need to keep in mind what
> "origin/master",
>> > "origin/develop" and "origin/tomee.1.7.x"
> represent.
>> >
>> > Is that right?
>> >
>> > []s,
>> > Thiago.
>> >
>> >
>> > On Wed, Jan 28, 2015 at 4:59 AM, Romain Manni-Bucau <
>> rmannibucau@gmail.com>
>> > wrote:
>> >
>> >> well it is by design opposed to apache way since if it is used it
> is
>> >> to have the ability to change commit history - if not it is really
>> >> useless.
>> >>
>> >>
>> >> Romain Manni-Bucau
>> >> @rmannibucau
>> >> http://www.tomitribe.com
>> >> http://rmannibucau.wordpress.com
>> >> https://github.com/rmannibucau
>> >>
>> >>
>> >> 2015-01-28 10:57 GMT+01:00 Andy Gumbrecht
> <ag...@tomitribe.com>:
>> >> > I know I set it up this way, but I am really +0 at the
> moment. I don't
>> >> feel
>> >> > any anger towards it though. It is not 'my way',
> rather the Gitflow
>> way.
>> >> >
>> >> > I'm not going to push it other than to point to the
> description of
>> >> Gitflow.
>> >> > It's only going to make sense if you use it, and then
> really only if
>> you
>> >> > play release manager, and then only if you are managing both
> 1.7.x and
>> >> > develop releases.
>> >> >
>> >> > The scenario is described here in extreme detail -
>> >> >
>> >>
>>
> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
>> >> >
>> >> > It just 'looks' future safe to do it that way, and
> until the Gitflow
>> has
>> >> > been tried and tested on the upcoming releases we will not
> know. Jon
>> >> should
>> >> > give us his feedback after the releases are done. And then we
> should
>> all
>> >> > look at the repo. The decision to use it was based on that
> description
>> >> and
>> >> > they guy who 'invented' it -
>> >> > http://nvie.com/posts/a-successful-git-branching-model/
>> >> >
>> >> > I actually don't know what is so painful about using
> '-b develop' on
>> the
>> >> > initial developer checkout? That's it, everything else is
> identical.
>> As a
>> >> > developer it is trivial. Where are the hard line drawbacks to
> it other
>> >> than
>> >> > to say it's crap? Why is is so painful for some? I really
> want to
>> >> understand
>> >> > what is causing the hate?
>> >> >
>> >> > The simple idea is that 'master' only ever contains
> production ready
>> >> code,
>> >> > that's it. No more no less.
>> >> >
>> >> > Anyway, if everyone agrees on a way forward then votes on it
> then I
>> >> really
>> >> > am +0, as it is not hard to do it either way.
>> >> >
>> >> > That doesn't mean:
>> >> > -1 It's crap!
>> >> >
>> >> > That does mean:
>> >> > -1 It's crap because.... and I will document 'my
> way' for everyone to
>> >> follow
>> >> > to the letter.
>> >> >
>> >> > Andy.
>> >> >
>> >> >
>> >> > On 28/01/2015 09:55, Romain Manni-Bucau wrote:
>> >> >>
>> >> >> hehe feel less alone now, +1
>> >> >>
>> >> >>
>> >> >> Romain Manni-Bucau
>> >> >> @rmannibucau
>> >> >> http://www.tomitribe.com
>> >> >> http://rmannibucau.wordpress.com
>> >> >> https://github.com/rmannibucau
>> >> >>
>> >> >>
>> >> >> 2015-01-28 9:53 GMT+01:00 Mark Struberg
> <st...@yahoo.de>:
>> >> >>>
>> >> >>> Hi folks!
>> >> >>>
>> >> >>> Just noticed that our branch naming schema in GIT is
> still
>> outerwordly
>> >> >>> fucked up.
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> Why don't we do it as everyone else does?
>> >> >>> What does this crap of development branch do?
> It's total nonsense to
>> >> have
>> >> >>> it!
>> >> >>>
>> >> >>> There is NO RTC for development at whole ASF except
> for MAINTENANCE
>> >> >>> BRANCHES maybe. All the standard community work is
> CTR (Commmit Then
>> >> Review)
>> >> >>> That's a community wide modus operandi and we
> should follow it as
>> well.
>> >> >>>
>> >> >>>
>> >> >>> So I for one will totally ignore this development
> branch when
>> working
>> >> on
>> >> >>> the TCK in the next days.
>> >> >>>
>> >> >>> Can we please finally merge in all the good work in
> the development
>> >> >>> branch to master and delete it finally?
>> >> >>>
>> >> >>>
>> >> >>> LieGrue,
>> >> >>> strub
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Andy Gumbrecht
>> >> >> https://twitter.com/AndyGeeDe
>> >> >> http://www.tomitribe.com
>> >>
>>
>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
>>...oops for tomee you dont get the snapshot
I agree. But that's the whole point. We shouldn't get the snapshot from
master, according to the "Gitflow". I think it pays off when we have a
hotfix like critical security bugs. Instead of rushing all the on-going
tasks in order to close them for a new release, we would simply create a
hotfix branch out of master, do the fix and merge it to develop and back to
master. The link Andy provided has a chart that shows exactly how it would
help. See the "hotfixes" line: http://nvie.com/img/git-model@2x.png.
If the "pom.xml" file in "origin/master" does not use the "SNAPSHOT", it
raises a flag to the developer. "Where the hell are the snapshots?" :)
She/he would need to switch to the develop branch.
[]s,
Thiago.
On Wed, Jan 28, 2015 at 7:09 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> was the idea but:
> - doesnt make sense @asf
> - are we numerous enough to commit to let it get any sense?
> - do we want this ability at all?
>
> IMO we dont
>
> master = 2.0.0-SNAPSHOT = last version of the main version so it is
> not wrong even if not sexy.
>
> What we'll do basically when releasing is just merging all to master
> if we keep develop so we just added noise for external guys
>
>
> When you go on github what do you do?
>
> git clone xxxxx
> cd xxxxx
> mvn clean install
>
>
> ...oops for tomee you dont get the snapshot
>
>
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2015-01-28 13:06 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> > Hi,
> >
> > If I get it right...
> >
> > * "origin/master" is just a regular branch, and a branch represents what
> we
> > want it to be. For the "gitflow", "origin/master" is our latest release.
> In
> > this case, if someone performs a checkout of master and builds the
> > application from it, she/he will build the 1.7.1 distribution. Note that
> > currently it points to "2.0.0-SNAPSHOT". So maybe it is not in good shape
> > because this source code it is not production ready.
> > * "origin/develop" is our tomee 2.0
> > * "origin/tomee-1.7.x" is our tomee 1.7.x
> >
> > If we talk about commands, we would use the following in our development
> > process [Just tested it to be sure. :) ]...
> >
> > // check out the source code. "origin/master" is the default. We don't
> > commit to this guy.
> > git clone https://git-wip-us.apache.org/repos/asf/tomee.git my_source
> > Cloning into 'my_source'...
> > remote: Counting objects: 236092, done.
> > remote: Compressing objects: 100% (73416/73416), done.
> > remote: Total 236092 (delta 115784), reused 233010 (delta 114168)
> > Receiving objects: 100% (236092/236092), 35.93 MiB | 986 KiB/s, done.
> > Resolving deltas: 100% (115784/115784), done.
> >
> > // go to new directory
> > cd my_source
> >
> > // create a local "develop" branch for for tomee 2.0 from
> "origin/develop"
> > git checkout -b develop origin/develop
> > Branch develop set up to track remote branch develop from origin.
> > Switched to a new branch 'develop'
> >
> > // create a local "feature" branch for for tomee 2.0 from the local
> > "develop"
> > git checkout -b cosmetic develop
> > Switched to a new branch 'cosmetic'
> >
> > // now we work on the tomee 2.0 feature and commit
> > git status
> > git add pom.xml
> > git commit -m "moving end tag up"
> >
> > // ready to merge back to develop
> > git checkout develop
> >
> > // update develop
> > git pull
> >
> > // merge our local branch
> > git merge cosmetic
> > Updating edaf6d2..21ad55b
> > Fast-forward
> > pom.xml | 3 +--
> > 1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > // push to remote develop
> > git push
> >
> > // delete local branch
> > git branch -d cosmetic
> > Deleted branch cosmetic (was 21ad55b).
> >
> > // if we have a new feature, we repeat step from this step...
> > git checkout -b new_feature develop
> > ...
> >
> >
> > Basically, we don't touch "origin/master". Only when we merge
> > "origin/tomee.1.7.x" (or "origin/develop") back to it.
> > I don't see a problem. We just need to keep in mind what "origin/master",
> > "origin/develop" and "origin/tomee.1.7.x" represent.
> >
> > Is that right?
> >
> > []s,
> > Thiago.
> >
> >
> > On Wed, Jan 28, 2015 at 4:59 AM, Romain Manni-Bucau <
> rmannibucau@gmail.com>
> > wrote:
> >
> >> well it is by design opposed to apache way since if it is used it is
> >> to have the ability to change commit history - if not it is really
> >> useless.
> >>
> >>
> >> Romain Manni-Bucau
> >> @rmannibucau
> >> http://www.tomitribe.com
> >> http://rmannibucau.wordpress.com
> >> https://github.com/rmannibucau
> >>
> >>
> >> 2015-01-28 10:57 GMT+01:00 Andy Gumbrecht <ag...@tomitribe.com>:
> >> > I know I set it up this way, but I am really +0 at the moment. I don't
> >> feel
> >> > any anger towards it though. It is not 'my way', rather the Gitflow
> way.
> >> >
> >> > I'm not going to push it other than to point to the description of
> >> Gitflow.
> >> > It's only going to make sense if you use it, and then really only if
> you
> >> > play release manager, and then only if you are managing both 1.7.x and
> >> > develop releases.
> >> >
> >> > The scenario is described here in extreme detail -
> >> >
> >>
> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
> >> >
> >> > It just 'looks' future safe to do it that way, and until the Gitflow
> has
> >> > been tried and tested on the upcoming releases we will not know. Jon
> >> should
> >> > give us his feedback after the releases are done. And then we should
> all
> >> > look at the repo. The decision to use it was based on that description
> >> and
> >> > they guy who 'invented' it -
> >> > http://nvie.com/posts/a-successful-git-branching-model/
> >> >
> >> > I actually don't know what is so painful about using '-b develop' on
> the
> >> > initial developer checkout? That's it, everything else is identical.
> As a
> >> > developer it is trivial. Where are the hard line drawbacks to it other
> >> than
> >> > to say it's crap? Why is is so painful for some? I really want to
> >> understand
> >> > what is causing the hate?
> >> >
> >> > The simple idea is that 'master' only ever contains production ready
> >> code,
> >> > that's it. No more no less.
> >> >
> >> > Anyway, if everyone agrees on a way forward then votes on it then I
> >> really
> >> > am +0, as it is not hard to do it either way.
> >> >
> >> > That doesn't mean:
> >> > -1 It's crap!
> >> >
> >> > That does mean:
> >> > -1 It's crap because.... and I will document 'my way' for everyone to
> >> follow
> >> > to the letter.
> >> >
> >> > Andy.
> >> >
> >> >
> >> > On 28/01/2015 09:55, Romain Manni-Bucau wrote:
> >> >>
> >> >> hehe feel less alone now, +1
> >> >>
> >> >>
> >> >> Romain Manni-Bucau
> >> >> @rmannibucau
> >> >> http://www.tomitribe.com
> >> >> http://rmannibucau.wordpress.com
> >> >> https://github.com/rmannibucau
> >> >>
> >> >>
> >> >> 2015-01-28 9:53 GMT+01:00 Mark Struberg <st...@yahoo.de>:
> >> >>>
> >> >>> Hi folks!
> >> >>>
> >> >>> Just noticed that our branch naming schema in GIT is still
> outerwordly
> >> >>> fucked up.
> >> >>>
> >> >>>
> >> >>>
> >> >>> Why don't we do it as everyone else does?
> >> >>> What does this crap of development branch do? It's total nonsense to
> >> have
> >> >>> it!
> >> >>>
> >> >>> There is NO RTC for development at whole ASF except for MAINTENANCE
> >> >>> BRANCHES maybe. All the standard community work is CTR (Commmit Then
> >> Review)
> >> >>> That's a community wide modus operandi and we should follow it as
> well.
> >> >>>
> >> >>>
> >> >>> So I for one will totally ignore this development branch when
> working
> >> on
> >> >>> the TCK in the next days.
> >> >>>
> >> >>> Can we please finally merge in all the good work in the development
> >> >>> branch to master and delete it finally?
> >> >>>
> >> >>>
> >> >>> LieGrue,
> >> >>> strub
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Andy Gumbrecht
> >> >> https://twitter.com/AndyGeeDe
> >> >> http://www.tomitribe.com
> >>
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
was the idea but:
- doesnt make sense @asf
- are we numerous enough to commit to let it get any sense?
- do we want this ability at all?
IMO we dont
master = 2.0.0-SNAPSHOT = last version of the main version so it is
not wrong even if not sexy.
What we'll do basically when releasing is just merging all to master
if we keep develop so we just added noise for external guys
When you go on github what do you do?
git clone xxxxx
cd xxxxx
mvn clean install
...oops for tomee you dont get the snapshot
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-01-28 13:06 GMT+01:00 Thiago Veronezi <th...@veronezi.org>:
> Hi,
>
> If I get it right...
>
> * "origin/master" is just a regular branch, and a branch represents what we
> want it to be. For the "gitflow", "origin/master" is our latest release. In
> this case, if someone performs a checkout of master and builds the
> application from it, she/he will build the 1.7.1 distribution. Note that
> currently it points to "2.0.0-SNAPSHOT". So maybe it is not in good shape
> because this source code it is not production ready.
> * "origin/develop" is our tomee 2.0
> * "origin/tomee-1.7.x" is our tomee 1.7.x
>
> If we talk about commands, we would use the following in our development
> process [Just tested it to be sure. :) ]...
>
> // check out the source code. "origin/master" is the default. We don't
> commit to this guy.
> git clone https://git-wip-us.apache.org/repos/asf/tomee.git my_source
> Cloning into 'my_source'...
> remote: Counting objects: 236092, done.
> remote: Compressing objects: 100% (73416/73416), done.
> remote: Total 236092 (delta 115784), reused 233010 (delta 114168)
> Receiving objects: 100% (236092/236092), 35.93 MiB | 986 KiB/s, done.
> Resolving deltas: 100% (115784/115784), done.
>
> // go to new directory
> cd my_source
>
> // create a local "develop" branch for for tomee 2.0 from "origin/develop"
> git checkout -b develop origin/develop
> Branch develop set up to track remote branch develop from origin.
> Switched to a new branch 'develop'
>
> // create a local "feature" branch for for tomee 2.0 from the local
> "develop"
> git checkout -b cosmetic develop
> Switched to a new branch 'cosmetic'
>
> // now we work on the tomee 2.0 feature and commit
> git status
> git add pom.xml
> git commit -m "moving end tag up"
>
> // ready to merge back to develop
> git checkout develop
>
> // update develop
> git pull
>
> // merge our local branch
> git merge cosmetic
> Updating edaf6d2..21ad55b
> Fast-forward
> pom.xml | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> // push to remote develop
> git push
>
> // delete local branch
> git branch -d cosmetic
> Deleted branch cosmetic (was 21ad55b).
>
> // if we have a new feature, we repeat step from this step...
> git checkout -b new_feature develop
> ...
>
>
> Basically, we don't touch "origin/master". Only when we merge
> "origin/tomee.1.7.x" (or "origin/develop") back to it.
> I don't see a problem. We just need to keep in mind what "origin/master",
> "origin/develop" and "origin/tomee.1.7.x" represent.
>
> Is that right?
>
> []s,
> Thiago.
>
>
> On Wed, Jan 28, 2015 at 4:59 AM, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
>
>> well it is by design opposed to apache way since if it is used it is
>> to have the ability to change commit history - if not it is really
>> useless.
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2015-01-28 10:57 GMT+01:00 Andy Gumbrecht <ag...@tomitribe.com>:
>> > I know I set it up this way, but I am really +0 at the moment. I don't
>> feel
>> > any anger towards it though. It is not 'my way', rather the Gitflow way.
>> >
>> > I'm not going to push it other than to point to the description of
>> Gitflow.
>> > It's only going to make sense if you use it, and then really only if you
>> > play release manager, and then only if you are managing both 1.7.x and
>> > develop releases.
>> >
>> > The scenario is described here in extreme detail -
>> >
>> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
>> >
>> > It just 'looks' future safe to do it that way, and until the Gitflow has
>> > been tried and tested on the upcoming releases we will not know. Jon
>> should
>> > give us his feedback after the releases are done. And then we should all
>> > look at the repo. The decision to use it was based on that description
>> and
>> > they guy who 'invented' it -
>> > http://nvie.com/posts/a-successful-git-branching-model/
>> >
>> > I actually don't know what is so painful about using '-b develop' on the
>> > initial developer checkout? That's it, everything else is identical. As a
>> > developer it is trivial. Where are the hard line drawbacks to it other
>> than
>> > to say it's crap? Why is is so painful for some? I really want to
>> understand
>> > what is causing the hate?
>> >
>> > The simple idea is that 'master' only ever contains production ready
>> code,
>> > that's it. No more no less.
>> >
>> > Anyway, if everyone agrees on a way forward then votes on it then I
>> really
>> > am +0, as it is not hard to do it either way.
>> >
>> > That doesn't mean:
>> > -1 It's crap!
>> >
>> > That does mean:
>> > -1 It's crap because.... and I will document 'my way' for everyone to
>> follow
>> > to the letter.
>> >
>> > Andy.
>> >
>> >
>> > On 28/01/2015 09:55, Romain Manni-Bucau wrote:
>> >>
>> >> hehe feel less alone now, +1
>> >>
>> >>
>> >> Romain Manni-Bucau
>> >> @rmannibucau
>> >> http://www.tomitribe.com
>> >> http://rmannibucau.wordpress.com
>> >> https://github.com/rmannibucau
>> >>
>> >>
>> >> 2015-01-28 9:53 GMT+01:00 Mark Struberg <st...@yahoo.de>:
>> >>>
>> >>> Hi folks!
>> >>>
>> >>> Just noticed that our branch naming schema in GIT is still outerwordly
>> >>> fucked up.
>> >>>
>> >>>
>> >>>
>> >>> Why don't we do it as everyone else does?
>> >>> What does this crap of development branch do? It's total nonsense to
>> have
>> >>> it!
>> >>>
>> >>> There is NO RTC for development at whole ASF except for MAINTENANCE
>> >>> BRANCHES maybe. All the standard community work is CTR (Commmit Then
>> Review)
>> >>> That's a community wide modus operandi and we should follow it as well.
>> >>>
>> >>>
>> >>> So I for one will totally ignore this development branch when working
>> on
>> >>> the TCK in the next days.
>> >>>
>> >>> Can we please finally merge in all the good work in the development
>> >>> branch to master and delete it finally?
>> >>>
>> >>>
>> >>> LieGrue,
>> >>> strub
>> >>
>> >>
>> >>
>> >> --
>> >> Andy Gumbrecht
>> >> https://twitter.com/AndyGeeDe
>> >> http://www.tomitribe.com
>>
Re: what is which branch up for?
Posted by Thiago Veronezi <th...@veronezi.org>.
Hi,
If I get it right...
* "origin/master" is just a regular branch, and a branch represents what we
want it to be. For the "gitflow", "origin/master" is our latest release. In
this case, if someone performs a checkout of master and builds the
application from it, she/he will build the 1.7.1 distribution. Note that
currently it points to "2.0.0-SNAPSHOT". So maybe it is not in good shape
because this source code it is not production ready.
* "origin/develop" is our tomee 2.0
* "origin/tomee-1.7.x" is our tomee 1.7.x
If we talk about commands, we would use the following in our development
process [Just tested it to be sure. :) ]...
// check out the source code. "origin/master" is the default. We don't
commit to this guy.
git clone https://git-wip-us.apache.org/repos/asf/tomee.git my_source
Cloning into 'my_source'...
remote: Counting objects: 236092, done.
remote: Compressing objects: 100% (73416/73416), done.
remote: Total 236092 (delta 115784), reused 233010 (delta 114168)
Receiving objects: 100% (236092/236092), 35.93 MiB | 986 KiB/s, done.
Resolving deltas: 100% (115784/115784), done.
// go to new directory
cd my_source
// create a local "develop" branch for for tomee 2.0 from "origin/develop"
git checkout -b develop origin/develop
Branch develop set up to track remote branch develop from origin.
Switched to a new branch 'develop'
// create a local "feature" branch for for tomee 2.0 from the local
"develop"
git checkout -b cosmetic develop
Switched to a new branch 'cosmetic'
// now we work on the tomee 2.0 feature and commit
git status
git add pom.xml
git commit -m "moving end tag up"
// ready to merge back to develop
git checkout develop
// update develop
git pull
// merge our local branch
git merge cosmetic
Updating edaf6d2..21ad55b
Fast-forward
pom.xml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
// push to remote develop
git push
// delete local branch
git branch -d cosmetic
Deleted branch cosmetic (was 21ad55b).
// if we have a new feature, we repeat step from this step...
git checkout -b new_feature develop
...
Basically, we don't touch "origin/master". Only when we merge
"origin/tomee.1.7.x" (or "origin/develop") back to it.
I don't see a problem. We just need to keep in mind what "origin/master",
"origin/develop" and "origin/tomee.1.7.x" represent.
Is that right?
[]s,
Thiago.
On Wed, Jan 28, 2015 at 4:59 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> well it is by design opposed to apache way since if it is used it is
> to have the ability to change commit history - if not it is really
> useless.
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2015-01-28 10:57 GMT+01:00 Andy Gumbrecht <ag...@tomitribe.com>:
> > I know I set it up this way, but I am really +0 at the moment. I don't
> feel
> > any anger towards it though. It is not 'my way', rather the Gitflow way.
> >
> > I'm not going to push it other than to point to the description of
> Gitflow.
> > It's only going to make sense if you use it, and then really only if you
> > play release manager, and then only if you are managing both 1.7.x and
> > develop releases.
> >
> > The scenario is described here in extreme detail -
> >
> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
> >
> > It just 'looks' future safe to do it that way, and until the Gitflow has
> > been tried and tested on the upcoming releases we will not know. Jon
> should
> > give us his feedback after the releases are done. And then we should all
> > look at the repo. The decision to use it was based on that description
> and
> > they guy who 'invented' it -
> > http://nvie.com/posts/a-successful-git-branching-model/
> >
> > I actually don't know what is so painful about using '-b develop' on the
> > initial developer checkout? That's it, everything else is identical. As a
> > developer it is trivial. Where are the hard line drawbacks to it other
> than
> > to say it's crap? Why is is so painful for some? I really want to
> understand
> > what is causing the hate?
> >
> > The simple idea is that 'master' only ever contains production ready
> code,
> > that's it. No more no less.
> >
> > Anyway, if everyone agrees on a way forward then votes on it then I
> really
> > am +0, as it is not hard to do it either way.
> >
> > That doesn't mean:
> > -1 It's crap!
> >
> > That does mean:
> > -1 It's crap because.... and I will document 'my way' for everyone to
> follow
> > to the letter.
> >
> > Andy.
> >
> >
> > On 28/01/2015 09:55, Romain Manni-Bucau wrote:
> >>
> >> hehe feel less alone now, +1
> >>
> >>
> >> Romain Manni-Bucau
> >> @rmannibucau
> >> http://www.tomitribe.com
> >> http://rmannibucau.wordpress.com
> >> https://github.com/rmannibucau
> >>
> >>
> >> 2015-01-28 9:53 GMT+01:00 Mark Struberg <st...@yahoo.de>:
> >>>
> >>> Hi folks!
> >>>
> >>> Just noticed that our branch naming schema in GIT is still outerwordly
> >>> fucked up.
> >>>
> >>>
> >>>
> >>> Why don't we do it as everyone else does?
> >>> What does this crap of development branch do? It's total nonsense to
> have
> >>> it!
> >>>
> >>> There is NO RTC for development at whole ASF except for MAINTENANCE
> >>> BRANCHES maybe. All the standard community work is CTR (Commmit Then
> Review)
> >>> That's a community wide modus operandi and we should follow it as well.
> >>>
> >>>
> >>> So I for one will totally ignore this development branch when working
> on
> >>> the TCK in the next days.
> >>>
> >>> Can we please finally merge in all the good work in the development
> >>> branch to master and delete it finally?
> >>>
> >>>
> >>> LieGrue,
> >>> strub
> >>
> >>
> >>
> >> --
> >> Andy Gumbrecht
> >> https://twitter.com/AndyGeeDe
> >> http://www.tomitribe.com
>
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
well it is by design opposed to apache way since if it is used it is
to have the ability to change commit history - if not it is really
useless.
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-01-28 10:57 GMT+01:00 Andy Gumbrecht <ag...@tomitribe.com>:
> I know I set it up this way, but I am really +0 at the moment. I don't feel
> any anger towards it though. It is not 'my way', rather the Gitflow way.
>
> I'm not going to push it other than to point to the description of Gitflow.
> It's only going to make sense if you use it, and then really only if you
> play release manager, and then only if you are managing both 1.7.x and
> develop releases.
>
> The scenario is described here in extreme detail -
> https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
>
> It just 'looks' future safe to do it that way, and until the Gitflow has
> been tried and tested on the upcoming releases we will not know. Jon should
> give us his feedback after the releases are done. And then we should all
> look at the repo. The decision to use it was based on that description and
> they guy who 'invented' it -
> http://nvie.com/posts/a-successful-git-branching-model/
>
> I actually don't know what is so painful about using '-b develop' on the
> initial developer checkout? That's it, everything else is identical. As a
> developer it is trivial. Where are the hard line drawbacks to it other than
> to say it's crap? Why is is so painful for some? I really want to understand
> what is causing the hate?
>
> The simple idea is that 'master' only ever contains production ready code,
> that's it. No more no less.
>
> Anyway, if everyone agrees on a way forward then votes on it then I really
> am +0, as it is not hard to do it either way.
>
> That doesn't mean:
> -1 It's crap!
>
> That does mean:
> -1 It's crap because.... and I will document 'my way' for everyone to follow
> to the letter.
>
> Andy.
>
>
> On 28/01/2015 09:55, Romain Manni-Bucau wrote:
>>
>> hehe feel less alone now, +1
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2015-01-28 9:53 GMT+01:00 Mark Struberg <st...@yahoo.de>:
>>>
>>> Hi folks!
>>>
>>> Just noticed that our branch naming schema in GIT is still outerwordly
>>> fucked up.
>>>
>>>
>>>
>>> Why don't we do it as everyone else does?
>>> What does this crap of development branch do? It's total nonsense to have
>>> it!
>>>
>>> There is NO RTC for development at whole ASF except for MAINTENANCE
>>> BRANCHES maybe. All the standard community work is CTR (Commmit Then Review)
>>> That's a community wide modus operandi and we should follow it as well.
>>>
>>>
>>> So I for one will totally ignore this development branch when working on
>>> the TCK in the next days.
>>>
>>> Can we please finally merge in all the good work in the development
>>> branch to master and delete it finally?
>>>
>>>
>>> LieGrue,
>>> strub
>>
>>
>>
>> --
>> Andy Gumbrecht
>> https://twitter.com/AndyGeeDe
>> http://www.tomitribe.com
Re: what is which branch up for?
Posted by Andy Gumbrecht <ag...@tomitribe.com>.
I know I set it up this way, but I am really +0 at the moment. I don't
feel any anger towards it though. It is not 'my way', rather the Gitflow
way.
I'm not going to push it other than to point to the description of
Gitflow. It's only going to make sense if you use it, and then really
only if you play release manager, and then only if you are managing both
1.7.x and develop releases.
The scenario is described here in extreme detail -
https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
It just 'looks' future safe to do it that way, and until the Gitflow has
been tried and tested on the upcoming releases we will not know. Jon
should give us his feedback after the releases are done. And then we
should all look at the repo. The decision to use it was based on that
description and they guy who 'invented' it -
http://nvie.com/posts/a-successful-git-branching-model/
I actually don't know what is so painful about using '-b develop' on the
initial developer checkout? That's it, everything else is identical. As
a developer it is trivial. Where are the hard line drawbacks to it other
than to say it's crap? Why is is so painful for some? I really want to
understand what is causing the hate?
The simple idea is that 'master' only ever contains production ready
code, that's it. No more no less.
Anyway, if everyone agrees on a way forward then votes on it then I
really am +0, as it is not hard to do it either way.
That doesn't mean:
-1 It's crap!
That does mean:
-1 It's crap because.... and I will document 'my way' for everyone to
follow to the letter.
Andy.
On 28/01/2015 09:55, Romain Manni-Bucau wrote:
> hehe feel less alone now, +1
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2015-01-28 9:53 GMT+01:00 Mark Struberg <st...@yahoo.de>:
>> Hi folks!
>>
>> Just noticed that our branch naming schema in GIT is still outerwordly fucked up.
>>
>>
>>
>> Why don't we do it as everyone else does?
>> What does this crap of development branch do? It's total nonsense to have it!
>>
>> There is NO RTC for development at whole ASF except for MAINTENANCE BRANCHES maybe. All the standard community work is CTR (Commmit Then Review) That's a community wide modus operandi and we should follow it as well.
>>
>>
>> So I for one will totally ignore this development branch when working on the TCK in the next days.
>>
>> Can we please finally merge in all the good work in the development branch to master and delete it finally?
>>
>>
>> LieGrue,
>> strub
>
>
> --
> Andy Gumbrecht
> https://twitter.com/AndyGeeDe
> http://www.tomitribe.com
Re: what is which branch up for?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
hehe feel less alone now, +1
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2015-01-28 9:53 GMT+01:00 Mark Struberg <st...@yahoo.de>:
> Hi folks!
>
> Just noticed that our branch naming schema in GIT is still outerwordly fucked up.
>
>
>
> Why don't we do it as everyone else does?
> What does this crap of development branch do? It's total nonsense to have it!
>
> There is NO RTC for development at whole ASF except for MAINTENANCE BRANCHES maybe. All the standard community work is CTR (Commmit Then Review) That's a community wide modus operandi and we should follow it as well.
>
>
> So I for one will totally ignore this development branch when working on the TCK in the next days.
>
> Can we please finally merge in all the good work in the development branch to master and delete it finally?
>
>
> LieGrue,
> strub