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 A20D71EB587 for ; Sat, 4 Dec 2010 13:37:49 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id CC2B6AE4001; Sat, 4 Dec 2010 13:37: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 Cep31CTJ5SfN; Sat, 4 Dec 2010 13:37:45 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id A86BD376250; Sat, 4 Dec 2010 13:37:44 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 62E9760B05FB4; Sat, 4 Dec 2010 13:37:42 +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 12FDD60CDCD09; Sat, 4 Dec 2010 13:37:41 +0000 (UTC) Date: Sat, 4 Dec 2010 13:37:29 +0000 From: Natanael Copa To: Timo =?ISO-8859-1?Q?Ter=E4s?= Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] reorganized the package repository structure Message-ID: <20101204133729.3dbd1e6c@alpinelinux.org> In-Reply-To: <4CF919D5.5050107@iki.fi> References: <20101203160406.41690079@alpinelinux.org> <4CF919D5.5050107@iki.fi> X-Mailer: Claws Mail 3.7.7 (GTK+ 2.22.1; 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP On Fri, 03 Dec 2010 18:24:53 +0200 Timo Ter=E4s wrote: > On 12/03/2010 06:04 PM, Natanael Copa wrote: > > Hi, > >=20 > > Just a heads up, I have moved the $mirror/alpine/edge/* files into > > $mirror/alpine/edge/x86/ and created some symlinks so > > current /etc/apk/repositories should not break. It would be good to > > insert that x86 in there though. So recommended URL for edge is now: > >=20 > > http://$mirror/alpine/edge/x86/main > > http://$mirror/alpine/edge/x86/testing > >=20 > > In (near?) future we will also have an x86_64 in there. > >=20 > > There are also a http://$mirror/alpine/edge/x86/releases dir which > > will be used for edge snapshots. >=20 > Oh. >=20 > I was thinking instead that we'd have: > http://$mirror/alpine/edge/main/x86 > http://$mirror/alpine/edge/testing/x86 >=20 > And that apk could automatically add the x86 or x86_64 based on the > running architecture. So we'd only put: > http://$mirror/alpine/edge/main > http://$mirror/alpine/edge/testing >=20 > I'd prefer if we would not have to change the apk repositories > depending on architecture. Which ofcourse is a good point. I changed it like that but changed it back again because no existing apk-tools will currently handle that so all current boxes running edge will break. Not breaking would require me to maintain symlinks for each package and APKINDEX in edge/main/ that points to x86 and I dont want that. So here is what i did in alpine/edge dir: The dirs that contains the packages: x86/main x86/testing x86_64/main x86_64/testing Symlinks that makes sure current running boxes and future apk-tools dont break: main -> x86/main testing -> x86/main Symlinks that makes the future apk-tools work with edge/main/$arch x86/main/x86 -> . x86/testing/x86 -> . x86/main/x86_64 -> ../../x86_64/main x86/testing/x86_64 -> ../../x86_64/testing So now all the following will work: http://$mirror/alpine/edge/main (main for current x86) http://$mirror/alpine/edge/main/x86 (main for future x86) http://$mirror/alpine/edge/main/x86_64 (main for future x86_64) Same with testing. So now we just need add the support for $arch in apk-tools. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---