From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= Subject: make packagers life easier Date: Sun, 15 Mar 2015 18:00:33 +0100 Message-ID: <20150315170032.GA14849@venom> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXBu6-0002u8-HY for guix-devel@gnu.org; Sun, 15 Mar 2015 13:00:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXBu3-00064m-4x for guix-devel@gnu.org; Sun, 15 Mar 2015 13:00:42 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46668 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXBu2-00064f-Dl for guix-devel@gnu.org; Sun, 15 Mar 2015 13:00:38 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D77E4AC82 for ; Sun, 15 Mar 2015 17:00:36 +0000 (UTC) Content-Disposition: inline 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Hello Guix, I'd like to share some thoughts about packaging to find I'm doing it wrong or show that there is room for improvements. I don't think that the proposed improvements are hard to implement (from algorithmic POV) and I'm aware that all the things can be solved on my side, but that is not the point. Stop after/before phase ======================= What it can help with? - download sources of package without constructing URL - prepare sources for creating or applying patch - when preparing configure parameters you can stop right after configuration phase How to implement? - inject always failing phase into phases list Another level of this feature could be even continuing of the build. Ommit developed package from generations ======================================== How it can help? When I work on packages I have to take care of handling generations even when I don't care. It complicates removing old package builds using `guix gc -d' and it is unwanted burden. How to implement? I'm not exactly sure, but not creating new generation with the package could be sufficient. Improve output of the build =========================== What I miss? Mostly one particular and obvious thing - after successful build print the path of newly created store in well visible, easy-to-mouse and easy-to-parse way. example: New store created: /gnu/store/s0meb0r1ngandl000ngh4shlead1ngt0-package-1.0/ Right now I need to dig that from any build message above. And in future it would be nice to add some colors to output. It helps with orientation speed a lot. Thanks for reading, S_W