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 ms9.migadu.com with LMTPS id iINSCx7BMWQMigAASxT56A (envelope-from ) for ; Sat, 08 Apr 2023 21:31:42 +0200 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 aEZqCh7BMWShaQAAG6o9tA (envelope-from ) for ; Sat, 08 Apr 2023 21:31: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 C23CC311E9 for ; Sat, 8 Apr 2023 21:31:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plEHY-0003Iw-4T; Sat, 08 Apr 2023 15:31:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plEHV-0003IC-Kn for guix-devel@gnu.org; Sat, 08 Apr 2023 15:31:25 -0400 Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1plEHT-0008Ry-Mj; Sat, 08 Apr 2023 15:31:25 -0400 Received: by mail-qv1-xf32.google.com with SMTP id ek19so1123696qvb.9; Sat, 08 Apr 2023 12:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680982281; x=1683574281; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=txp9WvhWOSODXni/FbS91r3m9Aq78+MhmgpLRaYOcwA=; b=X0gw/AYfbfsWCnR16Q/SImSgFwfMGoctNLs+S4HybECJSuEMYnW9D7NuhofO0uGL8L vqqifsXB3CQ8dGM4M3muXnU18Q7uGiBtX5yMJZpbqqVVeP+GgaeDiUFoqU2VRkjKdxC/ BJYbG361Y2292lFQv+yXiy+K5uGoyHEDewICJVFy+n+J8zhanc0B4/G9ru/OTlqnHR7q 1QbSGfvwlfQhAwohV+o46+FfXssdnYMd0Rz7sM2u6kSiBpyIgMyjQfz0cLCKIJcKx7k2 x2wmW3M61G787HJVT5S+8/Um2X6efk+ZyQe5h42qXED2a+QImgm3bo6i1pM6piQ+kW0r iGVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680982281; x=1683574281; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=txp9WvhWOSODXni/FbS91r3m9Aq78+MhmgpLRaYOcwA=; b=fq7iDMw7DosZ0IMYQBJZdeofDJrk9n+0ZfRJQJmx4P0vl1F1IQCPHnUwHJH/QgLlpd gdeZ7pQHsRnFcFdtr/FIlCF3R8H9IM8zNd6iNGCFtZWQsqVET6fD9jE4XSHYCoZ/m4Yi IMpymxZ05bFj9TprTHvoK1dXYPgQG2Sctjq0LFIb3sSKApp+QJGDQNwYoez37Eayz1z/ H15HSDQcaae3+wapKqqU55ev1gpkfTGURyZoMYz6P9Z9022CG24HfhDy8CzrRzuIdn4n E0EEIz1is2RsAc3WhIxdFlBhGX/PH1Qfhj45pzcU68MalRoxJChDyykqOnjJwyvI6RrI A8zg== X-Gm-Message-State: AAQBX9dn7gRZ6ZppQNIboVHfBPHmZEcrumEYXe2wQ6ooi6T+rwXFFk3x 0/kxcLL5qI/0KZiOqzWWaPhEJAwGAfQ= X-Google-Smtp-Source: AKy350ZGs2PUJjmpp2BpFm2aWwVdWeBbj12YxBNZDr//ucGI+/dUjZrFbGi0SrxHj6R21KBlWRGwYw== X-Received: by 2002:a05:6214:daa:b0:56e:9da4:82ff with SMTP id h10-20020a0562140daa00b0056e9da482ffmr5488959qvh.50.1680982281542; Sat, 08 Apr 2023 12:31:21 -0700 (PDT) Received: from hurd (dsl-205-233-125-210.b2b2c.ca. [205.233.125.210]) by smtp.gmail.com with ESMTPSA id i17-20020ad44111000000b005eab96abc9esm22439qvp.140.2023.04.08.12.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Apr 2023 12:31:21 -0700 (PDT) From: Maxim Cournoyer To: Sergey Trofimov Cc: guix-devel@gnu.org, Felix Lechner , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: 09/09: lint: Append "/info/refs" to git-reference-url. References: <167993594172.19339.5508149737774069815@vcs2.savannah.gnu.org> <20230327165223.DC609C1391D@vcs2.savannah.gnu.org> <87pm8r0xnv.fsf@gmail.com> <878rfezrmz.fsf@sarg.org.ru> Date: Sat, 08 Apr 2023 15:31:19 -0400 In-Reply-To: <878rfezrmz.fsf@sarg.org.ru> (Sergey Trofimov's message of "Thu, 30 Mar 2023 08:13:00 +0200") Message-ID: <87mt3irx14.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::f32; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf32.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, 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_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680982302; a=rsa-sha256; cv=none; b=DsqAgG6x3nq3zzq5WsPn5BPwXtZHj9s6G0jLsso9tIw1w/eJZ+8g5JpM6LJOzvAtqYkM7r 9lEySz2x7YccGGrKqCJLk1jeuunY9BnQ80+0vGkC74qx4Ct3cxtTN37lDXMABrpMJTIKMg FPVZfEV93zi3joagcmhRfUbWOuyu2ORi+WacmIpyHFn//mWkz8G/wE1qDvBvCrLmBajiXM JsjlRAnVMkdtg1aOwyOMbQgQFEPLAc7y5/KJLFoa4IehNh+JTk/6/JaG6xganX71ZPx+F6 6kpJ/S+u2/8GUM3WhAHihL11wdRCKNA6IfbPdBk5EObVbIbkDQg+f1QYzKFYUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="X0gw/AYf"; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680982302; 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:dkim-signature; bh=txp9WvhWOSODXni/FbS91r3m9Aq78+MhmgpLRaYOcwA=; b=p0TkI+bd6xOwhtYI7kd/Bpkjbmf3KmiUxLioz/whi6hzzKu9eQyncWnhuDbra3/m5BNHfg aBJ5YFULEp9TpZPY2qZa3bzBEtVzcdH7Yso1JYwXVtnbeK+nlWA4dUpQdgn/MxdHAdSXwO 17Vy1hSMUGjqQ1o3Uf1sGlW+npxMlRVKBwD/xLZzHlrqthGGGmxkzOQy20eaxmyz8MjB3P rMvgYJHW+grfAwZScDqIVGV20QOS46RNt8QsVXixrgMTCaLP7GsK2LfdB0KKHVSjuDP1Gg lt3OQqrwDt/B3nL9wzNJzQKVxzWN8k4hKPtf3bIYoJme9Cq+vZ+Jbv2r0TnT3g== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="X0gw/AYf"; dmarc=pass (policy=none) header.from=gmail.com; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.45 X-Spam-Score: -6.45 X-Migadu-Queue-Id: C23CC311E9 X-TUID: P6RvCbqpZE6/ Hi Sergey, Sergey Trofimov writes: > Maxim Cournoyer writes: > >> Hello, >> >> guix-commits@gnu.org writes: >> >>> lint: Append "/info/refs" to git-reference-url. >>> >> After this fix, I'm now seeing warnings from Github, e.g.: >> >> gnu/packages/rails.scm:675:2: ruby-activejob@7.0.4.3: scheduled=20 >> Software Heritage archival >> gnu/packages/rails.scm:282:2: ruby-activemodel@7.0.4.3: URI=20 >> https://github.com/rails/rails/info/refs not reachable: 403=20 >> ("Forbidden") > > > It seems that the `service=3Dgit-upload-pack` is important as it=20 > switches the protocol to "smart-http". > > ~/devel/ext =CE=BB curl=20 > 'https://github.com/sarg/dotfiles/info/refs?service=3Dgit-upload-pack' > 001e# service=3Dgit-upload-pack > Warning: Binary output can mess up your terminal. Use "--output -"=20 > to tell > Warning: curl to output it to your terminal anyway, or consider=20 > "--output > Warning: " to save to a file. > 0000 > > ~/devel/ext =CE=BB curl 'https://github.com/sarg/dotfiles/info/refs' > Please upgrade your git client. > GitHub.com no longer supports git over dumb-http:=20 > https://github.com/blog/809-git-dumb-http-transport-to-be-turned-off-in-9= 0-days > > > Maybe the linter should just use `git ls-remote` instead of=20 > guessing the url? > > ~/devel/ext =CE=BB git ls-remote https://github.com/sarg/dotfiles > 7707f77e8d9c11b5435c5901eca45be1a72d2054 HEAD > 7707f77e8d9c11b5435c5901eca45be1a72d2054 refs/heads/master That sounds like a better way to me! --=20 Thanks, Maxim