From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MMFMDZJIu17DLgAA0tVLHw (envelope-from ) for ; Wed, 13 May 2020 01:08:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QKWsLKBIu17XXAAAB5/wlQ (envelope-from ) for ; Wed, 13 May 2020 01:08:48 +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 4A73B940C01 for ; Wed, 13 May 2020 01:08:46 +0000 (UTC) Received: from localhost ([::1]:35130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYft9-0006xr-6v for larch@yhetil.org; Tue, 12 May 2020 21:08:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYft1-0006xD-Rj for guix-devel@gnu.org; Tue, 12 May 2020 21:08:39 -0400 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]:38546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYft0-0002ZH-WD; Tue, 12 May 2020 21:08:39 -0400 Received: by mail-qt1-x842.google.com with SMTP id i68so12889694qtb.5; Tue, 12 May 2020 18:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Q5oF3i8NC/ABsXs8yf4jMmWtGGaG2GVra680U2QTlUA=; b=GtbgrQrqd9Ku/4EgHhBK44piL31tNS2QpbTwYGtlhRMddWxPti7STFyYhZVITzaLEu BEHwjKqBziGoGbeeRCJaXtmvCOaNsKllxyDJQ53Vzn8miwtaA0c1BMKmp54sA4voU2Ta nRxb85/5Df9SNjeAzZ7nlwhqW4kcicC3iuAfqxbmLsfGTrPs0wXmWNlE96Fj197owx+D 11qM4iAep7LK2Nt7MJvzUB4sn6EqnT358xbH8WHqkiX+nCad74mrTgEYhxkFMuedH9hO ySRNp1C112APFVe/z4L+eO7u7JDYYNiuqiJnLMwB/sKQZnsJIVCZabe7G6z12Lgki00I LL1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Q5oF3i8NC/ABsXs8yf4jMmWtGGaG2GVra680U2QTlUA=; b=s8s4bIEf7UB32bplbkB6eznNVm5PA51NY+NDYgjbD60k+SGA+7I3PExfEh1Qj1Qsrj UOzqgtqOESscLqBRahVMC0FGMANSbQY6j//MFuosZNXwgOlnvW7xe8hbeN2A9ZU2dj4P PBpVjoeq+anRKc9A7ZH8SK0wkofunphW8pXgA4BW00jkBWGFzX6kHpvPMlzV9Fns8j0E lZ8i74gkdKl9KMSwQrDlPye08iQs8vy2aV1qy2bVyz0UaTIp+rJvpV/HiyHS0XwuN5YH ITKaoL+Pphe6D5PebPF16UHxjFP4WzZiuDClfMUthmqFQLtYk7wNTa9gdTlTIkBTTB5Y jjnQ== X-Gm-Message-State: AGi0PuaUTC0iQBUfIzSj1dmpfELPnBwxW+6zRUCgNcKGhAmVUyi5+xC3 4BtFA6op3oA8Uh4QV/yHwDX8UOKZfw/wOlWHVCs= X-Google-Smtp-Source: APiQypKVM1AIzebImwhZ2AqiKZp8soGvj+4qnwrpTt+wQ5d8lUFU+mEbj/r86pbacqLR11JunHsdlFiWpV7VZg9GaGY= X-Received: by 2002:ac8:4e0f:: with SMTP id c15mr23584321qtw.211.1589332117496; Tue, 12 May 2020 18:08:37 -0700 (PDT) MIME-Version: 1.0 References: <20200306091524.5044.11103@vcs0.savannah.gnu.org> <20200306091525.E8A1621163@vcs0.savannah.gnu.org> <87o8t9lfci.fsf@devup.no> <871rq5bjzf.fsf@ambrevar.xyz> <87lfodl6u5.fsf@devup.no> <87tv2vgdlg.fsf@gnu.org> <87lfo72b8i.fsf@ambrevar.xyz> In-Reply-To: <87lfo72b8i.fsf@ambrevar.xyz> From: zimoun Date: Wed, 13 May 2020 03:08:26 +0200 Message-ID: Subject: best practise between git-fetch vs url-fetch? To: Pierre Neidhardt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::842; envelope-from=zimon.toutoune@gmail.com; helo=mail-qt1-x842.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DEAR_NOBODY=2.442, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 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-Scanner: scn0 X-Spam-Score: 1.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=GtbgrQrq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Scan-Result: default: False [1.09 / 13.00]; GENERIC_REPUTATION(0.00)[-0.53962687596352]; DWL_DNSWL_BLOCKED(0.00)[209.51.188.17:from]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.06), country: US(-0.00), ip: 209.51.188.17(-0.54)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:-]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_NEQ_ENVFROM(0.00)[zimontoutoune@gmail.com,guix-devel-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[gnu.org:email,fastmail.com:email]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: EAH+MNc7Ci+k Dear, Based on these 2 messages [1,2], what is the consensus between git-fetch and url-fetch? Pushing to SWH when linting appears to me winning the pros/cons. Even if SWH should eventually fetch http://guix.gnu.org/sources.json soon. And the other big pros from my point of view is the content-addressed Git references. Well, does it make sense to state on a recommended method? All the best, simon [1] https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00091.html On Fri, 6 Mar 2020 at 18:41, Marius Bakke wrote: > url-fetch requires less bandwidth, and does not depend on 'git'. > > Though the most important distinction is that uploaded releases > sometimes contain pre-processed sources (e.g. documentation) that need > additional dependencies or scripts when building from the raw repository > (this is why you often need to add autoconf, libtool & friends as inputs > when building Autotools projects from git). > > I don't know whether there is a difference between the uploaded fmt > zipball and the git repository. [2] https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00189.html On Wed, 11 Mar 2020 at 15:39, Ludovic Court=C3=A8s wrote: > Other considerations: > > - Bandwidth requirement for source code downloads has never been a > criterion so far. > > - Git references are nice because they=E2=80=99re (roughly) content-add= ressed. > > - =E2=80=98guix lint -c archival=E2=80=99 archives Git references on So= ftware > Heritage; it does not archive tarballs (though SWH will do it > for us eventually.)