GNU bug report logs - #42289
recursive import does not dort alphabetically

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Hartmut Goebel <h.goebel@HIDDEN>; dated Thu, 9 Jul 2020 07:54:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 42289 <at> debbugs.gnu.org:


Received: (at 42289) by debbugs.gnu.org; 9 Jul 2020 11:26:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 09 07:26:10 2020
Received: from localhost ([127.0.0.1]:40065 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jtUgs-0002aZ-1M
	for submit <at> debbugs.gnu.org; Thu, 09 Jul 2020 07:26:10 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:57185)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <h.goebel@HIDDEN>) id 1jtUgq-0002aQ-7d
 for 42289 <at> debbugs.gnu.org; Thu, 09 Jul 2020 07:26:08 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4B2YlM01wKz1qs04;
 Thu,  9 Jul 2020 13:26:06 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4B2YlL5cTJz1qr5C;
 Thu,  9 Jul 2020 13:26:06 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id FCKMQiW7MW-V; Thu,  9 Jul 2020 13:26:06 +0200 (CEST)
Received: from hermia.goebel-consult.de
 (ppp-188-174-55-167.dynamic.mnet-online.de [188.174.55.167])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPS;
 Thu,  9 Jul 2020 13:26:05 +0200 (CEST)
Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de
 [192.168.110.2])
 by hermia.goebel-consult.de (Postfix) with ESMTP id E2F126008C;
 Thu,  9 Jul 2020 13:26:07 +0200 (CEST)
Subject: Re: bug#42289: recursive import does not dort alphabetically
To: zimoun <zimon.toutoune@HIDDEN>, 42289 <at> debbugs.gnu.org
References: <e71b3b30-c81a-bc64-d7e9-409d588ebde6@HIDDEN>
 <86zh89av3c.fsf@HIDDEN>
From: Hartmut Goebel <h.goebel@HIDDEN>
Organization: crazy-compilers.com
Message-ID: <87692d5d-0650-c2bd-1533-54b38677d97e@HIDDEN>
Date: Thu, 9 Jul 2020 13:26:03 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.8.0
MIME-Version: 1.0
In-Reply-To: <86zh89av3c.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 42289
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Am 09.07.20 um 11:36 schrieb zimoun:
> Do you mean the package definitions in gnu/packages/foo.scm?

Yes.

> Because they are generally not alphabetically sorted.

Most file I've been working on ask for sorting alphabetically. (And IMHO
this is a good recommendation to follow.)

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@HIDDEN               |
| www.crazy-compilers.com | compilers which you thought are impossible |





Information forwarded to bug-guix@HIDDEN:
bug#42289; Package guix. Full text available.

Message received at 42289 <at> debbugs.gnu.org:


Received: (at 42289) by debbugs.gnu.org; 9 Jul 2020 09:36:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 09 05:36:32 2020
Received: from localhost ([127.0.0.1]:39920 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jtSym-0008MR-4L
	for submit <at> debbugs.gnu.org; Thu, 09 Jul 2020 05:36:32 -0400
Received: from mail-wr1-f42.google.com ([209.85.221.42]:39034)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1jtSyk-0008ME-In
 for 42289 <at> debbugs.gnu.org; Thu, 09 Jul 2020 05:36:31 -0400
Received: by mail-wr1-f42.google.com with SMTP id q5so1606609wru.6
 for <42289 <at> debbugs.gnu.org>; Thu, 09 Jul 2020 02:36:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:in-reply-to:references:date:message-id:mime-version;
 bh=E2oWfw0UxvzjrQbfx7pVQqvb3c8ck217qXCYHReGZXw=;
 b=WTjxn/YHBHrFoSC9Cl77nMzwqv9LDOhI8BkooVkz+voiDFLPTRT3sIVdJvx35renEy
 QungqJFGrl3ZzrUC5BRcCUL3w5cp5MpXDfT1vI9Sq9CjXOA6eaXDBh+PMYPyKzGqBin3
 EkAFgaQZFoVpDpmzxvzsQKj+IcZvP0ZpQHjy29pmkgkbSQv1QItq0VKCH9cD0fCi2pAH
 RDiIz+Rvt/sdduHfGjoHzCXRO/hW39soMEUwq6vcPno9/WYvjL40XPhMB0XEFQUpQN4L
 71ZAhokkjM30S6ADoNo1Z0AUCb1Fc0UiepaR/jdNxP1yyK6fQ2qbB22hi7rABWwqc64l
 XzFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:in-reply-to:references:date
 :message-id:mime-version;
 bh=E2oWfw0UxvzjrQbfx7pVQqvb3c8ck217qXCYHReGZXw=;
 b=NO682h++53ppZYBF4nbK39YzzYnJskbVYxawkv8wEDsrHDexcNwcLqjXiMbNgMZlj1
 hav48Z3Vbig6Sy7TsB0QmKr0SWHESkqX1bKhmy/boz5/7bmW5JDjIfEBRpeU78bTdn/6
 0HwIirWaBwtM7sNk+rolO7r8CXlFBfgRRd+O4cTbD/QHIxdtN+S3KIweoOLLQ+kJVXd4
 B5qgSWhPLlojOJIcLm0aCihceHyWAupxwi6U52DVkvRa9immk66C+wElVsh8wGV4QNiY
 eSj4smiJuqfkQ8swdG42HLo+Rmke1L8js0HYr18ObENhuO/8wJioFgz7WRbiXrGV3/Ix
 QAZQ==
X-Gm-Message-State: AOAM530aNl7l8WyoPiK+O6THPCjPnQDiul36w1MYXde/K0iKIHGJYTjq
 uzM65EbeSvKn79SOo64zVeL2/KIbfKw=
X-Google-Smtp-Source: ABdhPJxvZkFToQ/R3k+JatTI6qO07pUJUI249r3yv95VCrJ8lTfhSc9rVNif5YQ9tRXbatz8djK4yw==
X-Received: by 2002:adf:82b8:: with SMTP id 53mr67487020wrc.172.1594287384490; 
 Thu, 09 Jul 2020 02:36:24 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id d10sm4506938wrx.66.2020.07.09.02.36.23
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 09 Jul 2020 02:36:24 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: Hartmut Goebel <h.goebel@HIDDEN>, 42289 <at> debbugs.gnu.org
Subject: Re: bug#42289: recursive import does not dort alphabetically
In-Reply-To: <e71b3b30-c81a-bc64-d7e9-409d588ebde6@HIDDEN>
References: <e71b3b30-c81a-bc64-d7e9-409d588ebde6@HIDDEN>
Date: Thu, 09 Jul 2020 11:36:23 +0200
Message-ID: <86zh89av3c.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42289
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Dear,

On Thu, 09 Jul 2020 at 09:53, Hartmut Goebel <h.goebel@HIDDEN> wrote:
> In most gnu/packages/*.scm files are (expected to be) sorted
> alphabetically.

Do you mean the package definitions in gnu/packages/foo.scm?
Because they are generally not alphabetically sorted.  Well, it really
depends on which module, from what I see.


All the best,
simon




Information forwarded to bug-guix@HIDDEN:
bug#42289; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Jul 2020 07:53:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 09 03:53:14 2020
Received: from localhost ([127.0.0.1]:39707 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jtRMn-0003bA-VP
	for submit <at> debbugs.gnu.org; Thu, 09 Jul 2020 03:53:14 -0400
Received: from lists.gnu.org ([209.51.188.17]:38438)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <h.goebel@HIDDEN>) id 1jtRMm-0003b1-W0
 for submit <at> debbugs.gnu.org; Thu, 09 Jul 2020 03:53:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45144)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <h.goebel@HIDDEN>)
 id 1jtRMm-0001kf-NS
 for bug-guix@HIDDEN; Thu, 09 Jul 2020 03:53:12 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:54896)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <h.goebel@HIDDEN>)
 id 1jtRMk-0002oW-V7
 for bug-guix@HIDDEN; Thu, 09 Jul 2020 03:53:12 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4B2T1d5CwPz1qs3P
 for <bug-guix@HIDDEN>; Thu,  9 Jul 2020 09:53:09 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4B2T1d56Cgz1qr4q
 for <bug-guix@HIDDEN>; Thu,  9 Jul 2020 09:53:09 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024) with ESMTP id ZcAzQ5aZwB7k for <bug-guix@HIDDEN>;
 Thu,  9 Jul 2020 09:53:08 +0200 (CEST)
Received: from hermia.goebel-consult.de
 (ppp-188-174-55-167.dynamic.mnet-online.de [188.174.55.167])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPS
 for <bug-guix@HIDDEN>; Thu,  9 Jul 2020 09:53:08 +0200 (CEST)
Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de
 [192.168.110.2])
 by hermia.goebel-consult.de (Postfix) with ESMTP id 6D75560122
 for <bug-guix@HIDDEN>; Thu,  9 Jul 2020 09:53:10 +0200 (CEST)
To: bug-guix <bug-guix@HIDDEN>
From: Hartmut Goebel <h.goebel@HIDDEN>
Subject: recursive import does not dort alphabetically
Organization: crazy-compilers.com
Message-ID: <e71b3b30-c81a-bc64-d7e9-409d588ebde6@HIDDEN>
Date: Thu, 9 Jul 2020 09:53:05 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Received-SPF: none client-ip=212.18.0.9;
 envelope-from=h.goebel@HIDDEN; helo=mail-out.m-online.net
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/09 03:53:09
X-ACL-Warn: Detected OS   = Linux 3.11 and newer
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001,
 SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

In most gnu/packages/*.scm files are (expected to be) sorted alphabetically.

Now when importing some packages recursivly, packages are output in
order of the dependency graph, thus authors need to sort them manually.

Example (requires the hex.pm importer from
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42180>:

$ ./pre-inst-env guix import hexpm -r idna | grep define-public
(define-public erlang-unicode-util-compat
(define-public erlang-idna
$ ./pre-inst-env guix import hexpm -r idna | grep define-public |
LC_ALL=C sort --check
sort: -:2: disorder: (define-public erlang-idna

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@HIDDEN               |
| www.crazy-compilers.com | compilers which you thought are impossible |





Acknowledgement sent to Hartmut Goebel <h.goebel@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#42289; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 9 Jul 2020 11:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.