From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Becze Subject: Re: dependancies for importers Date: Thu, 5 Sep 2019 15:18:02 +0200 Message-ID: <33c29506-1fa1-1ced-7e4d-0d53de3df6fc@riseup.net> References: <20190905121442.GW13917@E5400> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Dsbq5PidwHzB4xuqkdphinhtxaN7FrYPD" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45323) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5reT-000649-6h for guix-devel@gnu.org; Thu, 05 Sep 2019 09:18:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5reR-0003D9-O4 for guix-devel@gnu.org; Thu, 05 Sep 2019 09:18:16 -0400 Received: from mx1.riseup.net ([198.252.153.129]:33210) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i5reR-0003BB-A3 for guix-devel@gnu.org; Thu, 05 Sep 2019 09:18:15 -0400 In-Reply-To: <20190905121442.GW13917@E5400> 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: Efraim Flashner Cc: guix-devel@gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Dsbq5PidwHzB4xuqkdphinhtxaN7FrYPD Content-Type: multipart/mixed; boundary="74NaivAMXzJr6TamB7hwBSnno723uBTBT"; protected-headers="v1" From: Martin Becze To: Efraim Flashner Cc: guix-devel@gnu.org Message-ID: <33c29506-1fa1-1ced-7e4d-0d53de3df6fc@riseup.net> Subject: Re: dependancies for importers References: <20190905121442.GW13917@E5400> In-Reply-To: <20190905121442.GW13917@E5400> --74NaivAMXzJr6TamB7hwBSnno723uBTBT Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US On 9/5/19 2:14 PM, Efraim Flashner wrote: > 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 modul= es >> code directly in the `guix/import` ? >> > 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 th= e > pypi importer, but I haven't inspected the code to see if that's on > purpose or a happy accident. > yes I already did this. But it doesn't work to well if it can't also get the correct version for the dependencies. --74NaivAMXzJr6TamB7hwBSnno723uBTBT-- --Dsbq5PidwHzB4xuqkdphinhtxaN7FrYPD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8+//NTq9LY27wNqxMhqbCzY7PZcFAl1xCxEACgkQMhqbCzY7 PZeIrAf+JLsyObmTrtSXJrqqi25E94l9C5mJMepKHv20hy+e00Ko5JztnJ/aXDOv KanNkduX1jtrxK48PmQW7wKlQNEILJj4kTMJ4njkMsjYhbdTZdvIub3a386PAqyw eXno5zfObeVuRxC4pxAzHvLzRYK9kx00rrNEy2AmxyawksGeGPhkTlT/p3WLdqEB j4vzzquqCl8xuDKH2BE2CMTZtSEfVLpafIavhuiD+ixpKFZkRETv9QbwMrQs6YOg UcPJ+HiDrqlfcdO9mRTDSX9QpB7naosNDehm1n6Curkt/sOlrDlQC9mIZ8yxRWIo z1ciKCluXgEsvS5cgBrlEQCuZZEFUA== =smID -----END PGP SIGNATURE----- --Dsbq5PidwHzB4xuqkdphinhtxaN7FrYPD--