From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.devel Subject: Re: Fixing repository conversion errors. Date: Thu, 13 Nov 2014 09:41:02 -0700 Message-ID: <20141113092024526768767@bob.proulx.com> References: <20141113031255.GA21938@thyrsus.com> <20141113114308.GA30912@thyrsus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1415896912 17994 80.91.229.3 (13 Nov 2014 16:41:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2014 16:41:52 +0000 (UTC) To: Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 13 17:41:45 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XoxSe-0003wY-MM for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2014 17:41:32 +0100 Original-Received: from localhost ([::1]:60962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoxSe-0003IQ-As for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2014 11:41:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoxSH-0003I9-9m for emacs-devel@gnu.org; Thu, 13 Nov 2014 11:41:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoxSB-0003Cw-4g for emacs-devel@gnu.org; Thu, 13 Nov 2014 11:41:09 -0500 Original-Received: from joseki.proulx.com ([216.17.153.58]:41469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoxSA-0003Cs-TJ for emacs-devel@gnu.org; Thu, 13 Nov 2014 11:41:03 -0500 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 37AD121839 for ; Thu, 13 Nov 2014 09:41:02 -0700 (MST) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 21B162DC38; Thu, 13 Nov 2014 09:41:02 -0700 (MST) Mail-Followup-To: Bob Proulx , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <20141113114308.GA30912@thyrsus.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.17.153.58 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:176954 Archived-At: Eric S. Raymond wrote: > We need a procedure for this - I don't want us to lose another day and > a half. Copying Bob Proulx. Here's how I think it should go: > > (1) We test a blocking repo hook that says "Closed for all pushes." > > (2) We schedule a maintainance day. > > (3) On that day, the blocking hook goes in place. Repo is still > available read-only. > > (3) I fix a downloaded copy, repack it, and upload it to Savannah > as a tarball via ftp or scp. > > (4) Bob unpacks it on the same filesystem as the live repo, them moves > the directory into place (an atomic operation). > > Bob, are you willing to do this? Sure. Happy to help. Note that directory moves can't be atomic. But things can be switched pretty quickly. Considering everything I think that is good enough. A tar file or other is fine. But I can easily set up a uniquely named repository that only you know about and then you can simply upload to it and inspect the result afterward. That would create a git repository as you wish it to be. You can craft it in place. Then that can be swapped into place when you are happy with it. That would be my preference. But either way is fine. Bob