swh: Remove 'id' field from <origin>.

The "id" field has been removed upstream:

  https://sympa.inria.fr/sympa/arc/swh-devel/2020-02/msg00005.html

* guix/swh.scm (<origin>)[id]: Remove.
This commit is contained in:
Ludovic Courtès 2020-02-11 10:03:22 +01:00
parent 59796dfd63
commit 3d2f29382d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -39,7 +39,6 @@ (define-module (guix swh)
request-rate-limit-reached?
origin?
origin-id
origin-type
origin-url
origin-visits
@ -247,7 +246,6 @@ (define (name args ...)
;; <https://archive.softwareheritage.org/api/1/origin/https://github.com/guix-mirror/guix/get>
(define-json-mapping <origin> make-origin origin?
json->origin
(id origin-id)
(visits-url origin-visits-url "origin_visits_url")
(type origin-type)
(url origin-url))