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: Re: Git mirrors Date: Thu, 13 Oct 2011 02:10:25 +0200 Message-ID: <87hb3dda4u.fsf@wanadoo.es> References: <83lissxj9a.fsf@gnu.org> <87k48by7ex.fsf@lifelogs.com> <83sjmywqc6.fsf@gnu.org> <877h49evsi.fsf@wanadoo.es> <83wrc93m42.fsf@gnu.org> <87pqi1dd2z.fsf@wanadoo.es> <87lispdbny.fsf@wanadoo.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318464643 12520 80.91.229.12 (13 Oct 2011 00:10:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2011 00:10:43 +0000 (UTC) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: John Wiegley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 13 02:10:39 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RE8sh-0007QU-2p for ged-emacs-devel@m.gmane.org; Thu, 13 Oct 2011 02:10:39 +0200 Original-Received: from localhost ([::1]:41176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE8sg-0006BP-Gj for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 20:10:38 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE8sZ-0006B6-CR for emacs-devel@gnu.org; Wed, 12 Oct 2011 20:10:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RE8sY-0001vf-F7 for emacs-devel@gnu.org; Wed, 12 Oct 2011 20:10:31 -0400 Original-Received: from impaqm4.telefonica.net ([213.4.138.20]:44316 helo=telefonica.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE8sY-0001vV-3g for emacs-devel@gnu.org; Wed, 12 Oct 2011 20:10:30 -0400 Original-Received: from IMPmailhost6.adm.correo ([10.20.102.127]) by IMPaqm4.telefonica.net with bizsmtp id k0AM1h00Y2kvMAa3Q0ATNj; Thu, 13 Oct 2011 02:10:27 +0200 Original-Received: from qcore ([83.45.165.175]) by IMPmailhost6.adm.correo with BIZ IMP id k0AR1h0043nNm431m0AS1W; Thu, 13 Oct 2011 02:10:27 +0200 X-Brightmail-Tracker: AAAAAA== X-original-sender: 981711563@telefonica.net In-Reply-To: (John Wiegley's message of "Wed, 12 Oct 2011 18:57:35 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.4.138.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145084 Archived-At: John Wiegley writes: > This was still too slow for something that must run on every branch, for every > hour. Instead, I'm making a file available which maps Bzr revision ids to Git > commits: > > http://ftp.newartisans.com/pub/emacs/commit-map.txt.gz > > Each individual will have to map Git commits to Bzr revision ids to Bzr rev > numbers as needed. I.e., with bash: > > commit_to_id() { > bzr revision-info $(zgrep " $1" commit-map.txt.gz \ > | awk '{print $1}') \ > | awk '{print $1}' > } > > echo $(commit_to_id f32fa9ed) > > The other files have been taken down, since they do not add any information. > > Also, please copy this file to your local machine when you really need to > update it. Bandwidth costs and I'm not sure yet how much this will add up. Have you considered implementing the above script as a CGI service on your web server? I don't think that people will need to consult the service more than a few times per day. A single download of the map file will use more bandwith than the cgi script on a whole year.