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 QELSHs4Iq1+hSQAA0tVLHw (envelope-from ) for ; Tue, 10 Nov 2020 21:40:30 +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 iOrMGs4Iq18NDwAA1q6Kng (envelope-from ) for ; Tue, 10 Nov 2020 21:40:30 +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 16A009407E3 for ; Tue, 10 Nov 2020 21:40:27 +0000 (UTC) Received: from localhost ([::1]:51418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcbNK-0004Hx-Qg for larch@yhetil.org; Tue, 10 Nov 2020 16:40:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcbMw-0004Fb-Bb for guix-patches@gnu.org; Tue, 10 Nov 2020 16:40:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcbMw-0000WX-2E for guix-patches@gnu.org; Tue, 10 Nov 2020 16:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcbMv-0006zk-VI for guix-patches@gnu.org; Tue, 10 Nov 2020 16:40:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44560] [PATCH v16 0/6] New take on: Semantic version aware recursive importer for crates Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 10 Nov 2020 21:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44560@debbugs.gnu.org, 38408@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org, 38408@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160504437426771 (code B ref -1); Tue, 10 Nov 2020 21:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Nov 2020 21:39:34 +0000 Received: from localhost ([127.0.0.1]:39199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcbMT-0006xj-Le for submit@debbugs.gnu.org; Tue, 10 Nov 2020 16:39:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:40134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcbMS-0006xb-BX for submit@debbugs.gnu.org; Tue, 10 Nov 2020 16:39:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcbMS-0004BK-4K for guix-patches@gnu.org; Tue, 10 Nov 2020 16:39:32 -0500 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:45062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcbMP-0000TS-5p for guix-patches@gnu.org; Tue, 10 Nov 2020 16:39:31 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4CW1Tm0jyGz1rtMh; Tue, 10 Nov 2020 22:39:23 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4CW1Tl62BPz1r56y; Tue, 10 Nov 2020 22:39:23 +0100 (CET) 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 VrGBF44u3hMp; Tue, 10 Nov 2020 22:39:22 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-61-127.dynamic.mnet-online.de [188.174.61.127]) (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; Tue, 10 Nov 2020 22:39:22 +0100 (CET) Received: from thisbe.fritz.box (thisbe.fritz.box [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id 4A3CC60154; Tue, 10 Nov 2020 22:39:56 +0100 (CET) From: Hartmut Goebel Date: Tue, 10 Nov 2020 22:39:19 +0100 Message-Id: X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/10 16:39:24 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, SPF_HELO_NONE=0.001, SPF_NONE=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 X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: VITfuqXMACkJ This is a new attempt to get this stale patch done. Summary: * All remarks by Ludo have been handled so far. IMHO we are almost done with this series. * Major design decision open: Shall package variable names have sem semver version appended instead of major+minor? * Still some minor issues, which I'll comment on in the next messages. This series basically is the series Martin posted in https://lists.gnu.org/archive/html/guix-patches/2020-04/msg01442.html with two patches (the first and sixth) replaced by https://lists.gnu.org/archive/html/guix-patches/2020-05/msg00408.html and https://lists.gnu.org/archive/html/guix-patches/2020-08/msg00432.html I applied these on fdb77b362 (2020-08-09) and rebased it to master. I reviewed the commit messages, and in the code adjusted some formatting and fixed some typos. I also moved patch 6 to become the 2nd one, since guile-semver is required in the (now) 3rd patch. Martin Becze (6): import: utils: 'recursive-import' accepts an optional version parameter. guix: self: Add guile-semver as a depenedency. import: crate: Use guile-semver to resolve module versions. import: crate: Memorize crate->guix-package. import: utils: Trim patch version from names. import: crate: Parameterized importing of dev dependencies. guix/import/cran.scm | 8 +- guix/import/crate.scm | 112 ++++++++---- guix/import/elpa.scm | 6 +- guix/import/gem.scm | 6 +- guix/import/opam.scm | 8 +- guix/import/pypi.scm | 8 +- guix/import/stackage.scm | 5 +- guix/import/utils.scm | 79 +++++--- guix/scripts/import/cran.scm | 5 +- guix/scripts/import/crate.scm | 13 +- guix/scripts/import/elpa.scm | 4 +- guix/self.scm | 8 +- tests/crate.scm | 329 +++++++++++++++++++--------------- tests/elpa.scm | 3 +- tests/import-utils.scm | 8 +- 15 files changed, 362 insertions(+), 240 deletions(-) -- 2.21.3