From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Fixing repository conversion errors. Date: Thu, 13 Nov 2014 06:43:08 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20141113114308.GA30912@thyrsus.com> References: <20141113031255.GA21938@thyrsus.com> Reply-To: esr@thyrsus.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1415879014 27047 80.91.229.3 (13 Nov 2014 11:43:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2014 11:43:34 +0000 (UTC) Cc: Bob Proulx , Emacs development discussions To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 13 12:43:28 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 1XosoA-0003GS-TA for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2014 12:43:27 +0100 Original-Received: from localhost ([::1]:59158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XosoA-0007Mq-I2 for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2014 06:43:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xosny-0007Dz-SH for emacs-devel@gnu.org; Thu, 13 Nov 2014 06:43:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xosns-00071B-O6 for emacs-devel@gnu.org; Thu, 13 Nov 2014 06:43:14 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:46243 helo=snark.thyrsus.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xosns-000714-Kj for emacs-devel@gnu.org; Thu, 13 Nov 2014 06:43:08 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 1000) id 48CB938050A; Thu, 13 Nov 2014 06:43:08 -0500 (EST) Content-Disposition: inline In-Reply-To: X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 71.162.243.5 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:176889 Archived-At: Dani Moncayo : > Merge from emacs-24; up to 117669 > Merge from emacs-24; up to 117687 > Merge from emacs-24; up to 117689 > Revert 118323. > Merge from emacs-24; up to 117691 > Merge from emacs-24; up to 117698 > Merge from emacs-24; up to 117702 Well, crap. I don't know how those got by me. It probably has someting to do with them all being bare numbers rather than prefixed with "r" or "rev.". There were an awful lot of false matches for [0-9][0-9][0-9][0-9][0-9] that I has to wade through by hand. There were anout 700 changes of this kind, all told. The cost if fixing this is: (a) when I do it, everyone will have to reclone afterwards. (b) Probably about four hours of repo downtime. It won't be ten this time because I don't have to do another full conversion, just edit a pulled copy, repack it, and upload it. It won't be any worse if we wait a week than if I do it tomorrow. I'm inclined to wait for a bit and see if any other minor problems turn up. Ideally we only want to have to do this once. 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? -- Eric S. Raymond