unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: zimoun <zimon.toutoune@gmail.com>,
	"Ludovic Courtès" <ludo@gnu.org>,
	"Leo Famulari" <leo@famulari.name>
Cc: guix-devel@gnu.org
Subject: Re: Why linux-libre source code is not in sources.json
Date: Thu, 09 Sep 2021 11:50:59 +0200	[thread overview]
Message-ID: <76c52829993400ffb1f85dd30a3d63844a45540e.camel@telenet.be> (raw)
In-Reply-To: <86lf468ai5.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 839 bytes --]

Hi,

> [...]
> 
> where ’make-linux-libre-source’ returns a ’computed-origin-method’.  And
> the ’origin-uri’ of ’linux-libre-5.14-pristine-source’ is a ’gexp’.
> Then inside this ’gexp’, you can read the ’%upstream-linux-source’ URL:
> 
> --8<---------------cut here---------------start------------->8---
> #<gexp-input native
>  #<origin
>   #"mirror://kernel.org/linux/kernel/v5.x/linux-5.13.14.tar.xz"
>   #<content-hash sha256:06lbjsbr86qa8yai5gfclbfxvcqsw33kxj9b4r93hh6z1wajmx82>
> --8<---------------cut here---------------end--------------->8---
> 
> and I do not know if it is possible to extract such thing.

To extract the <origin> from the <gexp-input>, use gexp-input-thing.
To extract the <gexp-input> from the <gexp>, use the unexported
gexp-references.

Greetings,
Maxime

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2021-09-09  9:52 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-04 18:17 Linux-libre source code will be taken offline Leo Famulari
2021-09-04 20:32 ` Jason Self
2021-09-06 17:36   ` Leo Famulari
2021-09-27 22:30     ` Mark H Weaver
2021-09-27 23:17       ` Vagrant Cascadian
2021-09-28 13:05         ` Ludovic Courtès
2021-09-27 23:30       ` Leo Famulari
2021-09-28  0:13         ` zimoun
2021-09-28  0:17           ` zimoun
2021-09-28  0:46         ` Jason Self
2021-09-28  8:43           ` zimoun
2021-09-28 14:02             ` Jason Self
2021-09-28 14:30             ` Jason Self
2021-09-28 17:11               ` zimoun
2021-09-28 17:52                 ` Jason Self
2021-09-29  8:50                   ` zimoun
2021-10-08  1:58                     ` Maxim Cournoyer
2021-10-11  8:43                       ` zimoun
2021-09-08 22:00 ` Ludovic Courtès
2021-09-08 23:46   ` Why linux-libre source code is not in sources.json zimoun
2021-09-09  7:37     ` zimoun
2021-09-09  9:50       ` Maxime Devos [this message]
2021-09-09 17:18         ` zimoun
2021-09-11  0:22   ` Linux-libre source code via SWH sources.json zimoun

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=76c52829993400ffb1f85dd30a3d63844a45540e.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guix-devel@gnu.org \
    --cc=leo@famulari.name \
    --cc=ludo@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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).