From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 26 07:09:44 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0E1B106566B; Wed, 26 Jan 2011 07:09:44 +0000 (UTC) (envelope-from gleb.kurtsou@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 14E158FC12; Wed, 26 Jan 2011 07:09:43 +0000 (UTC) Received: by wwf26 with SMTP id 26so602542wwf.31 for ; Tue, 25 Jan 2011 23:09:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=3Nm/5GyYuuD7d1Qh16Z5zYBULC3iOS1XgJ+K5Mct1jE=; b=m9+2zbtyTz66VHlJjIar5DIRxep3qLuvRe8EZFmxSSGYYF5c+776svFBj+uZ1cTm0d N0D4N/A7BHE+nDKxb1IgR1xEi8p56l9bn9En3kOZ0F31eIAj0YEtszimL5VLk4kZQZUB 3Rrw9w+GeVIA4OLUUNTX8o7N5fDaki3lUP8aM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=F6VcF729EGqjwzm0ZrGAiDMKZVj9U5mOSOJSlcP1P8gCq8gZzQE2xM/eJIjQ5nMBub 3QGoZtsAFR8RZR9Y9PeM9hZJRWILObYF2nVUwR13kBBqRa2lpzPvw7G2/lwcnuuqKNtm Sa0OGimOehlN+1sms9+jtLQYEJ6gYUDV5e+h4= Received: by 10.227.154.129 with SMTP id o1mr7119974wbw.109.1296025781940; Tue, 25 Jan 2011 23:09:41 -0800 (PST) Received: from localhost (lan-78-157-92-5.vln.skynet.lt [78.157.92.5]) by mx.google.com with ESMTPS id u9sm624196wbg.6.2011.01.25.23.09.39 (version=SSLv3 cipher=RC4-MD5); Tue, 25 Jan 2011 23:09:40 -0800 (PST) Date: Wed, 26 Jan 2011 09:09:32 +0200 From: Gleb Kurtsou To: Alexander Best Message-ID: <20110126070932.GA3086@tops.skynet.lt> References: <20110124113306.GA79890@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110124113306.GA79890@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Garrett Cooper , "Simon L. B. Nielsen" , Matthew Fleming , freebsd-hackers@freebsd.org, Mike Tancsa Subject: Re: Why not give git a try? (was "Re: [head tinderbox] failure on amd64/amd64") X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2011 07:09:44 -0000 On (24/01/2011 11:33), Alexander Best wrote: > On Mon Jan 24 11, Garrett Cooper wrote: > > On Sun, Jan 23, 2011 at 9:16 PM, Peter Jeremy wrote: > > > On 2011-Jan-21 20:01:32 +0100, "Simon L. B. Nielsen" wrote: > > >>Perhaps we should just set the tinderbox up to sync directly of cvsup-master instead if that makes it more useful? > > > > > > Can cvsup-master still lose atomicity of commits?  I suspect it can, > > > in which case syncing directly off the SVN master would seem a better > > > approach. > > > > I've seen a lot of `self-healing' failures lately w.r.t. cvsup, so I > > wonder if it's time to look at another solution to this problem as > > these annoying stability issues don't appear to be going away. What > > about git? > > > > Just some things I'm able to rattle off that come to mind with git.. > > it would also be nice to have github running on freebsd.org. that way it would > be much easier to discuss src changes without having to point people at a file, > a function or even a specific line. also it would finally kill the > mailinglists, which have lots of issues: spam, broken mailman installation, > people going berserker when they see lines > 80 etc. there have been a few > attempts to introduce a code review system, but since that was all hosted on > foreign websites the idea never cought on and afaik those websites weren't > being supported/promoted by freebsd.org. Having github would be nice, but it's not open source. Another option could be gitorious, there are merge requests with review option[1], patch review, already hosted freebsd repository[2]. All we need as a first step is developers starting accepting merge requests from each other, people use it already[3]. 1. http://blog.gitorious.org/2009/11/06/awesome-code-review/ 2. http://gitorious.org/freebsd 3. http://gitorious.org/freebsd/repositories > but personally i don't expect a change like this to happen in the near future. > basically most of the freebsd administrative people are quite conservative. i > wouldn't be surprised if some them are still trying to run freebsd on their > typewriters. ;) > > cheers. > alex > > > > > Some arguments `for git'... > > > > 1. One tool to rule them all: > > - cvsup/csup can be replaced with git archive [1]. > > - cvs git scales a bit better. > > - less support cost for p4 and lower likelihood of downtime in the > > event of critical failure (perforce's proprietary DB is a pain to > > recover I've recently discovered from other dealings). > > - svn <-> cvs exporter is no longer required as it's all one SCM. > > - As a side-effect, the bits present in CVS and SVN would now be > > 100% in sync, unlike cvs which can lead svn in terms of commits (at > > least that was the case when I last talked to someone about version > > numbering in pkg_install done by re@). > > 2. More evolved tool: > > - branches are cheap and can be local or remote. > > - distributed SCM seem to work well with large groups of developers. > > - works better with branching and merging from what I've seen. > > > > Some arguments against git... > > - The one caveat to cvsup/csup that's awesome is its componentization > > capability, i.e. being able to selectively download components in src > > / ports; I'm not 100% sure but there doesn't appear to be a clear > > analog in git. It might be achievable through gits remote. in > > git-config, git-remote, etc, but I would need to prototype whether or > > not this is true. > > - Higher learning curve. > > - Some slightly annoying nits with stashing local changes when working > > on separate branches (need to talk to git maintainers). > > - > > > > Some more git experienced folks could comment here, but it would > > be nice to unify all of the systems under `one flag' for the sake of > > simplicity and hopefully the sanity of the tool maintainers (Simon, et > > all). > > Thanks! > > -Garrett > > -- > a13x > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"