Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56941 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90241 invoked from network); 15 Dec 2011 21:57:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Dec 2011 21:57:05 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.42 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.42 mail-qw0-f42.google.com Received: from [209.85.216.42] ([209.85.216.42:36477] helo=mail-qw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C5/24-61251-F2D6AEE4 for ; Thu, 15 Dec 2011 16:57:03 -0500 Received: by qabj40 with SMTP id j40so588494qab.8 for ; Thu, 15 Dec 2011 13:57:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vSjxIDD8Ly2Ux2HPTgKgm+ZjGLvS2ZfMLAsjhWV+GvA=; b=XjGF/UFmIvfHU4yDneFvXmah5aCc3dJBK1GbyXXkK9ynlq3ri7+2oQsrqSrGo8nRpS 5H/y3QM7c03LpwL6qSBvPEeeZvCOzQ9qZoHStbcexs5qQ/lbpJmq6BNADmfWL7mKkBK+ iT7xoGyqb8/+2HOyeUccKcVcl4yKAUqhQn76U= MIME-Version: 1.0 Received: by 10.224.192.8 with SMTP id do8mr8361092qab.46.1323986220232; Thu, 15 Dec 2011 13:57:00 -0800 (PST) Received: by 10.229.54.140 with HTTP; Thu, 15 Dec 2011 13:57:00 -0800 (PST) In-Reply-To: References: Date: Thu, 15 Dec 2011 22:57:00 +0100 Message-ID: To: David Soria Parra Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=20cf30050c68582f4304b42890c9 Subject: Re: [PHP-DEV] Git Migration: An Update From: tyra3l@gmail.com (Ferenc Kovacs) --20cf30050c68582f4304b42890c9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Dec 15, 2011 at 5:12 PM, David Soria Parra wrote: > Hi Internals, > > three months ago we decided to move PHP to Git. I want to give you > an update what happend so far and what we are working on. > > So far we have: > > 1. A working import from php-src. > 2. A basic server setup. > 3. A working Karma implementation. > > A little bit more details: > > We will use y3.php.net as our git server. This server will run nginx > as a webserver. We will provide a web frontend using gitweb. You can > pull using HTTP and Git protocols. Pushs will be done usign HTTPS only. > You will use the same credentials that you used for SVN. A new Karma > implementation was written and will be tested within the next weeks. > > The minimum required Git version for cloning using the Git protocol > will be 1.4.0. The minimum for pushing will be Git 1.6.5.3. > > The migration will require some adjustements to the repository and > a proper migration of SVN properties. We also need to rewrite author > information on the repository. The Git Author information consists > of a name and a email address. Therefore we will rewrite the autor > information and use your stored Name and your username@php.net email > address as the new author information. For example: > > SVN commit author | Git commit author > ------------------------------------ > dsp | David Soria Parra > gwynne | Gwynne Raskind > > IMPORTANT: If you do not like us to use the name stored in the master > DB for your account please let me know and we will change that. > > About SVN properties: We will not use 'keywords' anymore, unless > a certain code needs it. I'm aware that code like reflection use > the keyword information in their phpinfo() text. Should we enable > keywords for this file or do we change the code? > With the transition to Git one of the main attributes of keywords > are gone. Git version nuimbers are not incremental so I don't see > much point in using them anymore. > > SVN ignores will be converted to a .gitignore file. > > TODO (What comes in mind atm): > > 1. Compile a list of scripts/sites that need to be changed in order > to work with the git repo. Some sites are already on the list: > - http://ci.qa.php.net > - http://snaps.php.net > - http://edit.php.net > - http://lxr.php.net > 2. Finish the setup of the y3.php.net server. We need to figure > out how to make http digest auth work nginx. We also need to > setup email hooks, etc. > 3. Test the current karma implementation. More details will follow. > 4. Setup github mirroring > > Helping with the migration: > > Help is always appreciated. There are differnet ways in helping. > One is preparing the listed sites (ci.qa.php.net) for the git > transition. Help with setting up the server is also much apprecaited. > Just drop me a mail if you have some time to help. > > Schedule: > I hope to get the server and the migration ready for the end of this yea= r > and probably do the switchover in the last week of december or the first > week of january, as I don't expect much commits during the holidays. > This will probably line up with the 5.4.0 release. > > Github: > There was a lot of discussion if we can use github as our main > hosting platform. I spoke to github people and they said it's not > possible to implement the PHP Karma system on github without rewriting > major parts of github. Two solutions were discussed. > > (1) Only a bot can merge changes into the main repository. All committer= s > will use pull requests. The bot checks for Karma. This approach will > substantially extend the roundtrip time commit <-> karma check and will > make every commiter wait a few seconds before he gets a status if he > is able to commit. We also would need to deal with failing automatic > merges > and every developers needs to use the github GUI to create pull requests= . > > (2) Split the PHP repository into submodules accoriding to karma. This > will > mean we will end up with dozents of submodules. This will split > commits apart. If you commit to ext/standard and Zend/ you will end > up with different 3 commits. > > For me the overall conclusion is, that we take one step at a time and sel= f > host with > github mirroring, but feel free to discuss alternatives. > > We will however support a direct mirror to github that makes it possible > to use > discuss pull requests on github.com, and then merge them locally (which > you should > anyway as you want to run the test suite before you push). > > This is just a short version of what we did so far. > > Questions? > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > thanks for the heads up. for the jenkins cluster (ci.qa.php.net) migration the following steps are necessary: - install the git plugin (already done because we pull symfony from git(hub)) - install the git cli client on all slaves used for building php-src (it is installed on the master node, installing on the linux/freebsd slaves would be trivial, for windows I would go with msysgit) - change the project configuration to use the git repo instead of the svn I don't think that it would take much effort, nor do I expect surprises, but I will set it up ASAP, so that we can sort it out before pulling the plug. websvn/viewvc: we would need to replace those and the links for those, and there is also a bunch of wiki pages to update (how to contribute, fetching the source, etc) this is the things from the top of my head. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --20cf30050c68582f4304b42890c9--