Return-Path: Delivered-To: apmail-infrastructure-dev-archive@minotaur.apache.org Received: (qmail 57814 invoked from network); 3 May 2009 14:10:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 May 2009 14:10:40 -0000 Received: (qmail 42575 invoked by uid 500); 3 May 2009 14:10:40 -0000 Delivered-To: apmail-infrastructure-dev-archive@apache.org Received: (qmail 42460 invoked by uid 500); 3 May 2009 14:10:39 -0000 Mailing-List: contact infrastructure-dev-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: infrastructure-dev@apache.org Delivered-To: mailing list infrastructure-dev@apache.org Received: (qmail 42450 invoked by uid 99); 3 May 2009 14:10:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 May 2009 14:10:39 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.18.2.155] (HELO exprod7og101.obsmtp.com) (64.18.2.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 03 May 2009 14:10:28 +0000 Received: from source ([209.85.217.180]) by exprod7ob101.postini.com ([64.18.6.12]) with SMTP ID DSNKSf2lvfSqNJ26Uf0G4EZNLbeYOC+Iz1T3@postini.com; Sun, 03 May 2009 07:10:08 PDT Received: by gxk28 with SMTP id 28so316968gxk.23 for ; Sun, 03 May 2009 07:10:05 -0700 (PDT) Received: by 10.90.94.15 with SMTP id r15mr3278570agb.10.1241359804447; Sun, 03 May 2009 07:10:04 -0700 (PDT) Received: from ?192.168.1.3? (cpe-72-179-45-126.austin.res.rr.com [72.179.45.126]) by mx.google.com with ESMTPS id 2sm8880899agd.34.2009.05.03.07.10.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 May 2009 07:10:03 -0700 (PDT) Message-Id: From: Jason van Zyl To: infrastructure-dev@apache.org In-Reply-To: <510143ac0905030420w4cefc882q33651c7877108b63@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Moving Git instructions to www.apache.org Date: Sun, 3 May 2009 07:10:02 -0700 References: <510143ac0905030420w4cefc882q33651c7877108b63@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org The only thing I would comment on here is that it would be far better to create a workflow that harnessed the power of git so that we don't have to make patches. If a group agrees that a GIT repo is tied to SVN and you allow the community to pull from that and you have Gerrit wired into the workflow then there is a complete history of submission with CLA tracking and then we don't have to process patches. It is extremely easy to do code review on submissions, make comments, push it back to the contributor for further changes, perform further review and ultimately pull into a repository and merged with SVN. On 3-May-09, at 4:20 AM, Jukka Zitting wrote: > Hi, > > I'm about to start migrating some of the Git instructions we currently > have on the wiki to a more "official" location on the www.apache.org > web site. > > See below for my first shot at the content I'm about to publish at > http://www.apache.org/dev/git.html. As a new part I'm including a > section with a proposed workflow for contributors that use Git. The > instructions for the committer workflow IMHO still need some work so > for now I was thinking of leaving them on the wiki. > > Once I have this page published, I'll be posting an entry on the Infra > blog about the Git mirrors we have. > > BR, > > Jukka Zitting > > > > > > > Git access to Apache codebases > > >
> Git access to Apache codebases >

> The Apache Software Foundation uses > Subversion as the > main > version control > infrastructure, > but we also provide some level of support to users of the > Git version control system. > This page describes how you can use Git with Apache codebases. >

> > > >
> Git mirrors >

> We maintain read-only Git mirrors of many Apache codebases at > http://git.apache.org/. > These mirrors contain the full version histories (including > all > branches and tags) of the mirrored codebases and are > updated in > near real time based on the latest svn commits. >

>

> The mirrors can be cloned or pulled from using got the Git > and > HTTP protocols. See the mirror page for the available clone > URLs. >

>

> Please file an > INFRA > issue (component: Git) to request a new codebase to be > mirrored > or to change the settings of an existing mirror. When > requesting > a new mirror, please include the following information: >

>
    >
  • > Name of the codebase, for example "Apache Tika" >
  • >
  • > Name of the requested Git mirror, for example "tika.git" >
  • >
  • > Subversion path of the codebase, for example "/lucene/ > tika/" >
  • >
  • > Subversion layout, in case it is different from the > standard > "trunk, branches, tags" structure. >
  • >
>
> >
> Proposed workflow >

> This is a proposed workflow for using Git with an Apache > codebase. > This workflow is mainly targeted to contributors who don't > already > have commit access to a project. >

>

> Once you have cloned or pulled the latest changes to your > local > Git repository of an Apache codebase, you can start working > on it. > Whenever you make some changes to the codebase, it's good > to have > a related issue filed in the issue tracker of the project > and to > use a similarly named branch in your Git repository. For > example, > to create a branch for an issue with the key TIKA-123. >

>
git branch TIKA-123 origin/trunk
>

> With per-issue branches you can easily switch back and > forth between > different issues without worrying about unwanted side- > effects from > unfinished changes to other issues. Whenever you want to > work on > the TIKA-123 example issue, simply checkout that branch and > start > making your changes. >

>
git checkout TIKA-123
>

> It's a good idea to commit your changes whenever you have > finished > one logical part of the issue. For example when > refactoring, make > a new commit for each refactoring step you take. >

>
git commit
>

> Once you're ready to share your changes with the rest of > the project > team, you can use the git format-patch command to produce a > nice > set of patches to attach to the relevant issue. >

>
git format-patch origin/trunk
>

> The sooner you share your work the better. You can repeat the > steps of this workflow as often as you like, producing more > patches > to be attached to the issue tracker. Once some of your > patches are > accepted and committed to svn, you can rebase your work > against the > latest trunk. Alternatively, if you're asked to make some > changes, > you can go back to the original Git commit and modify it > until the > project team accepts your changes. >

>
> >
> Ongoing improvements >

> Improvements to Git support at Apache are being discussed > on the > infrastructure-dev@ mailing list a>. > This list is open to everyone and is > > publicly archived. You can subscribe this mailing list by > sending a message to > > infrastructure-dev-subscribe@apache.org. >

>
> >
> >
Thanks, Jason ---------------------------------------------------------- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl http://twitter.com/SonatypeNexus http://twitter.com/SonatypeM2E ---------------------------------------------------------- Simplex sigillum veri. (Simplicity is the seal of truth.)