unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: 37254-done@debbugs.gnu.org
Subject: bug#37254: [PATCH 0/4] Refactor (guix ci) and (guix import crate)
Date: Wed, 04 Sep 2019 13:04:27 +0200	[thread overview]
Message-ID: <87ftlc726c.fsf@inria.fr> (raw)
In-Reply-To: <20190901144647.15185-1-ludo@gnu.org>

Hello,

Efraim Flashner <efraim@flashner.co.il> skribis:

> After my several (panicked :/) messages on IRC it turns out it's working
> pretty well. I'm able to run 'guix lint -c refresh' and 'guix refresh -t
> crate'.

There was room for improvement though:  :-)

--8<---------------cut here---------------start------------->8---
$ guix refresh -t crates
Backtrace:
          10 (primitive-load "/home/ludo/.config/guix/current/bin/gu…")
In guix/ui.scm:
  1692:12  9 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9  8 (catch _ _ #<procedure 7f0dd4fb6e98 at guix/ui.scm:623…> …)
    829:9  7 (catch _ _ #<procedure 7f0dd4fb6eb0 at guix/ui.scm:746…> …)
In guix/store.scm:
   623:10  6 (call-with-store _)
  1803:24  5 (run-with-store #<store-connection 256.99 1e05b40> _ # _ …)
In guix/scripts/refresh.scm:
   533:14  4 (_ _)
In srfi/srfi-1.scm:
    640:9  3 (for-each #<procedure 21e33a0 at guix/scripts/refresh.…> …)
In guix/scripts/refresh.scm:
    344:2  2 (check-for-package-update #<package rust-autocfg@0.1.5…> …)
In guix/import/crate.scm:
   180:14  1 (latest-release #<package rust-autocfg@0.1.5 gnu/packag…>)
In unknown file:
           0 (string-append "https://crates.io/api/v1/crates/" "aut…" …)

ERROR: In procedure string-append:
In procedure string-append: Wrong type (expecting string): #f
$ guix import crate blake2-rfc
guix import: error: failed to download meta-data for package 'blake2-rfc'
$ guix describe 
Generacio 101   Aug 26 2019 09:31:24    (nuna)
  guix a707484
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: a707484d64e7e46f8cb8401c660fbb6eb77ab9c6
--8<---------------cut here---------------end--------------->8---

This change fixes that.

> some errors I've come across, sometimes I get (license (list . #f)),
> like for rust-ppv-lite86, and sometimes I get (license (list .
> license:expat))), like with rust-schannel.

Oh there was still an issue with this, so I’ve fixed it.  But note that
“guix import crate schannel” doesn’t work on master.

I’ve pushed the whole series now.

Thanks for your feedback!

Ludo’.

      reply	other threads:[~2019-09-04 11:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-01 14:46 [bug#37254] [PATCH 0/4] Refactor (guix ci) and (guix import crate) Ludovic Courtès
2019-09-01 14:56 ` [bug#37254] [PATCH 1/4] Add (guix json) Ludovic Courtès
2019-09-01 14:56   ` [bug#37254] [PATCH 2/4] ci: Use (guix json) and adjust for Guile-JSON 3.x Ludovic Courtès
2019-09-01 14:56   ` [bug#37254] [PATCH 3/4] import: create: Separate crates.io API from actual conversion Ludovic Courtès
2019-09-01 14:56   ` [bug#37254] [PATCH 4/4] import: crate: Correct interpretation of dual-licensing strings Ludovic Courtès
2019-09-01 16:05 ` [bug#37254] [PATCH 0/4] Refactor (guix ci) and (guix import crate) Efraim Flashner
2019-09-04 11:04   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ftlc726c.fsf@inria.fr \
    --to=ludo@gnu.org \
    --cc=37254-done@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).