* development/integration branch? @ 2014-10-21 8:22 Marc Sune [not found] ` <544617E0.80502-kpkqNMk1I7M@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: Marc Sune @ 2014-10-21 8:22 UTC (permalink / raw) To: <dev-VfR2kkLFssw@public.gmane.org> Good morning, Some DPDK users, including myself, use a clone of the git repository to compile DPDK for their applications, instead of downloading the tarball of each release. In my opinion, it would be useful for such users that the master branch contains only stable releases, to prevent (mistakenly) to use a wip DPDK version, and jump quickly to the latest stable with a simple git pull without having to check the tags. Also new users would clone the repo and get only the stable release. So I would propose to use an integration/development branch, where the patches are integrated and only push to master once a stable release is tagged in this integration branch. Thoughts? best marc ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <544617E0.80502-kpkqNMk1I7M@public.gmane.org>]
* Re: development/integration branch? [not found] ` <544617E0.80502-kpkqNMk1I7M@public.gmane.org> @ 2014-10-21 8:36 ` Richardson, Bruce [not found] ` <59AF69C657FD0841A61C55336867B5B0344210F9-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: Richardson, Bruce @ 2014-10-21 8:36 UTC (permalink / raw) To: Marc Sune, <dev-VfR2kkLFssw@public.gmane.org> > -----Original Message----- > From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Marc Sune > Sent: Tuesday, October 21, 2014 9:23 AM > To: <dev-VfR2kkLFssw@public.gmane.org> > Subject: [dpdk-dev] development/integration branch? > > Good morning, > > Some DPDK users, including myself, use a clone of the git repository to > compile DPDK for their applications, instead of downloading the tarball > of each release. > > In my opinion, it would be useful for such users that the master branch > contains only stable releases, to prevent (mistakenly) to use a wip DPDK > version, and jump quickly to the latest stable with a simple git pull > without having to check the tags. Also new users would clone the repo > and get only the stable release. > > So I would propose to use an integration/development branch, where the > patches are integrated and only push to master once a stable release is > tagged in this integration branch. > > Thoughts? > > best > marc Ideally, our master branch should always be good and stable, but given reality often interferes with such good intentions I think that having dev branches is not a bad idea. However, what we may lose by doing so is having a larger group of people constantly using the master branch and reporting problems to us. On balance, I'd be slightly in favour of this suggestion. /Bruce ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <59AF69C657FD0841A61C55336867B5B0344210F9-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: development/integration branch? [not found] ` <59AF69C657FD0841A61C55336867B5B0344210F9-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2014-10-21 8:46 ` Thomas Monjalon 2014-10-21 9:14 ` Marc Sune 0 siblings, 1 reply; 12+ messages in thread From: Thomas Monjalon @ 2014-10-21 8:46 UTC (permalink / raw) To: Marc Sune; +Cc: dev-VfR2kkLFssw 2014-10-21 08:36, Richardson, Bruce: > From: Marc Sune > > Some DPDK users, including myself, use a clone of the git repository to > > compile DPDK for their applications, instead of downloading the tarball > > of each release. > > > > In my opinion, it would be useful for such users that the master branch > > contains only stable releases, to prevent (mistakenly) to use a wip DPDK > > version, and jump quickly to the latest stable with a simple git pull > > without having to check the tags. Also new users would clone the repo > > and get only the stable release. > > > > So I would propose to use an integration/development branch, where the > > patches are integrated and only push to master once a stable release is > > tagged in this integration branch. > > > > Thoughts? > > Ideally, our master branch should always be good and stable, but given > reality often interferes with such good intentions I think that having > dev branches is not a bad idea. However, what we may lose by doing so > is having a larger group of people constantly using the master branch > and reporting problems to us. > > On balance, I'd be slightly in favour of this suggestion. My balance is different because I have a simpler solution for Marc's problem: git fetch && git merge $(git tag | grep -v -- -rc | tail -n1) -- Thomas ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: development/integration branch? 2014-10-21 8:46 ` Thomas Monjalon @ 2014-10-21 9:14 ` Marc Sune [not found] ` <54462403.3060107-kpkqNMk1I7M@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: Marc Sune @ 2014-10-21 9:14 UTC (permalink / raw) To: Thomas Monjalon; +Cc: dev-VfR2kkLFssw On 21/10/14 10:46, Thomas Monjalon wrote: > My balance is different because I have a simpler solution for Marc's problem: > git fetch && git merge $(git tag | grep -v -- -rc | tail -n1) Thomas, We all know we _can_ do this. But is it really necessary? We should be all as lazy as possible and make it easy for users IMHO. `git pull` is easier :) I don't see any drawback of using a development branch, except if you consider the extra push to master per release a drawback. Also think about new users downloading the repo for the first time. They are forced to do this right now if they want to checkout the latest stable. marc ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <54462403.3060107-kpkqNMk1I7M@public.gmane.org>]
* Re: development/integration branch? [not found] ` <54462403.3060107-kpkqNMk1I7M@public.gmane.org> @ 2014-10-21 9:28 ` Thomas Monjalon 2014-10-21 9:38 ` Marc Sune 2014-10-22 7:00 ` Matthew Hall 2014-10-21 13:01 ` Stephen Hemminger 1 sibling, 2 replies; 12+ messages in thread From: Thomas Monjalon @ 2014-10-21 9:28 UTC (permalink / raw) To: Marc Sune; +Cc: dev-VfR2kkLFssw 2014-10-21 11:14, Marc Sune: > On 21/10/14 10:46, Thomas Monjalon wrote: > > My balance is different because I have a simpler solution for Marc's problem: > > git fetch && git merge $(git tag | grep -v -- -rc | tail -n1) > > We all know we _can_ do this. But is it really necessary? We should be > all as lazy as possible and make it easy for users IMHO. `git pull` is > easier :) Yes and lazy users download tarballs. > I don't see any drawback of using a development branch, except if you > consider the extra push to master per release a drawback. No I don't care to push one more thing. But I care about the message brought by such change. It would mean that we can break the development branch and that most of developers don't test it nor base their patches on the latest commit. It's all about simple rules and messages. > Also think about new users downloading the repo for the first time. They > are forced to do this right now if they want to checkout the latest stable. New users will get the latest release and expect to see current work in progress right after cloning the git tree (in master branch). It's also more common to see work in progress in default branch in cgit. -- Thomas ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: development/integration branch? 2014-10-21 9:28 ` Thomas Monjalon @ 2014-10-21 9:38 ` Marc Sune [not found] ` <5446299A.5060400-kpkqNMk1I7M@public.gmane.org> 2014-10-22 7:00 ` Matthew Hall 1 sibling, 1 reply; 12+ messages in thread From: Marc Sune @ 2014-10-21 9:38 UTC (permalink / raw) To: Thomas Monjalon; +Cc: dev-VfR2kkLFssw Thomas, On 21/10/14 11:28, Thomas Monjalon wrote: > 2014-10-21 11:14, Marc Sune: >> On 21/10/14 10:46, Thomas Monjalon wrote: >>> My balance is different because I have a simpler solution for Marc's problem: >>> git fetch && git merge $(git tag | grep -v -- -rc | tail -n1) >> We all know we _can_ do this. But is it really necessary? We should be >> all as lazy as possible and make it easy for users IMHO. `git pull` is >> easier :) > Yes and lazy users download tarballs. At least for me, I stopped downloading DPDK tarballs after the third time I had to upgrade the release. >> I don't see any drawback of using a development branch, except if you >> consider the extra push to master per release a drawback. > No I don't care to push one more thing. > But I care about the message brought by such change. It would mean that > we can break the development branch and that most of developers don't test > it nor base their patches on the latest commit. It's all about simple rules > and messages. I understand your concern but, isn't peer reviewing meant to prevent this? >> Also think about new users downloading the repo for the first time. They >> are forced to do this right now if they want to checkout the latest stable. > New users will get the latest release and expect to see current work in > progress right after cloning the git tree (in master branch). > It's also more common to see work in progress in default branch in cgit. I know, but I also know other projects do the way I proposed with success. In any case it was just a suggestion to try to improve things. marc ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <5446299A.5060400-kpkqNMk1I7M@public.gmane.org>]
* Re: development/integration branch? [not found] ` <5446299A.5060400-kpkqNMk1I7M@public.gmane.org> @ 2014-10-21 13:50 ` Neil Horman 0 siblings, 0 replies; 12+ messages in thread From: Neil Horman @ 2014-10-21 13:50 UTC (permalink / raw) To: Marc Sune; +Cc: dev-VfR2kkLFssw On Tue, Oct 21, 2014 at 11:38:34AM +0200, Marc Sune wrote: > Thomas, > > On 21/10/14 11:28, Thomas Monjalon wrote: > >2014-10-21 11:14, Marc Sune: > >>On 21/10/14 10:46, Thomas Monjalon wrote: > >>>My balance is different because I have a simpler solution for Marc's problem: > >>> git fetch && git merge $(git tag | grep -v -- -rc | tail -n1) > >>We all know we _can_ do this. But is it really necessary? We should be > >>all as lazy as possible and make it easy for users IMHO. `git pull` is > >>easier :) > >Yes and lazy users download tarballs. > > At least for me, I stopped downloading DPDK tarballs after the third time I > had to upgrade the release. > >>I don't see any drawback of using a development branch, except if you > >>consider the extra push to master per release a drawback. > >No I don't care to push one more thing. > >But I care about the message brought by such change. It would mean that > >we can break the development branch and that most of developers don't test > >it nor base their patches on the latest commit. It's all about simple rules > >and messages. > > I understand your concern but, isn't peer reviewing meant to prevent this? > > >>Also think about new users downloading the repo for the first time. They > >>are forced to do this right now if they want to checkout the latest stable. > >New users will get the latest release and expect to see current work in > >progress right after cloning the git tree (in master branch). > >It's also more common to see work in progress in default branch in cgit. > I know, but I also know other projects do the way I proposed with success. > In any case it was just a suggestion to try to improve things. > > marc > Ideally, I think the best solution (and I've proposed this on the list several times), is to create a release branch when you begin tagging -rc branches, and use that branch for stabilization/testing prior to a release. Only fixes are allowed in such a branch, and can be merged with master post release-tagging. That would allow master to continue patch integration undeterred. Alternatively, doing like Linus does is also a fine idea, announce a merge window during which features are integrated, and after which new features are disallowed during the pre-release stabilization period. Doing so however requires a high degree of commitment to not make exceptions. If that is a concern, then a release branch is the safer approach, as it separates fixes from other patches. Neil ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: development/integration branch? 2014-10-21 9:28 ` Thomas Monjalon 2014-10-21 9:38 ` Marc Sune @ 2014-10-22 7:00 ` Matthew Hall [not found] ` <20141022070058.GA6051-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org> 1 sibling, 1 reply; 12+ messages in thread From: Matthew Hall @ 2014-10-22 7:00 UTC (permalink / raw) To: Thomas Monjalon, Marc Sune; +Cc: dev-VfR2kkLFssw On Tue, Oct 21, 2014 at 11:28:47AM +0200, Thomas Monjalon wrote: > But I care about the message brought by such change. It would mean that > we can break the development branch and that most of developers don't test > it nor base their patches on the latest commit. It's all about simple rules > and messages. I have seen two common ways to do this which I think are about equal. 1) master is latest release in production, develop branch is tip 2) master is tip, production releases live in branches / tags A lot of non-free stuff uses (1) along with some open source. So the DPDK is using model (2), which is pretty common for open source. What I think git in general and DPDK in particular are missing is, they have a tradition tags for releases, however I think this is broken because you can't easily append more stuff to tages. I really prefer putting my releases on actual branches to make it as easy as possible for users / maintenance programmers to follow and/or add stuff to a codeline. For example I'd like a 1.7.X branch I could follow for my app until 1.8.X is ready. Having a stable branch would also make stuff easier for guys like Marc who want to follow the known-stable release in an easy way without horsing around with "the latest tag of the day" all the time. Perhaps this is an OK option? Matthew. ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <20141022070058.GA6051-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>]
* Re: development/integration branch? [not found] ` <20141022070058.GA6051-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org> @ 2014-10-22 13:43 ` Stephen Hemminger [not found] ` <20141022191336.70174815-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: Stephen Hemminger @ 2014-10-22 13:43 UTC (permalink / raw) To: Matthew Hall; +Cc: dev-VfR2kkLFssw On Wed, 22 Oct 2014 00:00:58 -0700 Matthew Hall <mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org> wrote: > What I think git in general and DPDK in particular are missing is, they have a > tradition tags for releases, however I think this is broken because you can't > easily append more stuff to tages. In git tags and branches are almost the same thing. You can easily create a local branch off of a tag. ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <20141022191336.70174815-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org>]
* Re: development/integration branch? [not found] ` <20141022191336.70174815-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org> @ 2014-10-22 15:54 ` Matthew Hall 0 siblings, 0 replies; 12+ messages in thread From: Matthew Hall @ 2014-10-22 15:54 UTC (permalink / raw) To: Stephen Hemminger; +Cc: dev-VfR2kkLFssw I am aware of that. But it's a pain to do it. And then your local branch doesn't move forward when new stable releases come out. So I was suggesting we have a stable branch always available and known-good pointing to latest 1.X.X or 2.X.X release of latest stable 1.X or 2.X. It would also be friendly to maintenance programmers who want to submit patches to stable versions and encourage them to contribute stability fixes to DPDK just like Greg KH and the stable kernel guys do for the Long Term kernels. Matthew. -- Sent from my mobile device. On October 22, 2014 6:43:36 AM PDT, Stephen Hemminger <stephen@networkplumber.org> wrote: >On Wed, 22 Oct 2014 00:00:58 -0700 >Matthew Hall <mhall-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org> wrote: > >> What I think git in general and DPDK in particular are missing is, >they have a >> tradition tags for releases, however I think this is broken because >you can't >> easily append more stuff to tages. > >In git tags and branches are almost the same thing. >You can easily create a local branch off of a tag. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: development/integration branch? [not found] ` <54462403.3060107-kpkqNMk1I7M@public.gmane.org> 2014-10-21 9:28 ` Thomas Monjalon @ 2014-10-21 13:01 ` Stephen Hemminger [not found] ` <20141021183158.0dbd5c0e-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org> 1 sibling, 1 reply; 12+ messages in thread From: Stephen Hemminger @ 2014-10-21 13:01 UTC (permalink / raw) To: Marc Sune; +Cc: dev-VfR2kkLFssw On Tue, 21 Oct 2014 11:14:43 +0200 Marc Sune <marc.sune-kpkqNMk1I7M@public.gmane.org> wrote: > On 21/10/14 10:46, Thomas Monjalon wrote: > > My balance is different because I have a simpler solution for Marc's problem: > > git fetch && git merge $(git tag | grep -v -- -rc | tail -n1) > Thomas, > > We all know we _can_ do this. But is it really necessary? We should be > all as lazy as possible and make it easy for users IMHO. `git pull` is > easier :) > > I don't see any drawback of using a development branch, except if you > consider the extra push to master per release a drawback. > > Also think about new users downloading the repo for the first time. They > are forced to do this right now if they want to checkout the latest stable. > > marc For most project master is the development branch and where patches should be targeted. If you want stable branch, then either use releases or volunteer to maintain a "master-stable" branch. ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <20141021183158.0dbd5c0e-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org>]
* Re: development/integration branch? [not found] ` <20141021183158.0dbd5c0e-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org> @ 2014-10-23 9:19 ` Marc Sune 0 siblings, 0 replies; 12+ messages in thread From: Marc Sune @ 2014-10-23 9:19 UTC (permalink / raw) To: Stephen Hemminger; +Cc: dev-VfR2kkLFssw On 21/10/14 15:01, Stephen Hemminger wrote: > On Tue, 21 Oct 2014 11:14:43 +0200 > Marc Sune <marc.sune-kpkqNMk1I7M@public.gmane.org> wrote: > >> On 21/10/14 10:46, Thomas Monjalon wrote: >>> My balance is different because I have a simpler solution for Marc's problem: >>> git fetch && git merge $(git tag | grep -v -- -rc | tail -n1) >> Thomas, >> >> We all know we _can_ do this. But is it really necessary? We should be >> all as lazy as possible and make it easy for users IMHO. `git pull` is >> easier :) >> >> I don't see any drawback of using a development branch, except if you >> consider the extra push to master per release a drawback. >> >> Also think about new users downloading the repo for the first time. They >> are forced to do this right now if they want to checkout the latest stable. >> >> marc > For most project master is the development branch and where patches > should be targeted. I don't know if most, but certainly some. > > If you want stable branch, then either use releases or volunteer to > maintain a "master-stable" branch. There is no need to _maintain_ any master-stable branch because that would be == to the latest stable tag, so it is just a push. You can give me push access for that if you want. I also agree that would be interesting to have release branches, independently if the development branch where patches are integrated is the master or not. Marc ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2014-10-23 9:19 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-10-21 8:22 development/integration branch? Marc Sune [not found] ` <544617E0.80502-kpkqNMk1I7M@public.gmane.org> 2014-10-21 8:36 ` Richardson, Bruce [not found] ` <59AF69C657FD0841A61C55336867B5B0344210F9-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org> 2014-10-21 8:46 ` Thomas Monjalon 2014-10-21 9:14 ` Marc Sune [not found] ` <54462403.3060107-kpkqNMk1I7M@public.gmane.org> 2014-10-21 9:28 ` Thomas Monjalon 2014-10-21 9:38 ` Marc Sune [not found] ` <5446299A.5060400-kpkqNMk1I7M@public.gmane.org> 2014-10-21 13:50 ` Neil Horman 2014-10-22 7:00 ` Matthew Hall [not found] ` <20141022070058.GA6051-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org> 2014-10-22 13:43 ` Stephen Hemminger [not found] ` <20141022191336.70174815-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org> 2014-10-22 15:54 ` Matthew Hall 2014-10-21 13:01 ` Stephen Hemminger [not found] ` <20141021183158.0dbd5c0e-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org> 2014-10-23 9:19 ` Marc Sune
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).