emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40894: closed (import crate: Use proper variable names)


From: GNU bug Tracking System
Subject: bug#40894: closed (import crate: Use proper variable names)
Date: Thu, 17 Dec 2020 15:27:02 +0000

Your message dated Thu, 17 Dec 2020 16:26:39 +0100
with message-id <a490601c-1027-3ba2-3e42-09ee81b78180@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@gnu.org.)


-- 
40894: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40894
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: import crate: Use proper variable names Date: Mon, 27 Apr 2020 09:21:22 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0
"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@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@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@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |




--- End Message ---
--- Begin Message --- Subject: Should be solved by new importer 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
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 |



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]