From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Making the tarball with bzr data (was: bzr repository ready?) Date: Tue, 24 Nov 2009 03:56:52 +0100 Message-ID: <873a44hbpn.fsf_-_@telefonica.net> 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> <87vdh29lfo.fsf@red-bean.com> <83k4xhoo0n.fsf@gnu.org> <87my2dhlko.fsf@telefonica.net> <87r5rpsnfw.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1259031602 6926 80.91.229.12 (24 Nov 2009 03:00:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Nov 2009 03:00:02 +0000 (UTC) Cc: Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 24 03:59:36 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 1NClcu-00038d-0v for ged-emacs-devel@m.gmane.org; Tue, 24 Nov 2009 03:59:36 +0100 Original-Received: from localhost ([127.0.0.1]:55181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NClct-0004tl-9q for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2009 21:59:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NClcn-0004t7-A2 for emacs-devel@gnu.org; Mon, 23 Nov 2009 21:59:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NClci-0004rx-Ct for emacs-devel@gnu.org; Mon, 23 Nov 2009 21:59:28 -0500 Original-Received: from [199.232.76.173] (port=60030 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NClci-0004rl-2V for emacs-devel@gnu.org; Mon, 23 Nov 2009 21:59:24 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:46804) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NClch-0007MG-2w for emacs-devel@gnu.org; Mon, 23 Nov 2009 21:59:23 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NClcc-00034G-I9 for emacs-devel@gnu.org; Tue, 24 Nov 2009 03:59:18 +0100 Original-Received: from 83.red-83-40-117.dynamicip.rima-tde.net ([83.40.117.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Nov 2009 03:59:18 +0100 Original-Received: from ofv by 83.red-83-40-117.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Nov 2009 03:59:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 83.red-83-40-117.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:LFntl96i//JgqitcpXCf0bVY9Ik= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:117659 Archived-At: Stefan Monnier writes: > But the hard part is to integrate those 3 starting points with the > "wget+untar" approach. There is a very simple & safe method for creating a tarball that just requires untarring at the other end. First, create a bound branch of `trunk' on a shared repository [1]: bzr init-repo emacs-repo bzr checkout http://bzr.savannah.gnu.org/r/emacs/trunk Now, the process of creating the tarball is: cd emacs-repo/trunk bzr update cd ../.. tar the emacs-repo directory The user just needs to download and untar to get a shared repository containing `trunk' with read-only access to the GNU repository. A `bzr update' is enough to get the latest changes and thus have a mirror of the branch on the GNU repository. If the user is an emacs hacker with write access rights, he does: cd emacs-repo/trunk bzr unbind bzr bind sftp://bzr.savannah.gnu.org/r/emacs/trunk And he is ready to start committing. [2] If the user needs access to other branches, obtaining them with bazaar just requires a few minutes, as only those revisions which are not common with `trunk' will be downloaded. If the user prefers other workflows, he has everything he needs, as he can create branches from the mirror bound branch or unbind the mirror branch, so this method is not restricted to the "bound work branch" workflow. Notes: 1. the `bzr init-repo emacs-repo' may require extra options for creating a shared repository with the most efficient format on bazaar versions previous to 2.0 2. something that hackers should do before the first commit is to identify themselves with the `bzr whoami' command: bzr whoami "Joe Hacker " -- Óscar