From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Agreeing on some "rules" for packaging. Date: Wed, 28 Aug 2013 14:51:29 +0200 Message-ID: <87sixuc71q.fsf@gnu.org> References: <521D1E38.9090604@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEfE8-00089L-LC for guix-devel@gnu.org; Wed, 28 Aug 2013 08:52:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEfE1-0005zT-4j for guix-devel@gnu.org; Wed, 28 Aug 2013 08:52:00 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:50858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEfE0-0005zE-Uj for guix-devel@gnu.org; Wed, 28 Aug 2013 08:51:53 -0400 In-Reply-To: <521D1E38.9090604@gmail.com> (Cyril Roelandt's message of "Tue, 27 Aug 2013 23:46:32 +0200") List-Id: 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: Cyril Roelandt Cc: guix-devel@gnu.org Cyril Roelandt skribis: > At the GHM, a Fedora hacker (whose name I forgot) suggested that it > might be time for us to write down some "rules" as to how packaging > should be done. Sounds like a good idea. In general, when working in a group, I think it=E2=80=99s better to discuss what our expectations are, and write as much= of it down, to avoid any misunderstandings or frustration. So yes, let=E2=80= =99s do it. > For instance, Andreas suggested that patches should only be used if we > think they might be applied upstream, thus keeping the patches/ > directory as small as possible; Agreed. Also, patches should start with a comment saying what they do, and possibly what their upstream status is (submitted, will never be submitted because it=E2=80=99s Guix-specific, etc.); perhaps the format of = that comment could even be formalized. > modifications specific to Guix should be written in Scheme. Sometimes that may be hard or inconvenient though, so I would not set that in stone. > I would also like to define a standard way to order the "#:use-module" > at the beginning of each file, and agree on other "cosmetic" rules. Not convinced about the ordering. ;-) > What do you think ? These are good examples of the kind of rules we may want to discuss and adopt. What about discussing them as patches for the =E2=80=9CPackaging Guidelines= =E2=80=9D section of the manual, for example? (With one thread per suggestion.) Thanks! Ludo=E2=80=99.