From unknown Fri Jun 13 11:20:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42289: recursive import does not dort alphabetically Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 09 Jul 2020 07:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42289 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42289@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.159428119413840 (code B ref -1); Thu, 09 Jul 2020 07:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jul 2020 07:53:14 +0000 Received: from localhost ([127.0.0.1]:39707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtRMn-0003bA-VP for submit@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 ) id 1jtRMm-0003b1-W0 for submit@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 ) id 1jtRMm-0001kf-NS for bug-guix@gnu.org; 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 ) id 1jtRMk-0002oW-V7 for bug-guix@gnu.org; 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 ; 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 ; 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 ; 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 ; 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 ; Thu, 9 Jul 2020 09:53:10 +0200 (CEST) From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: 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@crazy-compilers.com; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 : $ ./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@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Fri Jun 13 11:20:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42289: recursive import does not dort alphabetically Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 09 Jul 2020 09:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42289 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hartmut Goebel , 42289@debbugs.gnu.org Received: via spool by 42289-submit@debbugs.gnu.org id=B42289.159428739232147 (code B ref 42289); Thu, 09 Jul 2020 09:37:01 +0000 Received: (at 42289) by debbugs.gnu.org; 9 Jul 2020 09:36:32 +0000 Received: from localhost ([127.0.0.1]:39920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtSym-0008MR-4L for submit@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 ) id 1jtSyk-0008ME-In for 42289@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@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 In-Reply-To: References: Date: Thu, 09 Jul 2020 11:36:23 +0200 Message-ID: <86zh89av3c.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear, On Thu, 09 Jul 2020 at 09:53, Hartmut Goebel 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 From unknown Fri Jun 13 11:20:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42289: recursive import does not dort alphabetically Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 09 Jul 2020 11:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42289 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , 42289@debbugs.gnu.org Received: via spool by 42289-submit@debbugs.gnu.org id=B42289.15942939709959 (code B ref 42289); Thu, 09 Jul 2020 11:27:02 +0000 Received: (at 42289) by debbugs.gnu.org; 9 Jul 2020 11:26:10 +0000 Received: from localhost ([127.0.0.1]:40065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtUgs-0002aZ-1M for submit@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 ) id 1jtUgq-0002aQ-7d for 42289@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) References: <86zh89av3c.fsf@gmail.com> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: <87692d5d-0650-c2bd-1533-54b38677d97e@crazy-compilers.com> 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@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Fri Jun 13 11:20:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42289: recursive import does not dort alphabetically Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 09 Jul 2020 14:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42289 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hartmut Goebel Cc: 42289@debbugs.gnu.org Received: via spool by 42289-submit@debbugs.gnu.org id=B42289.15943033799598 (code B ref 42289); Thu, 09 Jul 2020 14:03:01 +0000 Received: (at 42289) by debbugs.gnu.org; 9 Jul 2020 14:02:59 +0000 Received: from localhost ([127.0.0.1]:41436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtX8d-0002Uk-6g for submit@debbugs.gnu.org; Thu, 09 Jul 2020 10:02:59 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:39503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtX8Y-0002UQ-HX for 42289@debbugs.gnu.org; Thu, 09 Jul 2020 10:02:57 -0400 Received: by mail-qt1-f170.google.com with SMTP id o38so1708543qtf.6 for <42289@debbugs.gnu.org>; Thu, 09 Jul 2020 07:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nnFJeVVyH3BqmbWw3kbVLzC2fcI5CCC5BwkqK7rxCvg=; b=L1rcyBDIqvXy3LchM6p07COsraE70hxjugaC1KOC0Ci27Bu4MBReaZQ9GQe58N0ZpD H6VN29pJulfLkzAr0Pa4yu760qzjx3jl3zAD7PWkhk8keYZ1FAyaJwTjYDWnWG6WlTBY MXpUJ3joerxroyuygjn7P1KFdjViKnUuSnyYXhpk+qyCAFJEHi+kwyO/B8nUXZXC392B golSdaLCf9STdp/xZm9+tLWQNdxb2wi+UdOu0W4tEyynCMABGRTvaJE6aM7P7HpCLT2J zkLCT9DME9yS/WZ/RVpGpHW/c7SM9aVuIWQ4JsHqekHdA78t+18yesVPpZOSIsC9pt5i c4tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nnFJeVVyH3BqmbWw3kbVLzC2fcI5CCC5BwkqK7rxCvg=; b=aH5eHpq5cmHR1t7vKKy4eSoPjjosEFsAyxqmY0m/TAC/AEBhQMe0v1AZoS0YmpnjHM 8u7F9/zdl5sTMx57KXkdGnAaqGFgx9t6OQC6J+vnkC+9QcdbxB2cxlcUtspAqwStwzdP u9IVznn/FRXuVVhBLDYFGatRTrIN35qvPURG0k77o8XFib68jVDmuwhga5fYxwjSxFOo PeXgIdmw+XI6iTNvgdFxqiDDeEqHce1QXf9HTZt7Sw4S9WfMKFxOYtFbXQCGOpadp7tZ ERj3nuIVZbtqkjEaxUgslA9oVTJ80r6LQ0ZlaaWVWPXP6Ceg+uwBgrOpB7VYu8z+HdtZ kbXA== X-Gm-Message-State: AOAM532V4fUBfPi0HFzJAZbU36N/aHApl4RM21G/Tfz0iGAw+qi2yPP8 No/fQt64FZjYrUtD1j5AThNvZ6ScWnbpLmmKHuaYJ953HQk= X-Google-Smtp-Source: ABdhPJwzz/NBrdp6bIdZ3u6tVl+Ktou2QsM4e1G3U8UJM9gU4oQ4oGsHGh6d574s4QkN+0dbxjDQzbDPzARgNRNVoFs= X-Received: by 2002:ac8:7698:: with SMTP id g24mr13131919qtr.217.1594303368905; Thu, 09 Jul 2020 07:02:48 -0700 (PDT) MIME-Version: 1.0 References: <86zh89av3c.fsf@gmail.com> <87692d5d-0650-c2bd-1533-54b38677d97e@crazy-compilers.com> In-Reply-To: <87692d5d-0650-c2bd-1533-54b38677d97e@crazy-compilers.com> From: zimoun Date: Thu, 9 Jul 2020 16:02:37 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 9 Jul 2020 at 13:26, Hartmut Goebel wrote: > > 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.) Well, I get: 295 gnu/packages/unsorted-file.scm 204 gnu/packages/sorted-file.scm And the top 10 bigger files are unsorted: --8<---------------cut here---------------start------------->8--- crates-io.scm sort: -:6: disorder: (define-public rust-afl-0.4 emacs-xyz.scm sort: -:2: disorder: (define-public emacs-ac-geiser cran.scm sort: -:3: disorder: (define-public r-dot python-xyz.scm sort: -:2: disorder: (define-public python-colorlog bioinformatics.scm sort: -:9: disorder: (define-public blasr-libcpp haskell-xyz.scm sort: -:238: disorder: (define-public ghc-llvm-hs java.scm sort: -:2: disorder: (define-public drip games.scm sort: -:13: disorder: (define-public foobillard++ lisp-xyz.scm sort: -:2: disorder: (define-public cl-alexandria perl.scm sort: -:17: disorder: (define-public perl-b-hooks-endofscope --8<---------------cut here---------------end--------------->8--- BTW, I agree that alphabetical sorting is a good recommendation. All the best, simon From unknown Fri Jun 13 11:20:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42289: recursive import does not dort alphabetically Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 09 Jul 2020 17:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42289 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hartmut Goebel Cc: 42289@debbugs.gnu.org, zimoun Received: via spool by 42289-submit@debbugs.gnu.org id=B42289.15943164075461 (code B ref 42289); Thu, 09 Jul 2020 17:41:01 +0000 Received: (at 42289) by debbugs.gnu.org; 9 Jul 2020 17:40:07 +0000 Received: from localhost ([127.0.0.1]:41607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtaWk-0001Q1-LD for submit@debbugs.gnu.org; Thu, 09 Jul 2020 13:40:06 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:57789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtaWh-0001PL-Hz for 42289@debbugs.gnu.org; Thu, 09 Jul 2020 13:40:04 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 299F25C0189; Thu, 9 Jul 2020 13:39:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 09 Jul 2020 13:39:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=+Q6c4Ziq6kJzCHlBxU08i6ew js53yI1yrkMaFWyKgTc=; b=q7scQsVKS4kh9Y2jm/api5J/kQMCnY1q4/ucDlC9 +FVZ4Hbm9x1DmLczkkAVsxG+lfyQlaVJT2F+E9QqtHEK3+V4aRxGG1aH7CUSDerY 1ipqEaxXyD5SrMhtSd6p8OxWnlVOBp+A9tINJ9B4/WhUYVnFbhY+znpTezlhONDf RbU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=+Q6c4Z iq6kJzCHlBxU08i6ewjs53yI1yrkMaFWyKgTc=; b=Q9IPfZ7yhfcNrdibXobqas dfRZ6AJVp41OG6rkRyF1GVypiAXX55jtbqK7CXsnHtB8FLdW//15RALY2ZWBwnMf uuNI7M17Q5yQ1Ti855Q0eSO835wzSPVtVK9qxHkq4lMplnoVTWJOPkHf6cYEFQ2l fa2CVzHDnQ9eEgmy+SMqaULvZuw1rkkP3vcqGEc9bP5PUvVzoSOkN1V1OJ3tQapG Hk2bKuUHtBuDTl54OMEIV46zBByxN0YCSEt/TKheaaRjbt8Rzi8rLa7N9LzOAqo7 rXs7XSOTTdLyfE/hiarHv0+mD9cQQ8A6aCPXTd8TNHtKMLqw+3NLaOvVuPJVHmoA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudelgdduudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpedvvddugefffeeitddthfefvdeuhffgkeeikeegkeevteeghfeftefggeeuudff ieenucffohhmrghinhepghhnuhdrohhrghenucfkphepjeefrddugedurdduvdejrdduge einecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgv ohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 99DC7328005E; Thu, 9 Jul 2020 13:39:57 -0400 (EDT) Date: Thu, 9 Jul 2020 13:39:55 -0400 From: Leo Famulari Message-ID: <20200709173955.GA22616@jasmine.lan> References: <86zh89av3c.fsf@gmail.com> <87692d5d-0650-c2bd-1533-54b38677d97e@crazy-compilers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87692d5d-0650-c2bd-1533-54b38677d97e@crazy-compilers.com> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, Jul 09, 2020 at 01:26:03PM +0200, Hartmut Goebel wrote: > Most file I've been working on ask for sorting alphabetically. (And IMHO > this is a good recommendation to follow.) What are the benefits of sorting packages? The ordering of packages is not usually important to the machine, and humans can search for the package names. I think that sorting the packages is not necessarily desired, especially for modules where a lot of packages may be imported (e.g. Rust). It makes the Git diffs harder to understand and work with when merging or rebasing, compared to just adding the new packages at the end of the file. In cases where packages are inherited to create multiple package versions, alphanumerical sorting breaks the inheritance [0], although inheritance is problematic in its own right and we should probably stop using it. [0] See From unknown Fri Jun 13 11:20:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42289: recursive import does not dort alphabetically Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 15 Jul 2020 19:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42289 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Cc: 42289@debbugs.gnu.org, zimoun Received: via spool by 42289-submit@debbugs.gnu.org id=B42289.15948402535196 (code B ref 42289); Wed, 15 Jul 2020 19:11:02 +0000 Received: (at 42289) by debbugs.gnu.org; 15 Jul 2020 19:10:53 +0000 Received: from localhost ([127.0.0.1]:53625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvmnt-0001Lj-3j for submit@debbugs.gnu.org; Wed, 15 Jul 2020 15:10:53 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:35045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvmnq-0001La-OC for 42289@debbugs.gnu.org; Wed, 15 Jul 2020 15:10:51 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4B6Rmn1Crnz1rwDr; Wed, 15 Jul 2020 21:10:48 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4B6Rmm65VYz1r57B; Wed, 15 Jul 2020 21:10:48 +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 Hlp3YQIapI9y; Wed, 15 Jul 2020 21:10:48 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-55-44.dynamic.mnet-online.de [188.174.55.44]) (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; Wed, 15 Jul 2020 21:10:47 +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 24CF0602B8; Wed, 15 Jul 2020 21:10:54 +0200 (CEST) References: <86zh89av3c.fsf@gmail.com> <87692d5d-0650-c2bd-1533-54b38677d97e@crazy-compilers.com> <20200709173955.GA22616@jasmine.lan> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: Date: Wed, 15 Jul 2020 21:10:45 +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: <20200709173955.GA22616@jasmine.lan> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Am 09.07.20 um 19:39 schrieb Leo Famulari: > What are the benefits of sorting packages? Many modules are sorted and some packages even contain a comment asking for being sorted. So I had the impression this is good practice. Also scanning through the file is easier for humans if packages are sorted - depends on personal work style. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Fri Jun 13 11:20:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42289: recursive import does not dort alphabetically Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Jul 2020 11:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42289 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hartmut Goebel , Leo Famulari Cc: 42289@debbugs.gnu.org Received: via spool by 42289-submit@debbugs.gnu.org id=B42289.15948993338839 (code B ref 42289); Thu, 16 Jul 2020 11:36:01 +0000 Received: (at 42289) by debbugs.gnu.org; 16 Jul 2020 11:35:33 +0000 Received: from localhost ([127.0.0.1]:54769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw2An-0002IV-Gl for submit@debbugs.gnu.org; Thu, 16 Jul 2020 07:35:33 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:38559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw2Al-0002II-JD for 42289@debbugs.gnu.org; Thu, 16 Jul 2020 07:35:31 -0400 Received: by mail-wr1-f49.google.com with SMTP id z13so6709222wrw.5 for <42289@debbugs.gnu.org>; Thu, 16 Jul 2020 04:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=4EJ1yicdjZF+UZLUwyjqD0D8Lu713025XzPJ273MemM=; b=NvzQ9WiB4D+ZcxUAei0vKiJIBKM1VPdG90zJeuzcRBWOH/pZtDhHS6qaBCLSw2n1eL 36A9o4393dE0j3isb21LFb6Q8skgObYVnPmNuoNwmZXpvMoZSC5A+F6cHr8J/BqADn7y rfyun+Wo1zCyq6+d6ENzDBMIhjssCjFfjfXzRKYHPYjBb6H5kl1tS4KfskOv7zBXIdkp DErq1RFVaYx4BS2tM34stPpEhW7FE4YO9TXcGT9rVnu2cu++zeEni9O2CDqtF/5UYGb1 BJxeJdI7Ia+sVSu/QzG20lGeNCRXuJMdSJz4JATyTHz439YYLj0KGLz0QyyeY9MuAn54 L6DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=4EJ1yicdjZF+UZLUwyjqD0D8Lu713025XzPJ273MemM=; b=nt33XoizSWuhxYEVMxe09B8Ha/UsXSYuFkACM+ofEyDu966r3jUyRdk4bdD5KnzmtH QS3cVgUjcE1b0QYYsm69j1rF/lsNcrDgflb4tmctfIdaI3Gr0yX0Ueki05PzeoLvgNa3 pN8EPdP6jKrbXhV/csRgofnwjWBq0wWMxOa4RyqMZkuEuUie8JKqY4DPVRIDTosuyzkE 6G33xTQvdMTgrj5gapgk5RcBaVh3Mf1sS18iCB4n27qC+AcS2jo8zxDQqaXpsW4UlAJM MHkNzNSIzW6Dvqpfb+TJY7F9G+OKqpOTgQSypIPcpYl5Ullk868TCTpeqyjqz9Gc060B po0g== X-Gm-Message-State: AOAM5323oyJBkDj/cxIa0Acymu96IbA+EI8ZMcPcfWMI7d/X9j9pJkZv YdD0GmlODQ6VfLyHoIpoKNjqL9Nk X-Google-Smtp-Source: ABdhPJz847cV2fuJvZdKBNS65L+XdweZBRKPJr3RcAjrqOhVnLUq4Ry9uqboIPGfjZ4kOPWUloKY5w== X-Received: by 2002:adf:f14e:: with SMTP id y14mr4653559wro.151.1594899325259; Thu, 16 Jul 2020 04:35:25 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id c194sm8078187wme.8.2020.07.16.04.35.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 04:35:24 -0700 (PDT) From: zimoun In-Reply-To: References: <86zh89av3c.fsf@gmail.com> <87692d5d-0650-c2bd-1533-54b38677d97e@crazy-compilers.com> <20200709173955.GA22616@jasmine.lan> Date: Thu, 16 Jul 2020 13:35:23 +0200 Message-ID: <86wo33y9ok.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear Hartmut, On Wed, 15 Jul 2020 at 21:10, Hartmut Goebel wrote > Many modules are sorted and some packages even contain a comment asking > for being sorted. So I had the impression this is good practice. I am not sure by the "many". :-) Even gnu/packages/crate-io.scm which explicitly asks: ;;; Please: Try to add new module packages in alphabetic order. and it is not really sorted. :-) cat crates-io.scm | grep 'define-public' | sort --check sort: -:6: disorder: (define-public rust-afl-0.5 > Also scanning through the file is easier for humans if packages are > sorted - depends on personal work style. It appears to me as a "good practise" too. On the other hand, personally I always scan the packages with "ag" (inside Emacs). However, it is not the point since your initial request is about alphabetical sort of "guix import"; which seems better than arbitrary order (dependency order). Whatever if gnu/packages/foo.scm is sorted or not. If "guix import" returns an alphanumerical sorted list, it is easier and it does not bother the unsorted modules since the packages are new. All the best, simon From unknown Fri Jun 13 11:20:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42289: recursive import does not dort alphabetically Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Jul 2020 11:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42289 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , Hartmut Goebel , Leo Famulari Cc: 42289@debbugs.gnu.org Received: via spool by 42289-submit@debbugs.gnu.org id=B42289.15948997349586 (code B ref 42289); Thu, 16 Jul 2020 11:43:01 +0000 Received: (at 42289) by debbugs.gnu.org; 16 Jul 2020 11:42:14 +0000 Received: from localhost ([127.0.0.1]:54815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw2HG-0002UY-2Z for submit@debbugs.gnu.org; Thu, 16 Jul 2020 07:42:14 -0400 Received: from lepiller.eu ([89.234.186.109]:45038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw2HE-0002UP-8W for 42289@debbugs.gnu.org; Thu, 16 Jul 2020 07:42:13 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id eb11a6e4; Thu, 16 Jul 2020 11:42:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:cc:from:message-id; s= dkim; bh=8fA5T3cf1hBTjy/EsO0iS4Br8NBr4QFYA73QofNfBdk=; b=a1+6/+S M5om5F5FBkNkEYArDrfhIxhqtGB50fMz0zt4lokj+bsCUwD7j+U+TvThBnlRFD0i HRoUkiEElDwn563h6H7+sY7dGMRqlE3T/05302QpTHYX5qHHGTkomjfWaMDQcWbt mBnFTCmE2KSUQwqjbyfcpTumooFkezCCMrZaGYfeWn65hJL+PAsHF9hYk05QVxDP e/maOgff9kh1iQ+KQkoUisSOQk1nc/okW0FQPIU5J3nJmBrSQ+ojZU9jUBuePsKN tI2XukApksptG1VncR5b3qAos5gUezyw6wYLJ+bH/7NTxecSerVPUkdKgEvzqFL4 pIkvH53FDjik2/A== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 09b4db43 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 16 Jul 2020 11:42:09 +0000 (UTC) Date: Thu, 16 Jul 2020 07:41:58 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <86wo33y9ok.fsf@gmail.com> References: <86zh89av3c.fsf@gmail.com> <87692d5d-0650-c2bd-1533-54b38677d97e@crazy-compilers.com> <20200709173955.GA22616@jasmine.lan> <86wo33y9ok.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Julien Lepiller Message-ID: X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Le 16 juillet 2020 07:35:23 GMT-04:00, zimoun a =C3=A9crit : >Dear Hartmut, > >On Wed, 15 Jul 2020 at 21:10, Hartmut Goebel > wrote > >> Many modules are sorted and some packages even contain a comment >asking >> for being sorted=2E So I had the impression this is good practice=2E > >I am not sure by the "many"=2E :-) >Even gnu/packages/crate-io=2Escm which explicitly asks: > >;;; Please: Try to add new module packages in alphabetic order=2E > >and it is not really sorted=2E :-) > > cat crates-io=2Escm | grep 'define-public' | sort --check > sort: -:6: disorder: (define-public rust-afl-0=2E5 > > >> Also scanning through the file is easier for humans if packages are >> sorted - depends on personal work style=2E > >It appears to me as a "good practise" too=2E On the other hand, >personally I always scan the packages with "ag" (inside Emacs)=2E > > >However, it is not the point since your initial request is about >alphabetical sort of "guix import"; which seems better than arbitrary >order (dependency order)=2E Whatever if gnu/packages/foo=2Escm is sorted >or >not=2E The advantage of dependency-sorting is that it makes it easier to add pack= ages one by one without breaking anything=2E If they are alphabetically sor= ted, which package do you add first? What if the first one depends on anoth= er imported package? Your first commit will be broken because of a referenc= e to an unexisting package=2E > >If "guix import" returns an alphanumerical sorted list, it is easier >and >it does not bother the unsorted modules since the packages are new=2E > >All the best, >simon From unknown Fri Jun 13 11:20:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42289: recursive import does not dort alphabetically Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Jul 2020 18:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42289 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hartmut Goebel Cc: 42289@debbugs.gnu.org, zimoun Received: via spool by 42289-submit@debbugs.gnu.org id=B42289.159492384216683 (code B ref 42289); Thu, 16 Jul 2020 18:25:01 +0000 Received: (at 42289) by debbugs.gnu.org; 16 Jul 2020 18:24:02 +0000 Received: from localhost ([127.0.0.1]:55994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw8Y6-0004Kt-5p for submit@debbugs.gnu.org; Thu, 16 Jul 2020 14:24:02 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:59689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw8Y3-0004Ka-UM for 42289@debbugs.gnu.org; Thu, 16 Jul 2020 14:24:01 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id A21C85C00E4; Thu, 16 Jul 2020 14:23:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 16 Jul 2020 14:23:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=26T9Kl5TTImSxAZJDsW3+SAa pMvdhTe9Kc99eFrFwXc=; b=m+41OLnV2eyP8BgTIKCAGVcMNaAC09UujKYGHcHX pfdw+3Fa8AfW+fGxbrm6exbGImBpU777hJ1kPGwTPPxB739EQ49cEJNhPt8TOoZo gxf6p95XI6fbjyTfSruHmUOUbOEtOPnXpkWZQFK7k8QHsbajCOpDdsTtZ+ZNVeqo JQI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=26T9Kl 5TTImSxAZJDsW3+SAapMvdhTe9Kc99eFrFwXc=; b=boGzpfRNH0iwfPyyomIL9E TQMsddflfeH490ibY+Ipf62Nr5tx792A8CPADKDaNpkpUt3jX+tD5lsfOeQbSrQ8 EaAAydladZEC1790tz7RVdAvE7FCnt3EaqvYd2w3V0qhbaFm8v+uVtsYJG7jXxyQ pYaXVSplmXwDzWFOTVzDkWzbHefFo3uWYX1l1l1KvqRACz238ik4n8xjIKew60q2 HWVJ1p9TzdzizGT5E2Cx9JCsQXWpgbNpncp8ZniEF3/5MEmVz2olljP6oNBrrwkZ qv3ghhl3GWlc8dfngx5a66VlvIldBr+0Nz9b/XL801qJczWVk8Cp8Qf8AJx2n+iA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrfeeggdduvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucfkphepjeefrddugedurdduvdejrddugeeinecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 916D130600B2; Thu, 16 Jul 2020 14:23:53 -0400 (EDT) Date: Thu, 16 Jul 2020 14:23:51 -0400 From: Leo Famulari Message-ID: <20200716182351.GA26195@jasmine.lan> References: <86zh89av3c.fsf@gmail.com> <87692d5d-0650-c2bd-1533-54b38677d97e@crazy-compilers.com> <20200709173955.GA22616@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Jul 15, 2020 at 09:10:45PM +0200, Hartmut Goebel wrote: > Many modules are sorted and some packages even contain a comment asking > for being sorted. So I had the impression this is good practice. > > Also scanning through the file is easier for humans if packages are > sorted - depends on personal work style. To clarify, I don't think that sorting packages alphanumerically is bad or good. It's largely a matter of taste, and I don't think we need to make a policy either way. From unknown Fri Jun 13 11:20:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42289: recursive import does not dort alphabetically Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 08 Mar 2022 10:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42289 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hartmut Goebel Cc: 42289@debbugs.gnu.org Received: via spool by 42289-submit@debbugs.gnu.org id=B42289.16467349465072 (code B ref 42289); Tue, 08 Mar 2022 10:23:02 +0000 Received: (at 42289) by debbugs.gnu.org; 8 Mar 2022 10:22:26 +0000 Received: from localhost ([127.0.0.1]:55337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRWz4-0001Jj-4U for submit@debbugs.gnu.org; Tue, 08 Mar 2022 05:22:26 -0500 Received: from mail-wm1-f54.google.com ([209.85.128.54]:55850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRWz2-0001JO-7l for 42289@debbugs.gnu.org; Tue, 08 Mar 2022 05:22:24 -0500 Received: by mail-wm1-f54.google.com with SMTP id i66so10810413wma.5 for <42289@debbugs.gnu.org>; Tue, 08 Mar 2022 02:22:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=NNWxttm2ebribMpLutj4Sm3XUHRALTTLGbR9u+tW5Rc=; b=VY61D6NcMGQu2A4djEHrobM6alnHIxl+kEI7i0xvpFug4cah4+RwK4JBuUXgGDxCqa l267I2FKQIoj0VmzoA0ESfeEIOOVKmofLLF7U0kCtnzpBXY7a8HgK+C8/5vBQYVVLfEE mtbeiq/QnEDI5aTzZWecoIhyMT9uV5PzR1AlYtKCSi8nX1/DHZxfOc2k/mA63K3DWOZT nW8XqwJz3GKWGrHCRLMUuP3vwpGBkIXn1feIHqUYM+59U+cYEGlf/l2PzATC1Tq0pMfe wRhhPREC1EvNRBEmz70QfVHDfgat6DqfTIQI9LlUkra48sT0iPl+3gSZUznIdEI5uFpw mMcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=NNWxttm2ebribMpLutj4Sm3XUHRALTTLGbR9u+tW5Rc=; b=3ZVsYfZElgxgTr+h0B8V91/RTiBGbz5zSla+e9wa0RKtFhqVvQN+ROt9xv163XDTVE 9N79F4yR1fu19XWtTLIFYvbem725T5O8DJrNuGzWw08XUreV93LC54+vNftnvg2FCzpe gV1Eemh/8OWjm5zhudtuOHQibDzVS8Etz8eaLR18Xau2yLzlLVOohO5ixLhB5QIXTYtI s7kvm9hVhaT2oB4hBQZP9erKtx0MoSX3jKX2LaDh33OxPH3p7KW3kmMULjhyW0T9rCJR 30BRRjTC32uAC0VTnAJYReuPqyQ8mmkNgcwJfa+VLjxc2EXzYS/lNJaez5Y6g44JXHsz VMTg== X-Gm-Message-State: AOAM531C48JrFEAwOiK+sADuhdyTVmvBsrjOYOqOODUrqfdAZlqkcq3S 0EFgEKomPVU8Yp0h6VBVACt2c5nmBD8= X-Google-Smtp-Source: ABdhPJxFf8SlHw4A0DqRyKiZ/2BtOXQtcw6/cSeAz85k6T0lEj4Qhju6KpIvzO7vnD9gfPGePVBTIw== X-Received: by 2002:a05:600c:3b87:b0:389:a6ec:f10a with SMTP id n7-20020a05600c3b8700b00389a6ecf10amr2846014wms.77.1646734938315; Tue, 08 Mar 2022 02:22:18 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id u23-20020a7bcb17000000b0037bdfa1665asm2414396wmj.18.2022.03.08.02.22.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 02:22:17 -0800 (PST) From: zimoun References: Date: Tue, 08 Mar 2022 10:19:01 +0100 In-Reply-To: (Hartmut Goebel's message of "Thu, 9 Jul 2020 09:53:05 +0200") Message-ID: <87r17c4xa2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Hartmut, On jeu., 09 juil. 2020 at 09:53, Hartmut Goebel wrote: > In most gnu/packages/*.scm files are (expected to be) sorted alphabetically. While I agree with this recommendation to sort alphabetically gnu/packages/*.scm... > Now when importing some packages recursivly, packages are output in > order of the dependency graph, thus authors need to sort them manually. ...I think it is not a good idea to sort alphabetically the output of the importers, because: 1. the packages have to be added dependency-sorted, 2. since each imported package is not alphabetically adjacent in the larger collection of already available packages, the user still needs to find the correct location. Therefore, I am in favor to close this issue as wontfix notabug. WDYT? Cheers, simon