Re: [Gluster-devel] Updates to operating-version

2014-12-18 Thread Joe Julian
James, why not just compute the operating version? After 3.5.0 it's always XYYZZ based on the version. Something along the lines of $version_array = split(${gluster_version}, '[.]') if $version_array[0] 3 { fail(Unsupported GlusterFS Version) } $operating_version = $version_array[2] ? {

Re: [Gluster-devel] Updates to operating-version

2014-12-18 Thread James
On Wed, Dec 17, 2014 at 9:09 AM, Niels de Vos nde...@redhat.com wrote: On Wed, Dec 17, 2014 at 08:40:18AM -0500, James wrote: How about you post a patch that adds this request as a comment in the glusterfs sources (libglusterfs/src/globals.h)? Good idea actually... Please review/ack/merge :)

Re: [Gluster-devel] Updates to operating-version

2014-12-18 Thread James
On Thu, Dec 18, 2014 at 11:40 AM, Joe Julian j...@julianfamily.org wrote: James, why not just compute the operating version? After 3.5.0 it's always XYYZZ based on the version. Something along the lines of $version_array = split(${gluster_version}, '[.]') if $version_array[0] 3 {

Re: [Gluster-devel] Updates to operating-version

2014-12-18 Thread James
On Thu, Dec 18, 2014 at 2:30 AM, Kaushal M kshlms...@gmail.com wrote: In that case, I should send a note as the op-version has been bumped for the master branch. Please take note, The operating-version for the master branch has been bumped to '30700', which is aligned with the next release

[Gluster-devel] Updates to operating-version

2014-12-17 Thread James
Hello, If you plan on updating the operating-version value of GlusterFS, please either ping me (@purpleidea) or send a patch to puppet-gluster [1]. Patches are 4 line yaml files, and you don't need any knowledge of puppet or yaml to do so. Example: +# gluster/data/versions/3.6.yaml +---

Re: [Gluster-devel] Updates to operating-version

2014-12-17 Thread Niels de Vos
On Wed, Dec 17, 2014 at 08:40:18AM -0500, James wrote: Hello, If you plan on updating the operating-version value of GlusterFS, please either ping me (@purpleidea) or send a patch to puppet-gluster [1]. Patches are 4 line yaml files, and you don't need any knowledge of puppet or yaml to do

Re: [Gluster-devel] Updates to operating-version

2014-12-17 Thread Lalatendu Mohanty
On 12/17/2014 07:39 PM, Niels de Vos wrote: On Wed, Dec 17, 2014 at 08:40:18AM -0500, James wrote: Hello, If you plan on updating the operating-version value of GlusterFS, please either ping me (@purpleidea) or send a patch to puppet-gluster [1]. Patches are 4 line yaml files, and you don't

Re: [Gluster-devel] Updates to operating-version

2014-12-17 Thread Kaushal M
In that case, I should send a note as the op-version has been bumped for the master branch. Please take note, The operating-version for the master branch has been bumped to '30700', which is aligned with the next release of GlusterFS, 3.7. ~kaushal On Thu, Dec 18, 2014 at 12:49 PM, Lalatendu