public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Chiheng Xu <chiheng.xu@gmail.com>
To: Tobias Burnus <burnus@net-b.de>
Cc: "H.J. Lu" <hjl.tools@gmail.com>,
	ja_walker@sbcglobal.net, GCC <gcc@gcc.gnu.org>
Subject: Re: Patch pinging
Date: Wed, 09 Jun 2010 06:13:00 -0000	[thread overview]
Message-ID: <AANLkTikR4ww1Yah9aZrWuEny1FjjahZMcrt6Wcd2Bi5x@mail.gmail.com> (raw)
In-Reply-To: <4C0E67EF.1000804@net-b.de>

On Tue, Jun 8, 2010 at 11:55 PM, Tobias Burnus <burnus@net-b.de> wrote:
> On 06/08/2010 05:42 PM, H.J. Lu wrote:
>>> Think about mercurial or git.  Every one can commit on his/her own
>>> local repository, and "publish" his/her repository.  [...]
>>
>> git is an excellent tool to create and share patches. Maybe we should
>> have an open gcc git mirror with gitweb and every contributor can create
>> his/her own branches and publish them.
>
> Well, we do: Goto http://repo.or.cz/w/official-gcc.git and click on "fork".
>
> I do like Git, but Git seems to make mostly sense if you have a small
> project on which you are working. If you have only a small patch (or a
> collection of small and unrelated patches), it won't help much.
>
> Additionally, I do not think that pulling from a branch will happen -
> rather that one creates patches from an (published or unpublished) git
> repository and submits them like normal.
>
> Thus, I do not think it helps with patch reviewing/tracking, though I
> believe it helps with developing patches.
>
> Tobias,
> who happily uses his private GCC git repository, which does not diverge
> much from the git master.
>

The philosophy behind DVCS(mercurial or git) is that,  any software
project is an evolution tree, like the one of the lives of Planet
Earth.  This evolution tree has a root, which is the UCA(Ultimate
Common Ancestor) of all lives. For the lives of Planet Earth, UCA may
be some kind of ancient micro-organism. For a software, UCA would be
the revision zero.

Everyone can make change to any revision, do some minor improvement,
to let the evolution tree to branch and grow.  Everyone can merge
other people's valuable branch/change in his/her own branch, this is
like bi-sex reproduction. Everyone can make his/her branch more
perfect to gain some survival advantage. The changes that will be in
the final releases is those whose branches have been merged into
trunk.  Everyone strive to let his/her branch be merged, otherwise
his/her branch will die. If someone's branch are rejected, he/she can
try to redo his change, maybe from an newer trunk revision. When
his/her changes meet some criteria, he/she can ask someone to review
his branches and selectively merge.

The died branch are never lost, it is stored in the repositories
persistently, and can revive at any time.

If someone's branch diverge far from the trunk, it may be very hard to
merge. So branches from a relatively newer trunk revision and have not
too many changes will be desirable.

In this method, you only need to note the branch(and its URL) to
review, instead of attach the patches.



By the way, I found mercurial are easier to learn and use.





-- 
Chiheng Xu
Wuhan,China

  reply	other threads:[~2010-06-09  0:52 UTC|newest]

Thread overview: 112+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-02 19:00 NightStrike
2010-06-02 20:54 ` Diego Novillo
2010-06-07 14:17   ` NightStrike
2010-06-07 14:26     ` Martin Guy
2010-06-07 15:00     ` Ian Lance Taylor
2010-06-07 19:24 ` Eric Botcazou
2010-06-07 19:36   ` NightStrike
2010-06-07 19:40     ` Eric Botcazou
2010-06-07 20:27     ` Paolo Carlini
2010-06-07 20:33       ` Ian Lance Taylor
2010-06-07 21:16         ` Paolo Carlini
2010-06-07 21:23           ` Ian Lance Taylor
2010-06-07 21:40             ` Paolo Carlini
2010-06-07 22:21               ` Andrew Pinski
2010-06-08  0:20                 ` Paolo Carlini
2010-06-08  0:35                   ` Manuel López-Ibáñez
2010-06-07 22:22               ` Ian Lance Taylor
2010-06-08 13:10                 ` Jonathan Wakely
2010-06-10 20:26                   ` Quentin Neill
2010-06-14 16:44                     ` Manuel López-Ibáñez
2010-06-14 17:14                       ` NightStrike
2010-06-14 22:08                       ` Quentin Neill
2010-06-07 21:16         ` Jeff Law
2010-06-07 21:22           ` Paolo Carlini
2010-06-07 21:43             ` Ian Lance Taylor
2010-06-08  1:13               ` Manuel López-Ibáñez
2010-06-08  4:43                 ` Paolo Carlini
2010-06-08 15:21                   ` NightStrike
2010-06-08 15:32                     ` Jeff Law
2010-06-08 15:50                       ` David Edelsohn
2010-06-08 19:21                       ` Basile Starynkevitch
2010-06-08 19:32                         ` Paolo Carlini
2010-06-08  5:44               ` Ben White
2010-06-08  7:35                 ` Chiheng Xu
2010-06-08  9:18                   ` Manuel López-Ibáñez
2010-06-08 15:53                   ` H.J. Lu
2010-06-08 15:55                     ` Manuel López-Ibáñez
2010-06-08 18:41                     ` Tobias Burnus
2010-06-09  6:13                       ` Chiheng Xu [this message]
2010-06-27  9:44                 ` Gerald Pfeifer
2010-06-27  9:55                   ` Tobias Burnus
2010-06-27 12:51                     ` Manuel López-Ibáñez
2010-06-27 17:45                       ` Richard Guenther
2010-06-27 19:33                       ` David Edelsohn
2010-06-27 21:18                         ` Manuel López-Ibáñez
2010-06-28  7:28                           ` David Edelsohn
2010-06-28  8:51                             ` NightStrike
2010-06-28 13:02                               ` David Edelsohn
2010-06-28 14:23                                 ` NightStrike
2010-06-28 20:02                                   ` David Edelsohn
2010-06-28 20:11                                     ` NightStrike
2010-06-28 21:00                                   ` Basile Starynkevitch
2010-06-28 21:25                                     ` Tobias Burnus
2010-06-28 21:43                                       ` Manuel López-Ibáñez
2010-06-28 21:56                                         ` Basile Starynkevitch
2010-06-28 22:33                                       ` Richard Kenner
2010-06-28 21:25                                     ` Richard Kenner
2010-06-28 21:25                                     ` David Edelsohn
2010-06-28 22:37                                     ` Joseph S. Myers
2010-06-28 23:53                                   ` Ian Lance Taylor
2010-06-29  5:53                                     ` NightStrike
2010-06-29  7:04                                       ` Ian Lance Taylor
2010-06-29 11:35                                         ` Richard Kenner
2010-06-29 11:49                                           ` NightStrike
2010-06-29 15:06                                             ` Ian Lance Taylor
2010-06-29 16:47                                               ` NightStrike
2010-06-29 16:50                                                 ` Ian Lance Taylor
2010-06-29 22:50                                                   ` Jonathan Corbet
2010-06-30  5:05                                                     ` Ian Lance Taylor
2010-07-01  5:22                                                       ` Mark Mitchell
2010-07-01 11:57                                                         ` Richard Kenner
2010-07-01 12:18                                                           ` Robert Dewar
2010-07-01 12:34                                                           ` Jonathan Corbet
2010-06-29  9:38                                       ` Jonathan Wakely
2010-06-29 12:01                                         ` NightStrike
2010-06-29 11:27                                     ` Manuel López-Ibáñez
2010-06-29 11:29                                       ` NightStrike
2010-06-29 14:09                                         ` Manuel López-Ibáñez
2010-06-29 14:29                                           ` NightStrike
2010-06-29 16:38                                         ` Ian Lance Taylor
2010-06-28 16:29                                 ` NightStrike
2010-06-28 17:13                                   ` Paolo Carlini
2010-06-30 17:44                                   ` Frank Ch. Eigler
2010-06-30 17:57                                     ` NightStrike
2010-06-30 18:02                                       ` Paolo Carlini
2010-06-30 19:16                                         ` NightStrike
2010-06-30 19:24                                           ` Paolo Carlini
2010-06-30 19:31                                             ` Paolo Carlini
2010-06-30 19:45                                       ` David Edelsohn
2010-06-30 20:38                                         ` NightStrike
2010-07-01 10:44                                           ` Paolo Bonzini
2010-07-01 12:33                                             ` Richard Kenner
2010-06-28 22:35                       ` Gerald Pfeifer
2010-06-28 22:46                         ` David Edelsohn
2010-06-08  7:32           ` Basile Starynkevitch
2010-06-08  7:42             ` Jonathan Wakely
2010-06-08  9:18             ` Paolo Bonzini
2010-06-08 11:17               ` Manuel López-Ibáñez
2010-06-08 11:30                 ` Manuel López-Ibáñez
2010-06-08 20:33                   ` Basile Starynkevitch
2010-06-08 20:37                     ` Paolo Bonzini
2010-06-08 23:04                       ` Dave Korn
2010-06-10 20:03                         ` Gerald Pfeifer
2010-06-07 20:31     ` Steven Bosscher
     [not found]     ` <20100607162348.wzulrgczs4sc8o4o-nzlynne@webmail.spamcop.net>
2010-06-07 20:33       ` NightStrike
2010-06-07 21:05         ` Joseph S. Myers
2010-06-08  9:14         ` Eric Botcazou
2010-06-08 15:08           ` NightStrike
2010-06-08 18:43             ` Eric Botcazou
2010-06-09  0:52             ` Martin Guy
2010-06-09  7:31               ` NightStrike
2010-06-09 21:12                 ` Martin Guy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikR4ww1Yah9aZrWuEny1FjjahZMcrt6Wcd2Bi5x@mail.gmail.com \
    --to=chiheng.xu@gmail.com \
    --cc=burnus@net-b.de \
    --cc=gcc@gcc.gnu.org \
    --cc=hjl.tools@gmail.com \
    --cc=ja_walker@sbcglobal.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).