GNU bug report logs - #40894
import crate: Use proper variable names

Previous Next

Package: guix;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Mon, 27 Apr 2020 07:22:01 UTC

Severity: normal

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#40894: closed (import crate: Use proper variable names)
Date: Thu, 17 Dec 2020 15:27:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 17 Dec 2020 16:26:39 +0100
with message-id <a490601c-1027-3ba2-3e42-09ee81b78180 <at> crazy-compilers.com>
and subject line Should be solved by new importer
has caused the debbugs.gnu.org bug report #40894,
regarding import crate: Use proper variable names
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
40894: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40894
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: import crate: Use proper variable names
Date: Mon, 27 Apr 2020 09:21:22 +0200
"import crate -r" shall create and use "proper" variable names for the
package definitions it prints out and for the packages it reference.

If guix commits to use variable names follow the Cargo book (see
<https://lists.gnu.org/archive/html/guix-devel/2020-04/msg00394.html>),
the importer shall create respective variables and use these names. This
would easy importing packages a lot.

Dummy example:

$guix import crate -r h2 <at> 0.2.4
…
(define-public rust-h2
…
    (arguments
      `(#:cargo-inputs
        (("rust-bytes" ,rust-bytes)
         ("rust-fnv" ,rust-fnv)

Shall become

$guix import crate -r h2 <at> 0.2.4
…
(define-public rust-h2-0.2
…
        (("rust-bytes" ,rust-bytes-0.4)
         ("rust-fnv" ,rust-fnv-1)


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel <at> crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



[Message part 3 (message/rfc822, inline)]
From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 40893-close <at> debbugs.gnu.org, 40894-close <at> debbugs.gnu.org,
 40895-close <at> debbugs.gnu.org
Subject: Should be solved by new importer
Date: Thu, 17 Dec 2020 16:26:39 +0100
This issue is solved by the new importer.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel <at> crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



This bug report was last modified 4 years and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.