From unknown Mon Aug 11 19:04:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40895: import crate: Relaxed version selection Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Apr 2020 07:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40895 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 40895@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.158797270827665 (code B ref -1); Mon, 27 Apr 2020 07:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2020 07:31:48 +0000 Received: from localhost ([127.0.0.1]:35453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSyF2-0007C8-HO for submit@debbugs.gnu.org; Mon, 27 Apr 2020 03:31:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:46810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSyEz-0007C0-9q for submit@debbugs.gnu.org; Mon, 27 Apr 2020 03:31:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38674) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSyEy-0001Ft-Qm for bug-guix@gnu.org; Mon, 27 Apr 2020 03:31:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSyEw-0008Hk-KA for bug-guix@gnu.org; Mon, 27 Apr 2020 03:31:44 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:41011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSyEv-0008HR-Sv for bug-guix@gnu.org; Mon, 27 Apr 2020 03:31:42 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 499c0V52KZz1r6n9 for ; Mon, 27 Apr 2020 09:31:38 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 499c0V47d5z1qtwY for ; Mon, 27 Apr 2020 09:31:38 +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 aZlh85o_FHvU for ; Mon, 27 Apr 2020 09:31:37 +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 for ; Mon, 27 Apr 2020 09:31:37 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.fritz.box [192.168.110.28]) by hermia.goebel-consult.de (Postfix) with ESMTP id C4E2B600B0 for ; Mon, 27 Apr 2020 09:32:05 +0200 (CEST) From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: <1660dd38-8279-4fb3-4521-ee58dd131f31@crazy-compilers.com> Date: Mon, 27 Apr 2020 09:31:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.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/04/27 02:11:09 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 212.18.0.9 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 (---) If (manually) importing dependencies for some package requiring "other ^0.2", I would like the importer to fetch the newest version of other-0.2.x automatically. As it is now, I need to specify the exact version number, e.g. "guix import crate other@0.2.4" - and the get the version number I need to go to crates.io, search the package and search the list of available versions. The importer can do this much more efficient. This could be implemented like this: - If the version giben ("@0.2.4") matches an version available, use this version. - Otherwise, if the version giben ("@0.2") is a prefix of some available version, use the highest/newest of these versions -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Mon Aug 11 19:04:59 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Hartmut Goebel Subject: bug#40895: closed (Should be solved by new importer) Message-ID: References: <1660dd38-8279-4fb3-4521-ee58dd131f31@crazy-compilers.com> X-Gnu-PR-Message: they-closed 40895 X-Gnu-PR-Package: guix Reply-To: 40895@debbugs.gnu.org Date: Thu, 17 Dec 2020 15:27:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1608218823-21494-1" This is a multi-part message in MIME format... ------------=_1608218823-21494-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #40895: import crate: Relaxed version selection which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 40895@debbugs.gnu.org. --=20 40895: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40895 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1608218823-21494-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 40895-close) by debbugs.gnu.org; 17 Dec 2020 15:26:53 +0000 Received: from localhost ([127.0.0.1]:36707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpvB6-0005Zc-N1 for submit@debbugs.gnu.org; Thu, 17 Dec 2020 10:26:52 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:32776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpvAy-0005Z8-U9; Thu, 17 Dec 2020 10:26:48 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4CxbSg5Lzgz1qtQH; Thu, 17 Dec 2020 16:26:43 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4CxbSg3n7qz1tF6l; Thu, 17 Dec 2020 16:26:43 +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 00zg3gt91SqD; Thu, 17 Dec 2020 16:26:42 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-61-230.dynamic.mnet-online.de [188.174.61.230]) (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, 17 Dec 2020 16:26:42 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 59606601C1; Thu, 17 Dec 2020 16:31:26 +0100 (CET) To: 40893-close@debbugs.gnu.org, 40894-close@debbugs.gnu.org, 40895-close@debbugs.gnu.org From: Hartmut Goebel Subject: Should be solved by new importer Organization: crazy-compilers.com Message-ID: Date: Thu, 17 Dec 2020 16:26:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40895-close 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 (-) This issue is solved by the new importer. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | ------------=_1608218823-21494-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Apr 2020 07:31:48 +0000 Received: from localhost ([127.0.0.1]:35453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSyF2-0007C8-HO for submit@debbugs.gnu.org; Mon, 27 Apr 2020 03:31:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:46810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSyEz-0007C0-9q for submit@debbugs.gnu.org; Mon, 27 Apr 2020 03:31:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38674) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSyEy-0001Ft-Qm for bug-guix@gnu.org; Mon, 27 Apr 2020 03:31:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSyEw-0008Hk-KA for bug-guix@gnu.org; Mon, 27 Apr 2020 03:31:44 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:41011) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSyEv-0008HR-Sv for bug-guix@gnu.org; Mon, 27 Apr 2020 03:31:42 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 499c0V52KZz1r6n9 for ; Mon, 27 Apr 2020 09:31:38 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 499c0V47d5z1qtwY for ; Mon, 27 Apr 2020 09:31:38 +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 aZlh85o_FHvU for ; Mon, 27 Apr 2020 09:31:37 +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 for ; Mon, 27 Apr 2020 09:31:37 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.fritz.box [192.168.110.28]) by hermia.goebel-consult.de (Postfix) with ESMTP id C4E2B600B0 for ; Mon, 27 Apr 2020 09:32:05 +0200 (CEST) To: bug-guix From: Hartmut Goebel Subject: import crate: Relaxed version selection Organization: crazy-compilers.com Message-ID: <1660dd38-8279-4fb3-4521-ee58dd131f31@crazy-compilers.com> Date: Mon, 27 Apr 2020 09:31:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.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/04/27 02:11:09 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 212.18.0.9 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit 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 (---) If (manually) importing dependencies for some package requiring "other ^0.2", I would like the importer to fetch the newest version of other-0.2.x automatically. As it is now, I need to specify the exact version number, e.g. "guix import crate other@0.2.4" - and the get the version number I need to go to crates.io, search the package and search the list of available versions. The importer can do this much more efficient. This could be implemented like this: - If the version giben ("@0.2.4") matches an version available, use this version. - Otherwise, if the version giben ("@0.2") is a prefix of some available version, use the highest/newest of these versions -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | ------------=_1608218823-21494-1--