Hi everyone,thank you all for your feedback. It seems that we have consensus to switch over to Git.
I'll prepare a Wiki page to start documentation on the processes and the needed steps to make the switch. I'll take over the topics mentioned in this thread (Taher's initial proposed workflow, Jacques notes about build scripts, auto-props etc.).
We should then finish the process description, maybe discuss and decide upon and then plan the technical switch.
Makes sense? Best regards, Michael Am 23.01.19 um 07:37 schrieb Jacopo Cappellato:
+1 for Git! Jacopo On Sat, Jan 12, 2019 at 1:01 PM Michael Brohl <michael.br...@ecomify.de> wrote:Hi all, I'd like to revive this discussion again. Personally, I am now working with git for a few years and almost all customer and company related projects have moved to git over time. In the beginning, I found git complicated and less straight forward, a bit like Adrian mentioned in . But once I have understood the main principles and get used to it, I won't like to switch back to svn ever since. In my opinion, using git would make things much easier for collaboration. Taher thoroughly described them in the inital thread message. An important point for me would be that we could prevent premature commits just to get things to be tested. Features which take some time to be worked on or tested can be in separate branches which can be updated with the main branch constantly. So, from my point of view, we should again have a disussion and/or vote to see if the overall opinions have changed and if we could move to git. Thanks, Michael  http://markmail.org/message/m4z5b5qevqx7n6u7 Am 24.10.15 um 10:23 schrieb Taher Alkhateeb:Hello Everyone, I refer to the discussion about moving to git initiated by Hans Bakkerback in April. After a long, long discussion followed by a vote the community agreed that we should develop a more elaborate and formal workflow to vote on, as the initial vote was not detailed enough. Based on that, I have proposed a workflow to see if people are interested in it. But the topic just slowly died out.The links to both threads are listed below. I understand that there wasa lot of interest in the community as the thread was really long. I would like to revive the discussion and see if people are still interested in implementing / amending the proposed workflow if they find it appealing.discussion and vote thread :http://ofbiz.markmail.org/message/ldo77qz34kte4gat?q=move+to+git+from:%22Hans+Bakker%22+list:org.apache.ofbiz.dev&page=1workflow proposition thread :Taher Alkhateeb ----- Original Message ----- From: "Taher Alkhateeb" <slidingfilame...@gmail.com> To: email@example.com Sent: Wednesday, 24 June, 2015 5:25:31 PM Subject: Re: git commit workflow for ofbiz Hi Jacques, Very good read, thank you for sharing. The person who wrote complaining about gitflow (I think Adam Ruka) makesa good point. He prefers linear to branched history. I do not mind branched history myself as I know how to navigate it but to each his own. Either way, The workflow can be accomplished the way he suggested by rebasing rather than merging the history and making a few other changes like dropping "develop". It is up to community to decide, and git is flexible enough to accommodate any model.Taher Alkhateeb ----- Original Message ----- From: "Jacques Le Roux" <jacques.le.r...@les7arts.com> To: firstname.lastname@example.org Sent: Wednesday, 24 June, 2015 4:19:42 PM Subject: Re: git commit workflow for ofbiz Le 24/06/2015 14:06, Jacques Le Roux a écrit :If you get a chance to read these articles I highly recommend themOf course don't missJacqueshttp://endoflineblog.com/gitflow-considered-harmful http://endoflineblog.com/follow-up-to-gitflow-considered-harmful Jacques Le 12/05/2015 19:28, Adam Heath a écrit :Nice. This is quite thorough. There is an option missing. SVNcommitters who use git offline. In this case, their changes can be published asprimary SVN branches, for collaboration.. See OFBIZ-6271 in JIRA, andas an SVN branch, for an example.I've read through most of what follows, and am in agreement, but I'mdealing with hardware problems, so I need to let it sink in first.On 05/12/2015 04:43 AM, Taher Alkhateeb wrote:Hi everyone, This email refers to the thread for voting to move to git (link atbottom) in which the vote decision was to delay and elaborate on the workflowfirst. I am not well versed in ASF guidelines and appreciate any helpand feedback and also please note some of the below is my opinion and notnecessarily 100% factual. ## First, identified problems 1. patches can quickly be outdated if not applied quickly 2. big patches are hard to audit and not desired nor preferred and Itis hard to break big patches to smaller ones because if any of those patchesis outdated or modified then everything needs to be re-patched 3. to collaborate with other people (non-committers) freely on bigfeatures, we need a separate branch. On svn this is lengthy and heavilycontrolled. If we create a git repository then we need to constantlyupdate from svn and merge . Another solution is to clone the ofbiz read-onlygit repository but then there are some patch issues to convert themto clean svn patches (I faced a few including things like white space)4. a lot of _local_ offline freedom to branch, merge, commit, shareand experiment cannot be easily done without initiating a local git repositorywhich triggers the other problems identified above. 6. There are too many public branches in the repositoy. Some are notactive nor complete and quite old## Second, how does git provide solutions So, adopting git in relation to the above mentioned problems solvesthem as follows:1. even if a patch gets outdated, I can easily recreate it byswitching to a branch that I created and has the work (e.g. OFBIZ-12345), mergingeverything from trunk and re-patching 2. to allow for proper feedback by community, a pull request canreplace a big patch and that request can hold an X amount of commits each withits own message and diff details. If changes happen to any of thecommits, then reconciling that into the code base is minor, you just branchagain, do it, and merge. Furthermore, I suggest to follow theguidelines which recommend rebasing before pushing to a shared repository to keep anice linear history as much as possible as shown here ->3. large features can be done in a remote repository in github orbitbucket with pull requests when complete and ready for review.4. the issue is immediately solved with git which is not only localbut much, much faster6. We do not need to pollute the main repository with branches if wedecide on a distributed model like git with remote repositories to contributeto the project with pull requests. ## Third, proposed workflow I will make a distinction between small features / bug fixes andlarge features.### small features Small features follow the exact same workflow that currently existsin svn. You do your work, diff it, and attach the patch to a JIRA and requesta commit from one of the committers. ### large features For large features usually multiple people need to collaborate on aseparate branch. Here is where git shines and the distributed model kicks in:1. A JIRA is created for a large feature 2. The team (not necessarily having a committer) creates a remoterepository which itself may have many branches with the master branch having allthe work agreed upon and merged (actually, rebased) 3. The collaboration for this branch happens in the JIRA includingdiscussions, comments, and even links to the commits etc ...4. A request is made to a committer to make a pull request from therepository after reaching a certain milestone with consensus from thecommunity of course 5. Here, for extra safety, the branch model may have a trunk and adevelop branches. Everything is pulled to the develop branch and trickles downto the master branch after thorough and proper testing. The above workflow can also adhere to the now famous Vincent Driessengit branching model found here ->http://nvie.com/posts/a-successful-git-branching-model/ I am not sure whether this proposal is enough or correct so Iappreciate your guidance and feedback to fix whatever needs fixing.Taher Alkhateeb original voting thread:http://ofbiz.markmail.org/search/?q=move%20to%20git#query:move%20to%20git+page:1+mid:p62ofojcbb3oyoi4+state:results
Description: S/MIME Cryptographic Signature