From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mG/OMxhHF2LoYgEAgWs5BA (envelope-from ) for ; Thu, 24 Feb 2022 09:51:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SFN0LBhHF2L/HAAAG6o9tA (envelope-from ) for ; Thu, 24 Feb 2022 09:51:36 +0100 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 6521510D95 for ; Thu, 24 Feb 2022 09:51:36 +0100 (CET) Received: from localhost ([::1]:39858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nN9qZ-0007xE-Ej for larch@yhetil.org; Thu, 24 Feb 2022 03:51:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nN9pG-0007v1-19 for guix-devel@gnu.org; Thu, 24 Feb 2022 03:50:19 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:45131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nN9pD-0000en-5E for guix-devel@gnu.org; Thu, 24 Feb 2022 03:50:13 -0500 Received: from hermia.goebel-consult.de ([79.211.180.196]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MwxNF-1oB1QZ0MAN-00yUfc; Thu, 24 Feb 2022 09:50:08 +0100 Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 7C9C65F564; Thu, 24 Feb 2022 09:50:08 +0100 (CET) Message-ID: Date: Thu, 24 Feb 2022 09:50:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-US To: pukkamustard References: <86y221vnrp.fsf@posteo.net> From: Hartmut Goebel Organization: crazy-compilers.com Subject: Re: (Re-) Designing extractong-downaloder In-Reply-To: <86y221vnrp.fsf@posteo.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:+tlMGF8Ozl+8PHJpzMlKXZ/YW0DGrjULg/X/7sxmqG7uKd/BHct gs0Vn+qiowlSc3FHK/ChB9fAui5Kp55PVddKce36/QvsJHv41NXwvYb7SGQpi2i5N5IuVJ7 44khMo2jGImtG7paGsgbVQK/Hdd+hGJi7CKhVsA6sHyknoWSfJNHVl64ukDWbkTaOiaEiXn TuYYQUY7XU+WjiwJpTk4g== X-UI-Out-Filterresults: notjunk:1;V03:K0:2NSjzINQZHg=:jCuIIeYoiK9VjYFRkSgULv 9+paZp54yVHvXY+ze3ecXLxgPZExK+dF0TLlJQ6Thn4yYRnkXmuR7TCQUPnGFgV8jZ2GEqEbA gSrWqWzByPI6wMlSOm0iFnM2T26BaQnghms/nv84npYSYowiyXRVTMJPBMWjwZKLVkx4QR+wd ineEKoOE/B5MKO+lKr/q2I8GZjdG4QyyJDjr2JoOk2L/cZ/j8zmXZURtejoenn+w5kXzOYYA1 Eq69s4lyuGdwhyqxWavEln/5iLWcxNT3x649bBqaU9OFEc0x+kRXWjj+HsezhSBHKJm8GFBKL 9nvwuDZwRADc/ZxxefOquRa76PhJLUPQxIOTvu+ffcE/geRqgv3AzenPuNpA7vLPTSW5yq4oJ xCd2ol21xXLWDSpDi7enwTj8XAOsnEXg4repfGXqsa9yi6RLL5c5jXB1/MoG4SwDa0X09Jxw0 xK5onbNiQ6T1BSmJ/a+3j+ujugwFQ4PIeuo4ZXrm7ijv4aBvjOzuk+M/hQg66xP+MJs+R8S98 XYdNyzX56GDNR+5hi49sRSiL//jgtwPkyw2NY4SAYxsaIjYdlSpPsApZHpz8eEo5BUA4aZtTx PE2xnhkZwEm6Fc9faZZKqW0p6qkeSJQdTWbfilt24I3lRNzcQFLUDrMpqlQgV+yR9KU7CRy/A m4ELhqGoSxSiMHH3F4xW7uehuwJj3n/dBnx792er+rdRUf6K9gLPyPKV1MG4K0Vwz8kVs6g/b pPM/ukt8jWvC8Tki Received-SPF: none client-ip=212.227.17.10; envelope-from=h.goebel@crazy-compilers.com; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645692696; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=4z7sQpqz1BwZBBCsld1g14suFPhVPI0nzyDIu7+vymg=; b=kkbV5iZf0EFRjHmsCD5pQuvQV6QM9lAF1fw0C4hRuld1YIVy1llaJKJQeZ51NChbe4qcZh cMyj3F42ZAI9Ezoww5OxwhNfx8vRH9PouOTS76jIHs+iLAoSeVu198SHonB2FWAADb2Bk2 9oeYRG6I39kDNOS9jaD5YM0rgv+z+PnpausQDXLNzZA1iXewPdcScVDgvfzgI5Tf3yNI7/ RGJvs8lr2326SOxKYmS3e49JKSF15SczTws164n1U0+bkcWySe6IBwUAk7KvWIy8nCSlIT 5+ZI/HnJk0xC77WwRxs6uxc+ig7btSy3RwNOpIq+YFs68Arpte2qBKzYFD3svw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645692696; a=rsa-sha256; cv=none; b=T2QZXojy0AX7sptU2sEJIZVClrT0TsicE5NFrS094tRge35gjVzcf/ej/sXJOiirGOxwCh tcxnPq0+Ky6ogitX+dUgFibE24lyJGwJaEg/MCXo/578C+8OfftUr4erHo55+BFGtNrUdq 8knpKHdg/gyV4CjUzodTT2ocparGyDFtDISNND1hZPddN+rWtzw6SkGk36uMAjtBSFaP/c YZZbQJ2XJ8/GPYKsC1Z9keYvEf5m1T7aoauWKKpwSKmYoncnqnyYBp60ELSkX83UPKoAu6 K714wXZp9fttZXYinvyA4OJ6yCpNl4kx+orF6PzJtmroFfV+Ni7AIC6BuY0UTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6521510D95 X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: HWdXQRjM54ME Am 23.02.22 um 11:52 schrieb pukkamustard: > Why use the source from hex.pm at all? While issue 51061 is about the hex.pm importer and the rebar build system, this thread in only about the extracting downloader :-) > The hex.pm metadata.config file does not seem to exactly specify the > upstream source. We would need some heuristics to figure this out. But > maybe we could find a heuristic that works well enough? This would solve > the double-archive problem. FMPOV, hex.pm is one important valid distribution point for erlang and elixir packages. Like PypPi is for Python and CPAN is for Perl. So we should support defining this as a packages source, which can also be used for checking for updates much easier than any git repository or git-based forge. Some of the packages I've investigated so far are easier to build from hex.pm than from github. E.g. some github repos contain a „rebar“ binary (which needs to be deleted by a snippet when defining the source), while the corresponding hex.pm package can be used as-is. Regarding heuristics: Since build should be reproducible, a source definition must not use any heuristics. Anyhow this might be useful for the hex.pm importer. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |