+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 < [email protected]> wrote:Hi Christian,On May 19, 2015, at 3:37 AM, Christian Carlow <[email protected]>wrote:it is easier if you keep the trunk and the release branches in differentShould committers download the entire ofbiz repository to help with backporting?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.Only bugs should be backported to active release branches (if they happenIs there a standard procedure new committers should follow for backporting?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 commitI was going to test my new committer privilege byapplying my OFBIZ-6387.patch. Should I apply it to the release branchesalso?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
