From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bzr repository ready? Date: Sun, 22 Nov 2009 21:45:51 -0500 Message-ID: References: <87zl6vskq0.fsf@red-bean.com> <874op07kb0.fsf@red-bean.com> <87639fr3w7.fsf@red-bean.com> <87vdhfpil2.fsf@red-bean.com> <87einvxy9c.fsf@red-bean.com> <20091118230952.GB908@muc.de> <87my2jw05z.fsf@red-bean.com> <83skc9pbf7.fsf@gnu.org> <87iqd5vw5n.fsf@red-bean.com> <83hbsop394.fsf@gnu.org> <87hbsm414e.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258944372 13766 80.91.229.12 (23 Nov 2009 02:46:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2009 02:46:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 23 03:46:04 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NCOwG-0003bl-48 for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2009 03:46:04 +0100 Original-Received: from localhost ([127.0.0.1]:50296 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCOwF-0007eS-35 for ged-emacs-devel@m.gmane.org; Sun, 22 Nov 2009 21:46:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCOwA-0007eE-4L for emacs-devel@gnu.org; Sun, 22 Nov 2009 21:45:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCOw5-0007dl-KS for emacs-devel@gnu.org; Sun, 22 Nov 2009 21:45:57 -0500 Original-Received: from [199.232.76.173] (port=36859 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCOw5-0007di-FJ for emacs-devel@gnu.org; Sun, 22 Nov 2009 21:45:53 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:61182 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCOw4-0001ak-UP for emacs-devel@gnu.org; Sun, 22 Nov 2009 21:45:53 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAK+GCUvO+IIa/2dsb2JhbACBTdF8hDwEigI X-IronPort-AV: E=Sophos;i="4.47,268,1257138000"; d="scan'208";a="49823779" Original-Received: from 206-248-130-26.dsl.teksavvy.com (HELO ceviche.home) ([206.248.130.26]) by ironport2-out.pppoe.ca with ESMTP; 22 Nov 2009 21:45:52 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 155DBB40C9; Sun, 22 Nov 2009 21:45:51 -0500 (EST) In-Reply-To: <87hbsm414e.fsf@telefonica.net> (=?iso-8859-1?Q?=22=D3scar?= Fuentes"'s message of "Sun, 22 Nov 2009 23:59:29 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117544 Archived-At: >> scp -r bzr.sv.gnu.org:/srv/bzr/emacs . >> cd emacs/trunk; bzr checkout >> bzr pull sftp://bzr.sv.gnu.org/srv/bzr/emacs/trunk > I think you are partially wrong on this. With the scp you are cloning > (in the filesystem meaning) the directory where the GNU emacs repository > lives. This includes all branches, which means all VC metadata (history, > etc). Yes, that's right. I don't thin kI implied otherwise. > I guess that the administrators used the --no-trees option when > they created the repository. Could be. But it's not relevant to the above example. > The `pull' you do at the end is unnecessary because you already have > the most recent data from the repository. The purpose is not to get the most recent data. It's two fold: 1- to set the .bzr/branch/branch.conf's parent_branch. 2- so that the same recipe can be used if you download a tarball (just eplace the scp with wget+untar), in which case the pull will be useful to download the latest revision. > Your recipe is the right one for testing the CVS->bzr conversion (check > that all CVS branches and tags are there, etc). But for hacking, IMO scp > is highly discouraged, as there is no guarantee that you obtain the > repository on a consitent state That's a good point. Really we'll want to recommend the wget+untar recipe and avoid the scp alotogether. > and it may completely fail if the administrators fuse the emacs repo > into a global bzr repo for all GNU projects. Don't worry about this. It wouldn't make any sense whatsoever. > Besides, you usually are interested on one or two branches, > not on the whole repository. The time it takes to "bzr clone" a single branch from the Emacs repository is many times larger than downloading the tarball containing every single banch. Actually, the Emacs history doesn't have many branches, so there really is little difference between "just the trunk" and "everything under the sun". > So for hacking the best thing is to > # Initialize a shared repository: > $ bzr init-repo emacs-dev > $ cd emacs-dev > # Get the branch you are interested on: > $ bzr branch sftp://bzr.sv.gnu.org/srv/bzr/emacs/trunk Even with a very fast connection to the internet, this step takes ages. Given the current state of Bzr optimization, I don't think we should impose this kind of hassle on our potential contributors. That's why the current plan is to offer a tarball which could be updated once a month or so. > Please note that the tarball method gives you the state of the project > at the time it was made, but of course you want to update your files > whenever necessary. For that you need read-only access to the > repository. If you can give http access to bzr.sv.gnu.org/srv/bzr/emacs, > forget about the tarballs and be done with that. There is http access already: http://bzr.savannah.gnu.org/r/emacs But again, the problem is the inefficiency of Bzr. Stefan