From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: dependancies for importers Date: Thu, 5 Sep 2019 15:14:42 +0300 Message-ID: <20190905121442.GW13917@E5400> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="S4+Kf2w4CfEO117G" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33117) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5qf1-0005s6-6h for guix-devel@gnu.org; Thu, 05 Sep 2019 08:14:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5qf0-0000GY-4a for guix-devel@gnu.org; Thu, 05 Sep 2019 08:14:47 -0400 Received: from flashner.co.il ([178.62.234.194]:60852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i5qez-0000FW-Ui for guix-devel@gnu.org; Thu, 05 Sep 2019 08:14:46 -0400 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Martin Becze Cc: guix-devel@gnu.org --S4+Kf2w4CfEO117G Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 04, 2019 at 04:20:46AM -0700, Martin Becze wrote: > Hello, > I'm wokring on the crate importer. It currently doesn't support > versioning of dependancies and just always uses the latest version of a > given crate. Of course this would break main rust packages, so i'm > trying to add version support. To do this I need to be able it find a > dependancy in a specified semantic version range and to do this I'm > attempting to use a guile module > (https://ngyro.com/software/guile-semver/). Is it possible to package > this module then use it in an importer? Or should I just put the modules > code directly in the `guix/import` ? >=20 Although not actually answering your question, what about modifying the crate importer to allow for getting a specific version? For example 'guix import crate addr2line/0.9' or '/0.9.0'. I think it works with the pypi importer, but I haven't inspected the code to see if that's on purpose or a happy accident. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --S4+Kf2w4CfEO117G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl1w/DEACgkQQarn3Mo9 g1G9dA/+IzPTOV5mq08n/q3+E77KmmnrFt7XzAPg707shTYGD8Avu9nPeOlLwPxr LuBqrSDGCDGr9lDo8djVQfAH8DV8nuJf0akdLy6I+1ikI9xy0omO8Aa3xN5zYkvT 8oloCHQxjuGunfmyFc1BtmGPEo92qA+H0tvyAIreB9qJzXgKNEMTSGU8EpV6U2Rg UpSkdstSozAzpoP9ru/uTVb9TOsFvavb7Qigos8H+xC7H5Yd4/tYQ9oyNMethgLA 4eyOkWaKBbYo7EX/piI+aRqDjAYCo2UG6IpqI2opjqk/QTxetdML5ynRYVMKWa6+ Lk5u9KpRCooRpnkchQm0psLKSNInZRHLwe61lHnMBPajBPg12Z9QUHkJr6/gknE5 M9hJzyNKNUuPFCHFG14aG3lIjbsObh5FO3eP/YsFIDBYroPMQRRlILnGeESBML1H 0Q6IA5DUsifMfBElguIFBZefaakQ/iYqAxs9AkpFJvEp/XsuQE/apSqUeFC7582i kZo9G1Rcq3Hx1GlrnmNjdrlvnqDJyJbI5rCYNv3BHw84Q0pKJW/lBU+WBMz/iZh8 uOvqfRMYEg00vxazKEBB+QUXYRTHdxExdk9bJ8+Lc3PSBIw+DRNwowQaJFLawAB3 BW8Q5T+txXGxgTPuqARc4LyiU2GwciE605/d/L948jVjLza+TX0= =lNOn -----END PGP SIGNATURE----- --S4+Kf2w4CfEO117G--