From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oM0CK3rDTWLVPQEAgWs5BA (envelope-from ) for ; Wed, 06 Apr 2022 18:44:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +IxNKHrDTWLbYgEA9RJhRA (envelope-from ) for ; Wed, 06 Apr 2022 18:44:42 +0200 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 51E2A13B3B for ; Wed, 6 Apr 2022 18:44:42 +0200 (CEST) Received: from localhost ([::1]:40710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nc8lt-0005mg-K3 for larch@yhetil.org; Wed, 06 Apr 2022 12:44:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc8lR-0005mJ-M6 for guix-devel@gnu.org; Wed, 06 Apr 2022 12:44:13 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:35127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc8lP-0005Ev-NX for guix-devel@gnu.org; Wed, 06 Apr 2022 12:44:13 -0400 Received: from hermia.goebel-consult.de ([87.176.128.230]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M597q-1nb2po2usW-001786; Wed, 06 Apr 2022 18:44:08 +0200 Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id B5D855F535; Wed, 6 Apr 2022 18:44:16 +0200 (CEST) Message-ID: <061af8e1-6532-e82f-e06e-3ae30061c381@crazy-compilers.com> Date: Wed, 6 Apr 2022 18:44:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: Maxim Cournoyer References: <87h77ly1ja.fsf@gmail.com> From: Hartmut Goebel Organization: crazy-compilers.com Subject: Designing importers (was: (Re-) Designing extracting-downloader) In-Reply-To: <87h77ly1ja.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:oCAhPbXj+T4NWLsWQqKC4m13gxn6Jj2kYgka1x2czcFffk2tRtd 8GH1qUkAgzuwM06iQ8F5fPrEg0QKzu4sUqT+aB4uzwBq4np7ROiSVEnu2aW0keUtq26jmWT P/ny6+EOHF6HOyB8QYIxphSLO/3dwfWN7He4oSXpKhi2nhz5n//Sev0UM+3JE3SCrHVtNm8 wNqAwICn9mLv9yBqOwHFQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:sB+dhI2USI8=:I05AjJcJv3KCu+BuL7ZlzE 4XdY0as0un711p4VEseHhUsHjttN/CyeFJC0hMCYKy8unx2dJZ1uiz+GWXFMulOu5ZH5rASaw H6hUI0DEOpu+Kr++dUyOLWWMmgCo887GqY6Z/2UIBOHNVC5r7Wz03r9kDFVCAbkH7Jn1kx7An KSRljbMRdsHwwcoGdDLwIxZsk9CxKRPeCwksRKTGcXclHWuQ7Qy8G9CAaeOXpoPuY4fOiAbQZ uboJNRbdak3gQGuXO/zonTT9UeyzW5sllQLvVZad/a2wCWLNXrJbh3UXeBkLkbnLKbI5JOGFX KO1nlEWGdLy+rDd7mJpgKot6c9r74aYETGBSOEowvTmWvQnDENhFPNvjpp/Lo5tVwy3L9JdUp 9OKI7rq9natilJOxsStqofSQLJ3U2i0vzcVqG+/l6ulidlF+UwPVSi8C4vIwq466nT2r1aeM+ oo0NCFwIW1HeXxhyn2qLNhXQlm3VJg0ObcU0UHlbBwC6V/R23zKbg/VbVPSPfgxInM3rWc2UJ oIxLDI7mSZuDqYVhsp+dYM32CIO4+KHUZxMhdzlGectlzpIEqKfgJl+xGPclgmZVYuLMLWNPT xra06M0LGP++7/d44TV3xbXLiBJhCPeqoXhofQSTMInjo5Dcfmrbb863XmkQb0MVXrqJ4fYkQ ehgCQC5z5Sf++VbQwgLhCOh8GYmLicShEnT0lf3SWuD1CY7xM/j0Fd++y6Uk8+WPhW5coTp0O gyb88lUhAgoAMKzD Received-SPF: none client-ip=217.72.192.75; 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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 Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649263482; 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=MQ310FTKPEs5oty+ihBLNtFYLsDOxpn8eHq9fxkVg8Q=; b=AEkUokcTsfOQwXPVZFc064MbsYg1wxiCER5xwDzxPq1TxidjaffFqYd53i9JCjb9RQdrko VP7AYUwu5rNu8q1Cpfk8d+yYAXjbB/zdjt9tdsdHSc6LXNJ+8RvnHY7dixMLvlznmLUA1L F8XOpMAasWKMjZFgvPJzAuQOEh5l6RckmibzcEp6/qsWid+w+AgiGcLTrigSvqrgCjFq78 fVnMZ3Pf+xiYJgfu2DB4OA3vE5JzFIl3ZiREzd2b94E8UF1vFERlxPPnSZ4ZrnmH+hrQbz Sx8oe4ot3yEohaYB/Vq+wJE7S0/Xy12kstSSBXO81A62VHFb+6512r781ZCJ6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649263482; a=rsa-sha256; cv=none; b=r8eHZ+CmVn5eWhz4oq3B0JyiDG+FmvKlQhC81IiFF7dvTTiAFHTfHHp/8Tx3a1kiPhffWJ aP5Y/RizaUJZsEzLd85yIjPnuvRi8M+3InLwM1vfnjaYCRpSlJmNvUAoHhldkaxpFYIw2P 7/2+f/He7+3zd6OtmSMPGyI2ChbQv45o6cNXqdtkgRCLqVHZpY0xmwBWO0c0/ZwuKsDpwh 57F4SZcGYDpiFSiSaZLy/flwB1S9E1Dgv39ShMy1/s8Jk+zCrcKxeYDUxzdJLvxyH25c0D Apf4XIKHur56Is8iwsepKx6tu8uGILmldWFMq0fH91ZoIFJfdsdHu/T3kHh+Zw== 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: -2.87 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: 51E2A13B3B X-Spam-Score: -2.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5PeFkofsxbEu Am 26.03.22 um 01:56 schrieb Maxim Cournoyer: [Answering on the question how to design the extracting download I originally thought of using got hex.pm packages:] > Is there a strong reason to want to use the archive instead of the > sources from the project repository? For the same reason you prefer to import from a PyPI package instead of the project git-repo: The metadata is easily available. Anyhow, using the git-repo could be a pro, since the hex.pm package might miss tests or test-data. OTOH I discovered that some Erlang projects have the build-tool binary („rebar3“)  committed in the git-repo, So when using the git-repo, this needs to be removed by a snippet (which would not be required when using the hex.pm archive). So this is a more general discussion: Would it be better — also in regard to detecting new versions — to use the projects source-repo or the package manager's repo. Given the recent discussion about how to make packaging easier, maybe the hex.pm importer (and others) should become much more capable: E.g. the importer could fetch the meta-data from hex.pm and then create a package definition pointing to github (falling back to hex.pm). And then - to make life easy for packagers, check the repo for „rebar3“ and in case create a snippet for removing it. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |