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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40894 in the body.
You can then email your comments to 40894 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40894; Package guix. (Mon, 27 Apr 2020 07:22:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 27 Apr 2020 07:22:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 |





Reply sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
You have taken responsibility. (Thu, 17 Dec 2020 15:27:02 GMT) Full text and rfc822 format available.

Notification sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
bug acknowledged by developer. (Thu, 17 Dec 2020 15:27:03 GMT) Full text and rfc822 format available.

Message #10 received at 40894-close <at> debbugs.gnu.org (full text, mbox):

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 |





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 15 Jan 2021 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 101 days ago.

Previous Next


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