From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aHWHMesFXmE3HwEAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 22:24:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WPovLesFXmHTPQAAB5/wlQ (envelope-from ) for ; Wed, 06 Oct 2021 20:24:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3E45912C53 for ; Wed, 6 Oct 2021 22:24:11 +0200 (CEST) Received: from localhost ([::1]:37992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYDSU-0002kI-Am for larch@yhetil.org; Wed, 06 Oct 2021 16:24:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYDSM-0002k9-OB for guix-patches@gnu.org; Wed, 06 Oct 2021 16:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYDSM-0002qh-GL for guix-patches@gnu.org; Wed, 06 Oct 2021 16:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYDSM-0004d4-CX for guix-patches@gnu.org; Wed, 06 Oct 2021 16:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42180] [PATCH v2 02/23] guix: Add importer for hex.pm. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Oct 2021 20:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42180 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 42180@debbugs.gnu.org Received: via spool by 42180-submit@debbugs.gnu.org id=B42180.163355182217768 (code B ref 42180); Wed, 06 Oct 2021 20:24:02 +0000 Received: (at 42180) by debbugs.gnu.org; 6 Oct 2021 20:23:42 +0000 Received: from localhost ([127.0.0.1]:45556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYDS1-0004cW-Op for submit@debbugs.gnu.org; Wed, 06 Oct 2021 16:23:41 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:34774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYDRz-0004cM-1w for 42180@debbugs.gnu.org; Wed, 06 Oct 2021 16:23:40 -0400 Received: from frontend02.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 4HPmB13hC8z1sCTt; Wed, 6 Oct 2021 22:23:37 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4HPmB1189zz1qqkM; Wed, 6 Oct 2021 22:23:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan2.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id WDBU-TDAvmL4; Wed, 6 Oct 2021 22:23:35 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-52-121.dynamic.mnet-online.de [188.174.52.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 6 Oct 2021 22:23:35 +0200 (CEST) Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 07D6D60129; Wed, 6 Oct 2021 22:23:49 +0200 (CEST) Content-Type: multipart/alternative; boundary="------------igJwF1c9j1FQTBsWdkD577l3" Message-ID: <1a1db193-2348-73d7-1f57-9734241249df@crazy-compilers.com> Date: Wed, 6 Oct 2021 22:23:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: de-DE References: <626e4718c45c95a7278460f132bd38e08835e9f4.1633533541.git.h.goebel@crazy-compilers.com> <38e8edec6dab357b89821822d646708b802a665b.1633533541.git.h.goebel@crazy-compilers.com> <5fb6bbfa0acc2a1206425f6d516ccdf5f9536c05.camel@telenet.be> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: <5fb6bbfa0acc2a1206425f6d516ccdf5f9536c05.camel@telenet.be> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633551851; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=ZaWmgNmBRXgdsA3YFZU1A9XOhZ/zo4Hm2VDK+nEAo0A=; b=prkmD0KgQH6MmnqPKIvsuyeVm620NXFuKP70nK4VCue0ti6l6XgSLsKBbqOlvkqtqwZFpG XOAE75ZsZXT/pgxnAt+I1Ey742r6YNI+6DfEi8zSSnM1HsHfCnYNJ+JJwaqwiUMNzYqJCy j9GfoSpkaGRi9ieJnjpMiDAE2zB7KJZ4A2zwzEeKX7K0UM7fDBGuRChwpCraTRYCy/RAg/ 4lxd64KrHRFbXV6pJRzjIct/Tc0U/uN+6w4U893VUoSfV32lo9hB4nJKMJSY5S482wwdPS hxWMHjHf3MbTnm2P7BB0X7BrV1SewivvG5Yy/IW7zZ3LUG3HeBl3rFsGFa8ejw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633551851; a=rsa-sha256; cv=none; b=qQydxHd1qhvbjn636QvDu5avAlwujkHA2dUgjVDoJoRwcWLbf7lPqklzV/cRbsPT1AP2tq 7h2qFTvF3x71RUlWzrVhMforqt3J7B7Yi1OiHOmYeXXorAvF4AfGBqdzt0jPN8hu97n9vN Ja1K/aOthnbuwYtr2xxc0r5U6d2dPdDvSJShi/69aCzXEbduH2PEyKU1Xfxo8h9S3G9HaZ 8bFRspitgtleXXc7t1gChOyaFlVneH8U8rrbFqPghqIHIvFU+/U4aqDRx2sg1Ul2VvwdIm aFZC4F3GFhHqdbyPq7CMqURTKVLPg7tRCML6z7jfMp5gMCbbB6t5QgG0vCuJfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.37 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3E45912C53 X-Spam-Score: -1.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: 50tbSYEGd+7q This is a multi-part message in MIME format. --------------igJwF1c9j1FQTBsWdkD577l3 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 06.10.21 um 21:37 schrieb Maxime Devos: >> + (make-parameter"https://repo.hex.pm")) >> +(define hexpm-url >> + (string-append (%hexpm-repo-url) "/tarballs/")) > Where did you find this URL? I took a look athttps://hex.pm to download > the source code of an Erlang package, but I'm not finding any download links > for source code, for, say,. Only diffs and > ‘previews’. The hex.pm api is, well, not quite good documented. This URL I found at . I'll add a respective comment. -- Regards Hartmut Goebel | Hartmut Goebel |h.goebel@crazy-compilers.com | |www.crazy-compilers.com | compilers which you thought are impossible | --------------igJwF1c9j1FQTBsWdkD577l3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Am 06.10.21 um 21:37 schrieb Maxime Devos:
+  (make-parameter "https://repo.hex.pm"))
+(define hexpm-url
+  (string-append (%hexpm-repo-url) "/tarballs/"))
Where did you find this URL?  I took a look at https://hex.pm to download
the source code of an Erlang package, but I'm not finding any download links
for source code, for, say, <https://hex.pm/packages/idna>.  Only diffs and
‘previews’.

The hex.pm api is, well, not quite good documented. This URL I found at <https://github.com/hexpm/specifications/blob/master/endpoints.md>. I'll add a respective comment.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |
--------------igJwF1c9j1FQTBsWdkD577l3--