From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] Clean all .go in clean-go Date: Fri, 16 Sep 2016 02:00:17 -0400 Message-ID: <20160916060017.GD14289@jasmine> References: <20160831232034.13748-1-ericbavier@openmailbox.org> <8760qgjugu.fsf@gnu.org> <874m5zokwp.fsf@gnu.org> <20160901203035.1ea32dee@openmailbox.org> <8737limq18.fsf@gnu.org> <20160916001540.617d9a54@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmCP-0008Vx-M0 for guix-devel@gnu.org; Fri, 16 Sep 2016 02:00:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkmCK-00052o-Vn for guix-devel@gnu.org; Fri, 16 Sep 2016 02:00:32 -0400 Content-Disposition: inline In-Reply-To: <20160916001540.617d9a54@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Eric Bavier Cc: guix-devel@gnu.org On Fri, Sep 16, 2016 at 12:15:40AM -0500, Eric Bavier wrote: > Another issue that I thought of that's posed by these stray .go files, > which isn't only a problem when acting as a wizard: introducing a new > module import when adding a package, only to have that module > moved/renamed before pushing your change. I suppose it is a corner > case, but it did happen to me recently, in 2e3f18511, which 宋文武 > kindly fixed in 19b2ea1b6. The problem was that between the time I > originally packaged tomb and the time I pushed the commit, > gnu/packages/zsh.scm was consolidated into gnu/packages/shells.scm. I > had done a `make clean-go && make` before pushing, as I always do, but > since clean-go didn't remove gnu/packages/zsh.go the subsequent `make` > didn't complain of a missing module. I accidentally did this to myself in c41d97bed6 (gnu: mupdf: Update to 1.9a.).