X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id B56271EB587 for ; Fri, 25 Feb 2011 09:33:48 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id C4B78AE4003; Fri, 25 Feb 2011 09:33:47 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GcTyJT4zsOxy; Fri, 25 Feb 2011 09:33:32 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id 49402AE4001; Fri, 25 Feb 2011 09:33:32 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 255BF60A7EE35; Fri, 25 Feb 2011 09:33:32 +0000 (UTC) Received: from localhost (unknown [10.65.96.33]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 0443C60A7EE32; Fri, 25 Feb 2011 09:33:31 +0000 (UTC) Date: Fri, 25 Feb 2011 09:33:29 +0000 From: Natanael Copa To: jeremy@thomersonfamily.com Cc: Andrew Manison , Alpine Development Subject: Re: [alpine-devel] Distfiles mirror Message-ID: <20110225093329.5cd0fad1@alpinelinux.org> In-Reply-To: References: <4D66E7BB.1060908@anselsystems.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.0; i686-pc-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Thu, 24 Feb 2011 22:46:17 -0600 Jeremy Thomerson wrote: > I remember there was a discussion a month or so ago about making > official archives of the source packages so that builds wouldn't > later fail when the original upstream disappeared. What ever came of > that? Do we have a solution? Here is what I'd like to do: for each git tag, create a distfiles/$tag dir. go through all the APKBUILDs for that tag and create a hardlink to the source archives in ../ (or download if missing) We can then delete all source packages in distfiles that are not reffered to from any APKBUILD in current git master (and optionally scan for old -atimes) The hardlinks makes sure we have archive for previous releases, without duplicating the data on disk. After that we need to add the hardlinks routine when creating new tags and a cleanup cron job. The only thing we need to be careful with is if we create distfiles mirrors or backups. We just need to be aware of that there are lots of hardlinks. (or we will waste lots of space on the mirrors) -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---