Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VmPRT-0008Je-Ex for mharc-grub-devel@gnu.org; Fri, 29 Nov 2013 09:53:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmPRQ-0008DN-17 for grub-devel@gnu.org; Fri, 29 Nov 2013 09:53:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VmPRO-00065o-O5 for grub-devel@gnu.org; Fri, 29 Nov 2013 09:53:11 -0500 Received: from v6.chiark.greenend.org.uk ([2001:ba8:1e3::]:55898 helo=chiark.greenend.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VmPRO-00065i-Ht for grub-devel@gnu.org; Fri, 29 Nov 2013 09:53:10 -0500 Received: from [172.20.153.9] (helo=riva.pelham.vpn.ucam.org) by chiark.greenend.org.uk (Debian Exim 4.72 #1) with esmtps (return-path cjwatson@ubuntu.com) id 1VmPRN-0005DX-GT for grub-devel@gnu.org; Fri, 29 Nov 2013 14:53:09 +0000 Received: from ns1.pelham.vpn.ucam.org ([172.20.153.2] helo=riva.ucam.org) by riva.pelham.vpn.ucam.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1VmPRM-0000pZ-4Y for grub-devel@gnu.org; Fri, 29 Nov 2013 14:53:08 +0000 Date: Fri, 29 Nov 2013 14:53:06 +0000 From: Colin Watson To: grub-devel@gnu.org Subject: Re: Broken gfxterm_menu tests Message-ID: <20131129145306.GE16321@riva.ucam.org> References: <20131118152359.GA22921@riva.ucam.org> <528A3BE5.1010507@gmail.com> <20131118180059.GB22921@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20131118180059.GB22921@riva.ucam.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:ba8:1e3:: X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2013 14:53:13 -0000 On Mon, Nov 18, 2013 at 06:00:59PM +0000, Colin Watson wrote: > On Mon, Nov 18, 2013 at 05:10:13PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > Colin Watson wrote: > > > Is this specific to my environment, or is it happening for everyone? In > > > the latter case I guess the checksums ought to be updated. > > > > Judging by your other commits you don't have locales installed. The > > tests you point check for gettext among other things. > > I certainly have locales installed in general, but since I'm running > from a clean git checkout I don't have po/*.po in place. Are you saying > that that would cause this failure? > > I think our tests should pass when run from a clean git checkout, > without needing to fetch translations from an external source. For the life of me I cannot get this to pass. I tried running ./linguas.sh first, and patching grub-shell to pass --locale-directory to grub-mkrescue so that it's definitely using the PO files from the source directory; no luck as yet. Any help would be greatly appreciated. That said: I propose that we should occasionally run ./linguas.sh and commit the result to git. While these files are autogenerated from our point of view and our copies wouldn't be the furthest-upstream versions, they clearly aren't entirely machine-generated so I think it is reasonable to store them in revision control. This would have at least the following advantages: * Our build processes would no longer be vulnerable to an external server potentially going down for an extended period of time; we'd be stuck with outdated translations until somebody fixed it or came up with a workaround, of course, but that usually isn't fatal. * It would be easier to manage branches of stable releases, rather than assuming that translations downloaded for trunk will match the POT files for a stable release. * Tests would be able to pass from a clean git checkout without relying on an external server, improving QA reliability. * It would be easier to make and test branches while offline. * The translations shipped with a release tarball could be tagged in git so that it's easy to investigate bugs in them. * Downstream distributors would be able to use git branches without having to fill in additional files. (This has been a low-level annoyance for me for some time.) What do you think? -- Colin Watson [cjwatson@ubuntu.com]