Return-Path: X-Original-To: apmail-horn-dev-archive@minotaur.apache.org Delivered-To: apmail-horn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F9A4175C6 for ; Wed, 7 Oct 2015 10:51:52 +0000 (UTC) Received: (qmail 82446 invoked by uid 500); 7 Oct 2015 10:51:52 -0000 Delivered-To: apmail-horn-dev-archive@horn.apache.org Received: (qmail 82412 invoked by uid 500); 7 Oct 2015 10:51:52 -0000 Mailing-List: contact dev-help@horn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@horn.incubator.apache.org Delivered-To: mailing list dev@horn.incubator.apache.org Received: (qmail 82399 invoked by uid 99); 7 Oct 2015 10:51:52 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2015 10:51:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id BF37E1A07F0 for ; Wed, 7 Oct 2015 10:51:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.151 X-Spam-Level: *** X-Spam-Status: No, score=3.151 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id IERtlyeiW5KQ for ; Wed, 7 Oct 2015 10:51:36 +0000 (UTC) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 66168439B6 for ; Wed, 7 Oct 2015 10:51:36 +0000 (UTC) Received: by wiclk2 with SMTP id lk2so207132943wic.0 for ; Wed, 07 Oct 2015 03:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=/j/KZavEdYQmGuTow+FdNrL9+Zb/ZtZUA9zaoIglQBQ=; b=ZNAZ5FhXNW10/pdkya5CpWuxtuEXlmipJA3+ydivTTciv0mB27Ly1T60hux3tALbva a8zIWOXk1gJHqjEaxp16ECblINVT30U+nP179ZGaGr8+2iBZUWA99twr9qxfEEXe6pYt +ObHtDdW14qUp9edSaIHRdH7+uJxXaSeAmiGeyEux0c0cAR3iy0adASqdUbgSle2n8pA Dh/2t4Cn+SqgoyAAV5MCEoNNmPOkgMHUH0Fvmsbtxcf68FRI6zXuj9MWuPRIV91GM6Fp UOly/nV4iYn+vql4IEFdOKEqW8zdJB+JzKES64Hzf6kxX0RytXt/DUnH3gL/i9rmYnDG CMcg== X-Received: by 10.180.86.129 with SMTP id p1mr1052544wiz.83.1444215095473; Wed, 07 Oct 2015 03:51:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.93.74 with HTTP; Wed, 7 Oct 2015 03:51:16 -0700 (PDT) In-Reply-To: References: <008401d1001b$85df83b0$919e8b10$@samsung.com> From: Behroz Sikander Date: Wed, 7 Oct 2015 15:51:16 +0500 Message-ID: Subject: Re: [DISCUSS] Community's development guidelines To: dev@horn.incubator.apache.org Content-Type: multipart/alternative; boundary=f46d04428630bebe32052181873f --f46d04428630bebe32052181873f Content-Type: text/plain; charset=UTF-8 Yea pretty much. All other tutorials also point to the same description. On Wed, Oct 7, 2015 at 3:43 PM, Edward J. Yoon wrote: > The main purpose of rebase seems related with > http://stackoverflow.com/questions/4603221/git-merge-in-only-one-commit > Am I right? :-) > > and, Is there other opinions about suggested branching model? > > On Wed, Oct 7, 2015 at 5:35 AM, Zachary Jaffee wrote: > > I am familiar with rebase, instead of thinking of it as a distinct > branches > > being fused together with master, think of it as you are plucking the > > branch you are rebasing off of and putting it on top of the master > branch. > > Generally the reason you'd want to do this is that your master branch is > > very linear in its structure, rather than storing old branches, as old > > branches, that were merged in. A good general git tutorial is > > http://pcottle.github.io/learnGitBranching/ but look at some of the > > tutorials that relate to rebasing, where there is one in most of the > > categories. > > > > On Tue, Oct 6, 2015 at 4:04 PM, Behroz Sikander > wrote: > > > >> *>>I heard that any open pull requests referencing master will need to > be* > >> *rebased* > >> Hmm I am also new to rebase command and it is just like the merge > command > >> with some internal differences. I do not understand your question fully. > >> > >> *>>**directly pushed changes to the master cannot be removed.* > >> I think removal is possible because once we committed credentials of > AWS on > >> github, we had to remove them from the commit history. > >> http://sethrobertson.github.io/GitFixUm/fixup.html > >> > >> On Tue, Oct 6, 2015 at 2:43 PM, Edward J. Yoon > > >> wrote: > >> > >> > +1 for having some extra branches. > >> > > >> > I heard that any open pull requests referencing master will need to be > >> > rebased, and directly pushed changes to the master cannot be removed. > >> > > >> > -- > >> > Best Regards, Edward J. Yoon > >> > > >> > -----Original Message----- > >> > From: Behroz Sikander [mailto:behroz89@gmail.com] > >> > Sent: Tuesday, October 06, 2015 6:20 PM > >> > To: dev@horn.incubator.apache.org > >> > Subject: Re: [DISCUSS] Community's development guidelines > >> > > >> > Hi, > >> > I have been using git for a while now and I think I can do this task. > If > >> > anyone is also looking to work on this task, he can join me :). > >> > > >> > Here is the git proposed workflow for contributors: > >> > http://www.apache.org/dev/git.html > >> > > >> > First, I think we should discuss our branching model in Git. > Currently, > >> we > >> > just have 1 branch "master" and to handle a project like Horn we might > >> need > >> > some extra branches to ease the development and deployment. Here is a > >> very > >> > good model that I have used previously and it will fit in our project > >> > nicely [1]. According to this model we should have the following > branches > >> > > >> > 1- master - The main branch (Trunk). It holds the horn's > production-ready > >> > code. > >> > 2- develop - All the current development work is merged here. This > work > >> is > >> > not yet released. > >> > 3- feature - These are temporary branches and once work is done in > these > >> > branches, it will be deleted and the code will be merged into develop > >> > branch. All contributors will create a feature branch on their local > git > >> > repos against a Horn Jira issue and once the development is complete > they > >> > can open a pull request. If the pull request is accepted then it will > be > >> > merged to develop branch. > >> > 4- release - A release branch will be created before any new release > of > >> > Horn. > >> > 5- hotfix - If there is a critical Jira issue and we need to fix it > asap > >> > then we create a new hotfix branch, fix the issue and merge the code > back > >> > in develop and master branches. > >> > > >> > This is a suggestion from my side and we can discuss on it. > >> > > >> > [1] http://nvie.com/posts/a-successful-git-branching-model/ > >> > > >> > Regards, > >> > Behroz > >> > > >> > On Tue, Oct 6, 2015 at 3:34 AM, Edward J. Yoon > > >> > wrote: > >> > > >> > > Hi forks, > >> > > > >> > > One of the items to be done is a draft of the community's > development > >> > > guidelines. Firstly, we have to define the rules: 1) Creating and > >> > > Applying Patches and Pull Requests 2) How to merge patches or pull > >> > > requests. > >> > > > >> > > Does anyone volunteer? Unfortunately, I'm a newbie to git. > >> > > > >> > > -- > >> > > Best Regards, Edward J. Yoon > >> > > > >> > > >> > > >> > > >> > > > > > > > > -- > > Zach Jaffee > > B.S. Computer Science > > Case Western Reserve University Class of 2017 > > Operations Director | WRUW FM 91.1 Cleveland > > Secretary | Recruitment Chair | Phi Kappa Theta Fraternity > > (917) 881-0646 > > zjaffee.com > > github.com/ZJaffee > > > > -- > Best Regards, Edward J. Yoon > --f46d04428630bebe32052181873f--