Article View: linux.kernel.git
Article #2515Re: [PATCH v3 0/3] bundle-uri: do not die on unresolvable relative URIs
From: Derrick Stolee
Date: Fri, 06 Nov 2026 14:57
Date: Fri, 06 Nov 2026 14:57
25 lines
12052 bytes
12052 bytes
On 11/5/2026 10:28 AM, Aniket Gupta wrote: > A bundle list can contain a relative URI that cannot be resolved, and > today one such entry makes the whole clone die. This series lets the > bundle code report it and skip that bundle instead. When reading patch-by-patch, I initially was concerned about the behavior change. However, patch 3 removes a long-standing TODO comment _that I wrote_ so I'm inclined to take the change. I didn't see anything critical to change about these patches. That said, we may have something for #leftoverbits: How could we create a toggle to re-enable the die() if desired? Perhaps a user _wants_ to fail on bad URIs instead of spending time on an incomplete bundle advertisement and expensive fetch from the remote. Such an option could be a follow-up, now that you've implemented the _gently() version and the bundle URI machinery could decide for itself whether this is a hard failure or not. Thanks, -Stolee
Technical Details
Message-ID:
<25a32212-4906-467b-9b1b-301b38ca0e2d@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74680-linux-kernel-git=dewy.ruReferences:
<20261105152842.566318-1-aniketgupta3001@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74680-linux-kernel-git=dewy.ru
From: stolee@gmail.com (Derrick Stolee)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v3 0/3] bundle-uri: do not die on unresolvable relative
URIs
Date: Fri, 6 Nov 2026 09:57:41 -0500
Organization: Usenet Network
Message-ID: <25a32212-4906-467b-9b1b-301b38ca0e2d@gmail.com>
References: <20261105152842.566318-1-aniketgupta3001@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="3907449"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:BIS6PpVPZY7+vTvXPRUq7Y1sOnY= sha256:PCM5fSF7Q+iK6WC+9QX1qvtCx6WDRf5EV2QEBATH83A=
sha1:yyNpELTYWFxTZam1mk5l5NXuHeQ= sha256:06XXqkhwzmrX/TeTki4j7qTd19X6a6HZgdt1MiYfwVA=
Content-Language: en-US
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 41CAF113289; Fri, 6 Nov 2026 18:02:04 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id l6tOpQcPiByq;
Fri, 6 Nov 2026 18:02:00 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-74680-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 1863F113220; Fri, 6 Nov 2026 18:01:52 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id E150C271A2; Fri, 6 Nov 2026 14:57:45 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1793977065;
b=reXorLGD/kPuV8egp1URQO8e+Fm9YLrqkPpiqw3aazQMckmWGI4xFdVtxKvrw64TLfVZ
7zc2xTe7H40DHsD8Rl1aRzIbDVtvbtcPR0E7njPR91nbV02tAmsnKtvF3b5CtQBcA2+Pd
073AaHEHpOmIbA+ymFNvKZ0eoeSfVqnENP20pLyx7pYKN0E4euqHTKosYqOS5JZBule9a
TCYSeN+fbebu0uvxK3OeJeyEb1RmTz5dNrIPGjFnlPK9KAcgFhejrw14UFFbov2IDjedk
QwsjLn+lYz6IsAdDNp8u+OWPkoU7ZEGKwWiL7gJ01SMRxFTKDnrYnQXZDq7AmRvMmvw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793977065;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:Message-ID:Date:X-Mailing-List:List-Id:
List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
Precedence:MIME-Version:User-Agent:Subject:To:Cc:References:
Content-Language:From:In-Reply-To:Content-Type:
Content-Transfer-Encoding;
bh=YBetL2534tKF92D90YkWH/dPxgbVXaA1RZt0MV8U7T4=;
b=a7yx7gTiAESmNgmuS7V/YKtSLNHNs9hkk0uX58ZH6CodKrqUm980hrvB8letY6fYVTXh
Qnt3hJ8vBUDfppBzVdLAQ8sgYKbche39rtnhETDqy2KWkRPFnb1KGASScsXGzvajylH/W
HbxXDBr1gD53NX7+kGjY8GASWVQZ/qg1TnylZIQcRiT1MxKyAKNQxKZVtwPsF4Tb83FlS
oXfJbsswCCQG7eoqkg/yjic8ms0TGMoISlU6JqT95pocp0XI1jDvmL0NABLJMutoapKvs
ecmZNP2/xlI+4lnh25khQlIr8u8gyhJ98IA47bDlEqvIqrKpSmvdkcSfsVAF6hTGtNg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=hl8Blnyw;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id B887A606A331;
Fri, 6 Nov 2026 14:57:45 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=hl8Blnyw
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.160.174
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1793977064;
b=ccU1i6Ikn0p2k8tjQXwBZybMQFxi0r7xqZYgkBUPotpkx6cdhq+bXb4E7zcmQcgBN5TZ
+iPqpACRUamQjTQb1xrjTPUhJWcteZg6PtRZpqmT12ZCXrgo5RYVQwDQ3QHZtnHqv1FII
Dy5gfCeN8+lCzpmd1AHD2hWYMUjJpTTGVARHbRqBbp5bIMVQhi1/iVYUdOt3ZEny4K8+m
x8jlUUHJo2m0xQkdBc4HjCDw1BeJFeYMKtaSKuRax9QfHmbWs9v1i1pS4Oyf1mFVaG6lI
rRTiouRKiP0+xiq8Hf2X1dbYlRIsYM1xPzxycpYdXfSuW+J5dlAw7iP/0zfnSpPXN5Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1793977064;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:
Content-Language:From:In-Reply-To:Content-Type:
Content-Transfer-Encoding;
bh=YBetL2534tKF92D90YkWH/dPxgbVXaA1RZt0MV8U7T4=;
b=45UzQnVeubj9OT+2cfisnmDIZa7KCANtiyDGkY5w6ChRvYyFuCsePlPAsi0PipdTcr7c
oAG1W46AKep/M9nWrTsDJCvl8iZmLuFjwWyMfMEfC6LhxGFu4tGFNQJlVpybdrJB3lcQD
flVQFfshWrSicR0LQief3jjHHBaRqOS5D4sIuoD9XzzB4gB5gkMKHZSezqAz3xJ5eOssQ
i6J+/7yhd1WO2yLODcUS2Y8oKIuqay0VmFyubHmZGpkw/y1yj7keuRmIFWWSrLABC9ugd
fBuAO/sAoeQ9tuqkX16oIGun3qTsWmI3FUhBiumAkLoNP0TiOzXw5fbSjnjGaMvcVvA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=hl8Blnyw;
arc=none smtp.remote-ip=209.85.160.174
X-Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8451B606A326
for <git@vger.kernel.org>; Fri, 6 Nov 2026 14:57:44 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8451B606A326
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-535179e995bso7176231cf.0
for <git@vger.kernel.org>; Fri, 06 Nov 2026 06:57:44 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1793977063; x=1794581863; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:in-reply-to:from
:content-language:references:cc:to:subject:user-agent:mime-version
:date:message-id:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=YBetL2534tKF92D90YkWH/dPxgbVXaA1RZt0MV8U7T4=;
b=hl8BlnywwovA3/EB8JmS/sRmuHw7BYoVrRYpn0UIIxMFJKUmdBiwBecXthPnNGKscB
OkFgNJSVETGo6N9w1ss9Bb0YF6mhB6r8N3W1cCz+Yx56tabJCNdlNFoTKFJO8sPG39+S
QxI+OxiG6caNkbRDjTNrPHxplffSK7AiRc5G0UF9rj9x7U51k02wx3iuKuY62E18E5e4
hP89KFBuc+IdfNaDIvgW/bdxRtAe1Q0/FdOvSYOY+XAdVH5Ofq64YUANbeZ98fmzXahy
VyzOTqJN4y4B6I8R2VCoklH77nTZpvrNIR/t0CoaTgpX/m13Qp2AdBkYawr46ne7qlaH
i2Bg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793977063; x=1794581863;
h=content-transfer-encoding:content-type:in-reply-to:from
:content-language:references:cc:to:subject:user-agent:mime-version
:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=YBetL2534tKF92D90YkWH/dPxgbVXaA1RZt0MV8U7T4=;
b=CSsLAp9/FNe5K8+fQ64kufVY23VnqRYGP8rF/btboPQf3YayfhGce4xxSFuUugD3es
kcqGYEKV8E2TfRmPNCJPfIZth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10ogIrS1FYLmOobbzOeYIsdRXtQcxANPb
FhNdhUYJxq9OVFwaJ77ETI86hejyD58u9iSZVOCF71ELym6Y8St/kyDovvrYgIsligDlpj6PuTv
rFlhz//lj7YQY2W0qP75ySQxiP4e/Dl243Ud6/qUQT7QpJQkQBcZ158iulvTwi+X7EnqSIv2Aba
uMq8JcQoxctHaY/mt0KoocG4Ue0i7RY0jgDAlc3y76LLgBERiQfUEcuRJRTSBDdGfIsTZUMxASQ
w==
X-Received: by 2002:a05:622a:1c19:b0:535:2e9:e474 with SMTP id d75a77b69052e-54e0ffe4eb1mr40805251cf.4.1793977063334;
Fri, 06 Nov 2026 06:57:43 -0800 (PST)
X-Received: from [192.168.1.109] ([136.61.86.144])
by smtp.gmail.com with ESMTPSA id d75a77b69052e-54e26835bf8sm22023601cf.19.2026.11.06.06.57.41
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Fri, 06 Nov 2026 06:57:42 -0800 (PST)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-User-Agent: Mozilla Thunderbird
X-Cc: Junio C Hamano <gitster@pobox.com>, Patrick Steinhardt <ps@pks.im>
X-In-Reply-To: <20261105152842.566318-1-aniketgupta3001@gmail.com>