Re: How should new committers handle backporting?

2015-05-21 Thread Jacques Le Roux

I mean contributors don't need to backport (COMMIT) patches from OFBiz trunk to 
OFBiz branches...

Jacques

Le 21/05/2015 09:33, Pierre Smits a écrit :

Please remember that committers are contributors with privileges. So
wouldn't it concern them?

Best regards,

Pierre Smits

*ORRTIZ.COM http://www.orrtiz.com*
Services  Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail  Trade
http://www.orrtiz.com

On Thu, May 21, 2015 at 9:21 AM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:


I don't think contributors are really concerned, will you handle the wiki
update?

Jacques


Le 19/05/2015 15:52, Michael Brohl a écrit :


+1, very helpful, just trying it out.

Maybe
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices
would be a better place, or we would add a link to one of the pages.

Michael Brohl
ecomify GmbH
www.ecomify.de

Am 19.05.15 um 15:38 schrieb Jacques Le Roux:


Maybe we should add it at
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Committers+Roles+and+Responsibilities
?

Jacques

Le 19/05/2015 14:19, Pranay Pandey a écrit :


Thanks Jacopo, its a good OFBiz Committers Guide.

Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey
cell: +91 982.603.5576

On Tue, May 19, 2015 at 10:52 AM, Jacopo Cappellato 
jacopo.cappell...@hotwaxsystems.com wrote:

  Hi Christian,

On May 19, 2015, at 3:37 AM, Christian Carlow 
christian.car...@gmail.com
wrote:

  Should committers download the entire ofbiz repository to help with

backporting?


it is easier if you keep the trunk and the release branches in
different
svn folders (i.e. different checkouts); for example:

mkdir ofbiz
cd ofbiz
svn co https://svn.apache.org/repos/asf/ofbiz/trunk trunk
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release14.12
release14.12
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release13.07
release13.07
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04
release12.04
svn co https://svn.apache.org/repos/asf/ofbiz/site/ website

you will end up with the following folder layout:
ofbiz/
ofbiz/trunk
ofbiz/release14.12
ofbiz/release13.07
ofbiz/release12.04
ofbiz/website

Then you can setup, with your favorite IDE, one project for each.

  Is there a standard procedure new committers should follow

for backporting?


Only bugs should be backported to active release branches (if they
happen
also there); it is not mandatory that you do but it is very much
appreciated!
Here is a simple workflow to backport a commit to a branch.
1) commit the fix to trunk and note down the commit id; e.g. rev 12345
2) go to the release branch you want to backport to; e.g. cd
ofbiz/release14.12
3) run the following script (the script will apply the commit to your
local release branch):
./tools/mergefromtrunk.sh/bat merge 12345
4) run the tests with:
./tools/mergefromtrunk.sh/bat test
5) it is also a good idea to start the instance and test manually
6.a) if tests are unsuccessful, abort the process and clean your local
release branch:
./tools/mergefromtrunk.sh/bat abort
6.b) if tests are successful, and you want to commit the backport:
./tools/mergefromtrunk.sh/bat commit

I was going to test my new committer privilege by

applying my OFBIZ-6387.patch.  Should I apply it to the release
branches
also?


That is probably not a bug but it is a small change and could be a good
chance to practice with the above process, so please do if you like.

Regards,

Jacopo





Re: How should new committers handle backporting?

2015-05-21 Thread Michael Brohl
Yes, that's right. I'll handle the update on the Wiki, place it on the 
committers page you suggested and see if I can place a link on the other 
page when it fits.


Michael

Am 21.05.15 um 09:53 schrieb Jacques Le Roux:
I mean contributors don't need to backport (COMMIT) patches from OFBiz 
trunk to OFBiz branches...


Jacques

Le 21/05/2015 09:33, Pierre Smits a écrit :

Please remember that committers are contributors with privileges. So
wouldn't it concern them?

Best regards,

Pierre Smits

*ORRTIZ.COM http://www.orrtiz.com*
Services  Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail  Trade
http://www.orrtiz.com

On Thu, May 21, 2015 at 9:21 AM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

I don't think contributors are really concerned, will you handle the 
wiki

update?

Jacques


Le 19/05/2015 15:52, Michael Brohl a écrit :


+1, very helpful, just trying it out.

Maybe
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices 


would be a better place, or we would add a link to one of the pages.

Michael Brohl
ecomify GmbH
www.ecomify.de

Am 19.05.15 um 15:38 schrieb Jacques Le Roux:


Maybe we should add it at
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Committers+Roles+and+Responsibilities 


?

Jacques

Le 19/05/2015 14:19, Pranay Pandey a écrit :


Thanks Jacopo, its a good OFBiz Committers Guide.

Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey
cell: +91 982.603.5576

On Tue, May 19, 2015 at 10:52 AM, Jacopo Cappellato 
jacopo.cappell...@hotwaxsystems.com wrote:

  Hi Christian,

On May 19, 2015, at 3:37 AM, Christian Carlow 
christian.car...@gmail.com
wrote:

  Should committers download the entire ofbiz repository to help 
with

backporting?


it is easier if you keep the trunk and the release branches in
different
svn folders (i.e. different checkouts); for example:

mkdir ofbiz
cd ofbiz
svn co https://svn.apache.org/repos/asf/ofbiz/trunk trunk
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release14.12
release14.12
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release13.07
release13.07
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04
release12.04
svn co https://svn.apache.org/repos/asf/ofbiz/site/ website

you will end up with the following folder layout:
ofbiz/
ofbiz/trunk
ofbiz/release14.12
ofbiz/release13.07
ofbiz/release12.04
ofbiz/website

Then you can setup, with your favorite IDE, one project for each.

  Is there a standard procedure new committers should follow

for backporting?


Only bugs should be backported to active release branches (if they
happen
also there); it is not mandatory that you do but it is very much
appreciated!
Here is a simple workflow to backport a commit to a branch.
1) commit the fix to trunk and note down the commit id; e.g. rev 
12345

2) go to the release branch you want to backport to; e.g. cd
ofbiz/release14.12
3) run the following script (the script will apply the commit to 
your

local release branch):
./tools/mergefromtrunk.sh/bat merge 12345
4) run the tests with:
./tools/mergefromtrunk.sh/bat test
5) it is also a good idea to start the instance and test manually
6.a) if tests are unsuccessful, abort the process and clean your 
local

release branch:
./tools/mergefromtrunk.sh/bat abort
6.b) if tests are successful, and you want to commit the backport:
./tools/mergefromtrunk.sh/bat commit

I was going to test my new committer privilege by

applying my OFBIZ-6387.patch. Should I apply it to the release
branches
also?

That is probably not a bug but it is a small change and could be 
a good
chance to practice with the above process, so please do if you 
like.


Regards,

Jacopo








smime.p7s
Description: S/MIME Cryptographic Signature


Re: How should new committers handle backporting?

2015-05-21 Thread Jacques Le Roux

I don't think contributors are really concerned, will you handle the wiki 
update?

Jacques

Le 19/05/2015 15:52, Michael Brohl a écrit :

+1, very helpful, just trying it out.

Maybe https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices would be a better place, or we would add a link to one 
of the pages.


Michael Brohl
ecomify GmbH
www.ecomify.de

Am 19.05.15 um 15:38 schrieb Jacques Le Roux:

Maybe we should add it at 
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Committers+Roles+and+Responsibilities
 ?

Jacques

Le 19/05/2015 14:19, Pranay Pandey a écrit :

Thanks Jacopo, its a good OFBiz Committers Guide.

Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey
cell: +91 982.603.5576

On Tue, May 19, 2015 at 10:52 AM, Jacopo Cappellato 
jacopo.cappell...@hotwaxsystems.com wrote:


Hi Christian,

On May 19, 2015, at 3:37 AM, Christian Carlow christian.car...@gmail.com
wrote:


Should committers download the entire ofbiz repository to help with
backporting?

it is easier if you keep the trunk and the release branches in different
svn folders (i.e. different checkouts); for example:

mkdir ofbiz
cd ofbiz
svn co https://svn.apache.org/repos/asf/ofbiz/trunk trunk
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release14.12
release14.12
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release13.07
release13.07
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04
release12.04
svn co https://svn.apache.org/repos/asf/ofbiz/site/ website

you will end up with the following folder layout:
ofbiz/
ofbiz/trunk
ofbiz/release14.12
ofbiz/release13.07
ofbiz/release12.04
ofbiz/website

Then you can setup, with your favorite IDE, one project for each.


Is there a standard procedure new committers should follow
for backporting?

Only bugs should be backported to active release branches (if they happen
also there); it is not mandatory that you do but it is very much
appreciated!
Here is a simple workflow to backport a commit to a branch.
1) commit the fix to trunk and note down the commit id; e.g. rev 12345
2) go to the release branch you want to backport to; e.g. cd
ofbiz/release14.12
3) run the following script (the script will apply the commit to your
local release branch):
./tools/mergefromtrunk.sh/bat merge 12345
4) run the tests with:
./tools/mergefromtrunk.sh/bat test
5) it is also a good idea to start the instance and test manually
6.a) if tests are unsuccessful, abort the process and clean your local
release branch:
./tools/mergefromtrunk.sh/bat abort
6.b) if tests are successful, and you want to commit the backport:
./tools/mergefromtrunk.sh/bat commit


  I was going to test my new committer privilege by
applying my OFBIZ-6387.patch.  Should I apply it to the release branches
also?

That is probably not a bug but it is a small change and could be a good
chance to practice with the above process, so please do if you like.

Regards,

Jacopo





Re: How should new committers handle backporting?

2015-05-21 Thread Pierre Smits
Please remember that committers are contributors with privileges. So
wouldn't it concern them?

Best regards,

Pierre Smits

*ORRTIZ.COM http://www.orrtiz.com*
Services  Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail  Trade
http://www.orrtiz.com

On Thu, May 21, 2015 at 9:21 AM, Jacques Le Roux 
jacques.le.r...@les7arts.com wrote:

 I don't think contributors are really concerned, will you handle the wiki
 update?

 Jacques


 Le 19/05/2015 15:52, Michael Brohl a écrit :

 +1, very helpful, just trying it out.

 Maybe
 https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices
 would be a better place, or we would add a link to one of the pages.

 Michael Brohl
 ecomify GmbH
 www.ecomify.de

 Am 19.05.15 um 15:38 schrieb Jacques Le Roux:

 Maybe we should add it at
 https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Committers+Roles+and+Responsibilities
 ?

 Jacques

 Le 19/05/2015 14:19, Pranay Pandey a écrit :

 Thanks Jacopo, its a good OFBiz Committers Guide.

 Best regards,

 Pranay Pandey
 HotWax Systems
 http://www.hotwaxsystems.com/
 skype: pranay.pandey
 cell: +91 982.603.5576

 On Tue, May 19, 2015 at 10:52 AM, Jacopo Cappellato 
 jacopo.cappell...@hotwaxsystems.com wrote:

  Hi Christian,

 On May 19, 2015, at 3:37 AM, Christian Carlow 
 christian.car...@gmail.com
 wrote:

  Should committers download the entire ofbiz repository to help with
 backporting?

 it is easier if you keep the trunk and the release branches in
 different
 svn folders (i.e. different checkouts); for example:

 mkdir ofbiz
 cd ofbiz
 svn co https://svn.apache.org/repos/asf/ofbiz/trunk trunk
 svn co https://svn.apache.org/repos/asf/ofbiz/branches/release14.12
 release14.12
 svn co https://svn.apache.org/repos/asf/ofbiz/branches/release13.07
 release13.07
 svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04
 release12.04
 svn co https://svn.apache.org/repos/asf/ofbiz/site/ website

 you will end up with the following folder layout:
 ofbiz/
 ofbiz/trunk
 ofbiz/release14.12
 ofbiz/release13.07
 ofbiz/release12.04
 ofbiz/website

 Then you can setup, with your favorite IDE, one project for each.

  Is there a standard procedure new committers should follow
 for backporting?

 Only bugs should be backported to active release branches (if they
 happen
 also there); it is not mandatory that you do but it is very much
 appreciated!
 Here is a simple workflow to backport a commit to a branch.
 1) commit the fix to trunk and note down the commit id; e.g. rev 12345
 2) go to the release branch you want to backport to; e.g. cd
 ofbiz/release14.12
 3) run the following script (the script will apply the commit to your
 local release branch):
 ./tools/mergefromtrunk.sh/bat merge 12345
 4) run the tests with:
 ./tools/mergefromtrunk.sh/bat test
 5) it is also a good idea to start the instance and test manually
 6.a) if tests are unsuccessful, abort the process and clean your local
 release branch:
 ./tools/mergefromtrunk.sh/bat abort
 6.b) if tests are successful, and you want to commit the backport:
 ./tools/mergefromtrunk.sh/bat commit

I was going to test my new committer privilege by
 applying my OFBIZ-6387.patch.  Should I apply it to the release
 branches
 also?

 That is probably not a bug but it is a small change and could be a good
 chance to practice with the above process, so please do if you like.

 Regards,

 Jacopo






Re: How should new committers handle backporting?

2015-05-19 Thread Jacques Le Roux


Le 19/05/2015 07:22, Jacopo Cappellato a écrit :

Hi Christian,

On May 19, 2015, at 3:37 AM, Christian Carlow christian.car...@gmail.com 
wrote:


Should committers download the entire ofbiz repository to help with
backporting?

it is easier if you keep the trunk and the release branches in different svn 
folders (i.e. different checkouts); for example:

mkdir ofbiz
cd ofbiz
svn co https://svn.apache.org/repos/asf/ofbiz/trunk trunk
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release14.12 release14.12
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release13.07 release13.07
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04 release12.04
svn co https://svn.apache.org/repos/asf/ofbiz/site/ website

you will end up with the following folder layout:
ofbiz/
ofbiz/trunk
ofbiz/release14.12
ofbiz/release13.07
ofbiz/release12.04
ofbiz/website

Then you can setup, with your favorite IDE, one project for each.


Is there a standard procedure new committers should follow
for backporting?

Only bugs should be backported to active release branches (if they happen also 
there); it is not mandatory that you do but it is very much appreciated!
Here is a simple workflow to backport a commit to a branch.
1) commit the fix to trunk and note down the commit id; e.g. rev 12345
2) go to the release branch you want to backport to; e.g. cd ofbiz/release14.12
3) run the following script (the script will apply the commit to your local 
release branch):
./tools/mergefromtrunk.sh/bat merge 12345
4) run the tests with:
./tools/mergefromtrunk.sh/bat test
5) it is also a good idea to start the instance and test manually
6.a) if tests are unsuccessful, abort the process and clean your local release 
branch:
./tools/mergefromtrunk.sh/bat abort
6.b) if tests are successful, and you want to commit the backport:
./tools/mergefromtrunk.sh/bat commit


  I was going to test my new committer privilege by
applying my OFBIZ-6387.patch.  Should I apply it to the release branches
also?

That is probably not a bug but it is a small change and could be a good chance 
to practice with the above process, so please do if you like.


Note that in a very simple case like this which has only an impact on the UI I don't run the tests. They would not help as we have no UI tests 
(Selenium and alike)


Jacques



Regards,

Jacopo



Re: How should new committers handle backporting?

2015-05-19 Thread Michael Brohl

+1, very helpful, just trying it out.

Maybe 
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices 
would be a better place, or we would add a link to one of the pages.


Michael Brohl
ecomify GmbH
www.ecomify.de

Am 19.05.15 um 15:38 schrieb Jacques Le Roux:
Maybe we should add it at 
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Committers+Roles+and+Responsibilities 
?


Jacques

Le 19/05/2015 14:19, Pranay Pandey a écrit :

Thanks Jacopo, its a good OFBiz Committers Guide.

Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey
cell: +91 982.603.5576

On Tue, May 19, 2015 at 10:52 AM, Jacopo Cappellato 
jacopo.cappell...@hotwaxsystems.com wrote:


Hi Christian,

On May 19, 2015, at 3:37 AM, Christian Carlow 
christian.car...@gmail.com

wrote:


Should committers download the entire ofbiz repository to help with
backporting?
it is easier if you keep the trunk and the release branches in 
different

svn folders (i.e. different checkouts); for example:

mkdir ofbiz
cd ofbiz
svn co https://svn.apache.org/repos/asf/ofbiz/trunk trunk
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release14.12
release14.12
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release13.07
release13.07
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04
release12.04
svn co https://svn.apache.org/repos/asf/ofbiz/site/ website

you will end up with the following folder layout:
ofbiz/
ofbiz/trunk
ofbiz/release14.12
ofbiz/release13.07
ofbiz/release12.04
ofbiz/website

Then you can setup, with your favorite IDE, one project for each.


Is there a standard procedure new committers should follow
for backporting?
Only bugs should be backported to active release branches (if they 
happen

also there); it is not mandatory that you do but it is very much
appreciated!
Here is a simple workflow to backport a commit to a branch.
1) commit the fix to trunk and note down the commit id; e.g. rev 12345
2) go to the release branch you want to backport to; e.g. cd
ofbiz/release14.12
3) run the following script (the script will apply the commit to your
local release branch):
./tools/mergefromtrunk.sh/bat merge 12345
4) run the tests with:
./tools/mergefromtrunk.sh/bat test
5) it is also a good idea to start the instance and test manually
6.a) if tests are unsuccessful, abort the process and clean your local
release branch:
./tools/mergefromtrunk.sh/bat abort
6.b) if tests are successful, and you want to commit the backport:
./tools/mergefromtrunk.sh/bat commit


  I was going to test my new committer privilege by
applying my OFBIZ-6387.patch.  Should I apply it to the release 
branches

also?

That is probably not a bug but it is a small change and could be a good
chance to practice with the above process, so please do if you like.

Regards,

Jacopo





smime.p7s
Description: S/MIME Cryptographic Signature


Re: How should new committers handle backporting?

2015-05-19 Thread Gil portenseigne

+1,

I didn't know about the scripts, very interesting, its a good place to 
have these info stored and shared.


Gil

On 19/05/2015 15:38, Jacques Le Roux wrote:
Maybe we should add it at 
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Committers+Roles+and+Responsibilities 
?


Jacques

Le 19/05/2015 14:19, Pranay Pandey a écrit :

Thanks Jacopo, its a good OFBiz Committers Guide.

Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey
cell: +91 982.603.5576

On Tue, May 19, 2015 at 10:52 AM, Jacopo Cappellato 
jacopo.cappell...@hotwaxsystems.com wrote:


Hi Christian,

On May 19, 2015, at 3:37 AM, Christian Carlow 
christian.car...@gmail.com

wrote:


Should committers download the entire ofbiz repository to help with
backporting?
it is easier if you keep the trunk and the release branches in 
different

svn folders (i.e. different checkouts); for example:

mkdir ofbiz
cd ofbiz
svn co https://svn.apache.org/repos/asf/ofbiz/trunk trunk
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release14.12
release14.12
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release13.07
release13.07
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04
release12.04
svn co https://svn.apache.org/repos/asf/ofbiz/site/ website

you will end up with the following folder layout:
ofbiz/
ofbiz/trunk
ofbiz/release14.12
ofbiz/release13.07
ofbiz/release12.04
ofbiz/website

Then you can setup, with your favorite IDE, one project for each.


Is there a standard procedure new committers should follow
for backporting?
Only bugs should be backported to active release branches (if they 
happen

also there); it is not mandatory that you do but it is very much
appreciated!
Here is a simple workflow to backport a commit to a branch.
1) commit the fix to trunk and note down the commit id; e.g. rev 12345
2) go to the release branch you want to backport to; e.g. cd
ofbiz/release14.12
3) run the following script (the script will apply the commit to your
local release branch):
./tools/mergefromtrunk.sh/bat merge 12345
4) run the tests with:
./tools/mergefromtrunk.sh/bat test
5) it is also a good idea to start the instance and test manually
6.a) if tests are unsuccessful, abort the process and clean your local
release branch:
./tools/mergefromtrunk.sh/bat abort
6.b) if tests are successful, and you want to commit the backport:
./tools/mergefromtrunk.sh/bat commit


  I was going to test my new committer privilege by
applying my OFBIZ-6387.patch.  Should I apply it to the release 
branches

also?

That is probably not a bug but it is a small change and could be a good
chance to practice with the above process, so please do if you like.

Regards,

Jacopo




Re: How should new committers handle backporting?

2015-05-19 Thread Pranay Pandey
Thanks Jacopo, its a good OFBiz Committers Guide.

Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey
cell: +91 982.603.5576

On Tue, May 19, 2015 at 10:52 AM, Jacopo Cappellato 
jacopo.cappell...@hotwaxsystems.com wrote:

 Hi Christian,

 On May 19, 2015, at 3:37 AM, Christian Carlow christian.car...@gmail.com
 wrote:

  Should committers download the entire ofbiz repository to help with
  backporting?

 it is easier if you keep the trunk and the release branches in different
 svn folders (i.e. different checkouts); for example:

 mkdir ofbiz
 cd ofbiz
 svn co https://svn.apache.org/repos/asf/ofbiz/trunk trunk
 svn co https://svn.apache.org/repos/asf/ofbiz/branches/release14.12
 release14.12
 svn co https://svn.apache.org/repos/asf/ofbiz/branches/release13.07
 release13.07
 svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04
 release12.04
 svn co https://svn.apache.org/repos/asf/ofbiz/site/ website

 you will end up with the following folder layout:
 ofbiz/
 ofbiz/trunk
 ofbiz/release14.12
 ofbiz/release13.07
 ofbiz/release12.04
 ofbiz/website

 Then you can setup, with your favorite IDE, one project for each.

  Is there a standard procedure new committers should follow
  for backporting?

 Only bugs should be backported to active release branches (if they happen
 also there); it is not mandatory that you do but it is very much
 appreciated!
 Here is a simple workflow to backport a commit to a branch.
 1) commit the fix to trunk and note down the commit id; e.g. rev 12345
 2) go to the release branch you want to backport to; e.g. cd
 ofbiz/release14.12
 3) run the following script (the script will apply the commit to your
 local release branch):
 ./tools/mergefromtrunk.sh/bat merge 12345
 4) run the tests with:
 ./tools/mergefromtrunk.sh/bat test
 5) it is also a good idea to start the instance and test manually
 6.a) if tests are unsuccessful, abort the process and clean your local
 release branch:
 ./tools/mergefromtrunk.sh/bat abort
 6.b) if tests are successful, and you want to commit the backport:
 ./tools/mergefromtrunk.sh/bat commit

   I was going to test my new committer privilege by
  applying my OFBIZ-6387.patch.  Should I apply it to the release branches
  also?

 That is probably not a bug but it is a small change and could be a good
 chance to practice with the above process, so please do if you like.

 Regards,

 Jacopo


Re: How should new committers handle backporting?

2015-05-19 Thread Jacques Le Roux

Maybe we should add it at 
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Committers+Roles+and+Responsibilities
 ?

Jacques

Le 19/05/2015 14:19, Pranay Pandey a écrit :

Thanks Jacopo, its a good OFBiz Committers Guide.

Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey
cell: +91 982.603.5576

On Tue, May 19, 2015 at 10:52 AM, Jacopo Cappellato 
jacopo.cappell...@hotwaxsystems.com wrote:


Hi Christian,

On May 19, 2015, at 3:37 AM, Christian Carlow christian.car...@gmail.com
wrote:


Should committers download the entire ofbiz repository to help with
backporting?

it is easier if you keep the trunk and the release branches in different
svn folders (i.e. different checkouts); for example:

mkdir ofbiz
cd ofbiz
svn co https://svn.apache.org/repos/asf/ofbiz/trunk trunk
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release14.12
release14.12
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release13.07
release13.07
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04
release12.04
svn co https://svn.apache.org/repos/asf/ofbiz/site/ website

you will end up with the following folder layout:
ofbiz/
ofbiz/trunk
ofbiz/release14.12
ofbiz/release13.07
ofbiz/release12.04
ofbiz/website

Then you can setup, with your favorite IDE, one project for each.


Is there a standard procedure new committers should follow
for backporting?

Only bugs should be backported to active release branches (if they happen
also there); it is not mandatory that you do but it is very much
appreciated!
Here is a simple workflow to backport a commit to a branch.
1) commit the fix to trunk and note down the commit id; e.g. rev 12345
2) go to the release branch you want to backport to; e.g. cd
ofbiz/release14.12
3) run the following script (the script will apply the commit to your
local release branch):
./tools/mergefromtrunk.sh/bat merge 12345
4) run the tests with:
./tools/mergefromtrunk.sh/bat test
5) it is also a good idea to start the instance and test manually
6.a) if tests are unsuccessful, abort the process and clean your local
release branch:
./tools/mergefromtrunk.sh/bat abort
6.b) if tests are successful, and you want to commit the backport:
./tools/mergefromtrunk.sh/bat commit


  I was going to test my new committer privilege by
applying my OFBIZ-6387.patch.  Should I apply it to the release branches
also?

That is probably not a bug but it is a small change and could be a good
chance to practice with the above process, so please do if you like.

Regards,

Jacopo


Re: How should new committers handle backporting?

2015-05-18 Thread Deepak Dixit
Hi Christian,

IMO we should back port the bug fixes to the release branches ..at least last 
two release branches.

Thanks  Regards
—
Deepak Dixit


 On May 19, 2015, at 7:59 AM, Christian Carlow christian.car...@gmail.com 
 wrote:
 
 Thanks Adrian,
 
 I'll just keep supporting the trunk for now and worry about backporting
 later when it is requested.  Just wanted to make sure it wasn't expected
 for each commit.
 
 On Mon, 2015-05-18 at 19:00 -0700, Adrian Crum wrote:
 I check out each branch I am interested in supporting.
 
 Adrian Crum
 Sandglass Software
 www.sandglass-software.com
 
 On 5/18/2015 6:37 PM, Christian Carlow wrote:
 Should committers download the entire ofbiz repository to help with
 backporting?  Is there a standard procedure new committers should follow
 for backporting?  I was going to test my new committer privilege by
 applying my OFBIZ-6387.patch.  Should I apply it to the release branches
 also?
 
 
 



Re: How should new committers handle backporting?

2015-05-18 Thread Jacopo Cappellato
Hi Christian,

On May 19, 2015, at 3:37 AM, Christian Carlow christian.car...@gmail.com 
wrote:

 Should committers download the entire ofbiz repository to help with
 backporting?

it is easier if you keep the trunk and the release branches in different svn 
folders (i.e. different checkouts); for example:

mkdir ofbiz
cd ofbiz
svn co https://svn.apache.org/repos/asf/ofbiz/trunk trunk
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release14.12 release14.12
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release13.07 release13.07
svn co https://svn.apache.org/repos/asf/ofbiz/branches/release12.04 release12.04
svn co https://svn.apache.org/repos/asf/ofbiz/site/ website

you will end up with the following folder layout:
ofbiz/
ofbiz/trunk
ofbiz/release14.12
ofbiz/release13.07
ofbiz/release12.04
ofbiz/website

Then you can setup, with your favorite IDE, one project for each.

 Is there a standard procedure new committers should follow
 for backporting?

Only bugs should be backported to active release branches (if they happen also 
there); it is not mandatory that you do but it is very much appreciated!
Here is a simple workflow to backport a commit to a branch.
1) commit the fix to trunk and note down the commit id; e.g. rev 12345
2) go to the release branch you want to backport to; e.g. cd ofbiz/release14.12
3) run the following script (the script will apply the commit to your local 
release branch):
./tools/mergefromtrunk.sh/bat merge 12345
4) run the tests with:
./tools/mergefromtrunk.sh/bat test
5) it is also a good idea to start the instance and test manually
6.a) if tests are unsuccessful, abort the process and clean your local release 
branch:
./tools/mergefromtrunk.sh/bat abort
6.b) if tests are successful, and you want to commit the backport:
./tools/mergefromtrunk.sh/bat commit

  I was going to test my new committer privilege by
 applying my OFBIZ-6387.patch.  Should I apply it to the release branches
 also?

That is probably not a bug but it is a small change and could be a good chance 
to practice with the above process, so please do if you like.

Regards,

Jacopo

How should new committers handle backporting?

2015-05-18 Thread Christian Carlow
Should committers download the entire ofbiz repository to help with
backporting?  Is there a standard procedure new committers should follow
for backporting?  I was going to test my new committer privilege by
applying my OFBIZ-6387.patch.  Should I apply it to the release branches
also?



Re: How should new committers handle backporting?

2015-05-18 Thread Adrian Crum

I check out each branch I am interested in supporting.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 5/18/2015 6:37 PM, Christian Carlow wrote:

Should committers download the entire ofbiz repository to help with
backporting?  Is there a standard procedure new committers should follow
for backporting?  I was going to test my new committer privilege by
applying my OFBIZ-6387.patch.  Should I apply it to the release branches
also?



Re: How should new committers handle backporting?

2015-05-18 Thread Christian Carlow
Thanks Adrian,

I'll just keep supporting the trunk for now and worry about backporting
later when it is requested.  Just wanted to make sure it wasn't expected
for each commit.

On Mon, 2015-05-18 at 19:00 -0700, Adrian Crum wrote:
 I check out each branch I am interested in supporting.
 
 Adrian Crum
 Sandglass Software
 www.sandglass-software.com
 
 On 5/18/2015 6:37 PM, Christian Carlow wrote:
  Should committers download the entire ofbiz repository to help with
  backporting?  Is there a standard procedure new committers should follow
  for backporting?  I was going to test my new committer privilege by
  applying my OFBIZ-6387.patch.  Should I apply it to the release branches
  also?