From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6ZOVNKo7EF/rbwAA0tVLHw (envelope-from ) for ; Thu, 16 Jul 2020 11:36:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gH/kL6o7EF/IFAAA1q6Kng (envelope-from ) for ; Thu, 16 Jul 2020 11:36:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 138CC94062F for ; Thu, 16 Jul 2020 11:36:09 +0000 (UTC) Received: from localhost ([::1]:60592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jw2BM-0005gX-Ky for larch@yhetil.org; Thu, 16 Jul 2020 07:36:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jw2BG-0005gI-Aj for bug-guix@gnu.org; Thu, 16 Jul 2020 07:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jw2BG-0008Hf-1j for bug-guix@gnu.org; Thu, 16 Jul 2020 07:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jw2BF-0002Ja-W9 for bug-guix@gnu.org; Thu, 16 Jul 2020 07:36:02 -0400 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 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 X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42289@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=NvzQ9WiB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: hxPsRijpRs4t 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