Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 55AD910940 for ; Wed, 3 Apr 2024 01:01:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712106090; cv=none; b=CZNmsMKJMZ28d3fvFXLVqrAproAtAbBThpC8U23Fqc3AQ/WuL5Z31f8gSOwKBFP4HO1PKz+mKb2ioBimmwKBcnouuLrU42PX/wAdMEdbH6YZTgGSMndjoYXFogjLGwagoQcdX8Ab7auIcS1ZJyeQ3yxz61kvOn/igI5ejr3eMqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712106090; c=relaxed/simple; bh=zDHVbQwCK2lvIJ5nfnZTMtfK5fCFFgtGyGvPXiheuuk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=E/UfSqceq5b+4yylQTw1qksLkvufhEG0sAZodrHu34bvBaD9kuVLKVrakzx1r4quG4VFnVkVQjoLq5OB1zdYTOxRHB4URMt63IxkyVdnjb2sY9RGHGionAWZJg6j5uLrhIhR77uM3mwEn2L9vzA7gvo49S6fvG0euFnsCjVMS08= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=jz0kxRmW; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="jz0kxRmW" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description; bh=l3gdDFWlFq77aGnzf8n+KgzJ7RMsGyehoJ2DEyZTz5c=; b=jz0kxRmWITooztCktU23vRfbLj RF6yzmZz1F8Sm1dJ8XtPzlu1b5Q628Cvbd2MjZcMoqYbODtI1zqM/kuuz78ykWNHU95kUcsRPKku0 etbxJX2H5i6xb7Y9Kdn5iBx8Su+N+o1Q1NUgp5riFaDGrei+Ap2AxQ0G2vw55+Ep1Wh/KWpvKis+2 HzbKmnbt+IQtxxNbpvcpVm6I9xeJnNfzKM1qX5+jdjSz/OJfJZoIIsT0sgIgGHnwT1ef1YvI3Uk9s KM4QWiU87cCktL9vkMZyqDlgynNIu8SSULRsaDQ4ddXmPcvQwl8szPp3sqTRsGbY9FmKSe9bP7Uid TxmXASxQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrp0K-0000000DRd4-2rMt; Wed, 03 Apr 2024 01:01:28 +0000 Date: Tue, 2 Apr 2024 18:01:28 -0700 From: Luis Chamberlain To: Chuck Lever III Cc: "kdevops@lists.linux.dev" Subject: Re: [PATCH 00/18] mirrors: enhance and add tons of mirrors Message-ID: References: <20240330022540.612487-1-mcgrof@kernel.org> <48F1F2B1-DDE0-40AB-A52A-32C836C38BF0@oracle.com> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48F1F2B1-DDE0-40AB-A52A-32C836C38BF0@oracle.com> Sender: Luis Chamberlain On Sat, Mar 30, 2024 at 04:37:47PM +0000, Chuck Lever III wrote: > > > > On Mar 29, 2024, at 10:25 PM, Luis Chamberlain wrote: > > > > If you are stuck in a world where you don't have much data for your > > downloads you have only one option: mirror everything. So the motivation > > for this is the exand the existing mirror support on kdevops to mirror > > more things other than just the kernel and qemu. We now can mirror > > *everything* we clone including kdevops itself. > > > > We also enhance this all so that we can *use* the mirrors by *default* > > if you have them and you are using local virtualization. We differentiate > > between vagrant and guestfs. > > > > Towards the end this just simplifies the process by adding a yaml file > > for the mirrors so that we can ingest them and process that with a few > > python scripts. The last commits demonstrate how easy it is now to add > > new mirrors. > > > > There's only few mirrors left to add but we can do that next week. > > I've just begun to browse these. Seems like a good plan to be a > better netizen. OK merged :) > This comment falls into the category of beard-scratching, but I > wonder if there's a packaged git mirror we can use instead of > building our own? Just a random thought. Obviously some of these > changes are good to have anyway (like the bridge IP improvements). We'd have to agree on some random distro package for it. The implemention for mirroring wasn't complex, a couple of python scripts to read a yaml file, and which generate systemd unit service and timer files. The big integration is with our Kconfig logic and so I think its as slim as can be really. But if you find something we can opt-in it as an alternative via Kconfig too. Luis