From owner-freebsd-arch@FreeBSD.ORG Tue Aug 30 20:14:00 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC067106564A; Tue, 30 Aug 2011 20:13:59 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7A5558FC0A; Tue, 30 Aug 2011 20:13:59 +0000 (UTC) Received: from localhost (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by acme.spoerlein.net (8.14.4/8.14.4) with ESMTP id p7UKDwGg087530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 30 Aug 2011 22:13:58 +0200 (CEST) (envelope-from uqs@spoerlein.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1314735238; bh=EMC4bBdpAkPG/hvOksFG1f4uhbImlm8Ota8VMPHeKz0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=Vsh7W6iR1eumYDkKpOV9gyoa311PrNSFoPPfXqYHOhJu1cNO0FSQKQc4/tu92pgkI NerK6v8liwzPN6OQDDHPIbO9W76px9P1NaA/KmmtsxLP1p0y25KZ0yhb0fx4JHtTTN ugtMXQlHJOOGlMxL476Hwk5AED+vN8UiHaRkIFcY= Date: Tue, 30 Aug 2011 22:13:57 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: "K. Macy" Message-ID: <20110830201357.GB58638@acme.spoerlein.net> Mail-Followup-To: "K. Macy" , Julian Elischer , freebsd-arch@freebsd.org References: <4e5ba9c3.bzHIw1KEy8R2QcK7%perryh@pluto.rain.com> <3420B331-C697-468A-80BA-B31C33804710@freebsd.org> <4e5c5b5f.moT7dLemOuteQJ5T%perryh@pluto.rain.com> <4E5C364D.7070904@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-arch@freebsd.org Subject: Re: Official git export X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2011 20:14:00 -0000 On Tue, 2011-08-30 at 03:57:28 +0200, K. Macy wrote: > > With a distributed system one spends all sorts of time making sure that what > > YOU think > > is in release X is what the guy you are helping debug thinks is in it.. > > > > Gone is the ability to say "That came in with rev 23456 so if you are later > > than that you have it." > > > > p4 does a much better job of merging between branches etc because it has teh > > big picture. > > and you always know that if someone has change X that he also has change Y. > > > > Eventually one gets around these problems with distributed systems > > by using the distributed system to simulate a non distributed system. > > > > In order to maximize the value of this discussion it would be helpful > to identify what we're collectively seeking to accomplish. > > The value that I see in git is as a replacement for what FreeBSD > developers use / used perforce for: Independent project development > outside of the main tree. While svn makes this much easier than CVS > ever did, git makes it easier still. Questions of what is canonical or > not are irrelevant when the objective is to increase parallelism and > small scale coordination between developers. The two problems that I > see are: > 1) FreeBSD has a lot of history by git standards > 2) the /usr/src tree is too inclusive when one's main concern is, say, > working on part of the kernel that may break ABIs > > Being able to control how far back in time one's repo goes and being > able to have some control over views would go a long way towards > streamlining its use for FreeBSD. Utterly irrelevant. A partial checkout won't make git noticeably faster, as it is pretty darn fast already. Believe me. A truncated history might save you up to 150MB, also totally not worth the effort, especially because then your custom git repo has different hashes and fetching/merging other peoples branches becomes impossible. Furthermore, the point with git is to have multiple branches in your workspace and switch between them (again, this is frigging fast). I was juggling 8-10 branches at one time and have never had the need to create a second workspace ('git stash' being the keyword here). Please have a look at http://wiki.freebsd.org/GitWorkflow and try it out! Uli