From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD49821FF23 for ; Thu, 4 Jun 2026 01:09:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.147 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780535359; cv=none; b=ldCP4zgSGxSyuy7+plhUfMLTUnEkgRKxvIGv1HjEMfXDp0KLjqmC9huq3y/LFv/kz/7yqf6ylkWFtAamjmhQLOPewXjlGEJrFnM0YvvJhMeQf5v2BB0L4TSB5gkXf74Rm+1NIx/hJUFjw7X1IYzAInKKgu1kd70aBiya+kEU3A0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780535359; c=relaxed/simple; bh=+RFJrw2fGY44sYTpIPj67z0ycRaNvDVgoGESMvUmHZ0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=L+RzZE6JM9IrWOFCJ75Zu8Uyp0XvT9q18QeMfqvwkLG7WNyxvpk5POiM7gMhKuOufnLcJQdbfUHXohvUVLt85EVew0v3zTwNPcFFtK8EH/+U0TPmqCskhaaVtg07+vv8waockWSgmUZzsFr3SClMfGRThYfm1k58ZRHKCrYk0l0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com; spf=pass smtp.mailfrom=pobox.com; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b=gnm8c5++; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=jxLgyLFc; arc=none smtp.client-ip=103.168.172.147 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b="gnm8c5++"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="jxLgyLFc" Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 096DDEC0009; Wed, 3 Jun 2026 21:09:17 -0400 (EDT) Received: from phl-frontend-01 ([10.202.2.160]) by phl-compute-05.internal (MEProxy); Wed, 03 Jun 2026 21:09:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1780535357; x=1780621757; bh=7fg0LafB3/ njV/xGhCSfkm97bgVNZYZjhm5igRCU+f4=; b=gnm8c5++FYWzEY1L73BDJHLVnA a9IIM51bA76KXqaXgkx75ozEtp52n83E5imsc/cNHN/82eIEcIZK4hzgCZivFNQ0 UrwTsalpRA5Eh4MpuADvChPj/d4wKRgjhFrxbanvnnaaA38wLGnhrUiG/6Asu93S sJHumMVClZpAChbctzrsnGWW7p+meYTbMlGCRETOpMBuuBneL1g7SbB2XERjpcc5 QiSIJ5GSVdIy5WYiqqAdrOwfb3MxKx9JjrbhR58Ede9xoBOc2E4JV9UyYC+Lpvht fnnUbfzEDdVe0M3fLaSg0ytLJMERi/fXAwVBjkmWAhR5vgMLMc2tFC/ykfuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1780535357; x=1780621757; bh=7fg0LafB3/njV/xGhCSfkm97bgVNZYZjhm5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Th7urjUcD99JA X-ME-Proxy: Feedback-ID: if26b431b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 3 Jun 2026 21:09:16 -0400 (EDT) From: Junio C Hamano To: Benson Muite Cc: git@vger.kernel.org Subject: Re: Mirror repositories for submodules In-Reply-To: <875x42vlgv.fsf@emailplus.org> (Benson Muite's message of "Mon, 01 Jun 2026 09:11:28 +0300") References: <875x42vlgv.fsf@emailplus.org> Date: Thu, 04 Jun 2026 10:09:15 +0900 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Benson Muite writes: > Would a contribution to add mirror repositories as alternate submodule > sources be considered for inclusion? Some projects have mirror > repositories on other hosting services, and may have bandwidth limits on > their primary hosting service. Being able to indicate mirror > repositories for where to check for updates and sources for submodules > when doing `git clone --recurse-submodules https://my.repo ` or `git > submodule update --init --recursive` would be helpful when there is a > timeout. I do not see why such a "oh, the repository at $URL1 seems to be down, but we know $URL2 serves the equivalent information, so let's go there instead" feature has to be limited to submodule use case. So, no, I do not think a contribution to add mirror repositories as alternate submodule sources should be considered for inclusion, as it artificially limits usefulness of the feature. A feature to add mirror repositories as alternate sources might be worth considering, though.