X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from smtp121.iad.emailsrvr.com (smtp121.iad.emailsrvr.com [207.97.245.121]) by lists.alpinelinux.org (Postfix) with ESMTP id 58A201EBFFE for ; Sat, 8 Jan 2011 08:56:55 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp52.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id B5223240625; Sat, 8 Jan 2011 03:56:54 -0500 (EST) X-Virus-Scanned: OK Received: from dynamic8.wm-web.iad.mlsrvr.com (dynamic8.wm-web.iad1a.rsapps.net [192.168.2.149]) by smtp52.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 9F0522403F2; Sat, 8 Jan 2011 03:56:54 -0500 (EST) Received: from darkregion.net (localhost [127.0.0.1]) by dynamic8.wm-web.iad.mlsrvr.com (Postfix) with ESMTP id 763FA305006C; Sat, 8 Jan 2011 03:56:54 -0500 (EST) Received: by apps.rackspace.com (Authenticated sender: mcs@darkregion.net, from: mcs@darkregion.net) with HTTP; Sat, 8 Jan 2011 02:56:54 -0600 (CST) Date: Sat, 8 Jan 2011 02:56:54 -0600 (CST) Subject: =?UTF-8?Q?Re:=20[alpine-devel]=20The=20install=5Fif=20feature=20in=20apk?= =?UTF-8?Q?-tools?= From: "Matt Smith" To: "=?UTF-8?Q?Timo=20Ter=C3=A4s?=" Cc: "Natanael Copa" , alpine-devel@lists.alpinelinux.org 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=UTF-8 Content-Transfer-Encoding: quoted-printable Importance: Normal X-Priority: 3 (Normal) X-Type: plain In-Reply-To: <4D282450.2010703@iki.fi> References: <20110104094133.1b4895c5@ncopa-desktop.nor.wtbts.net> <1294472305.36599267@192.168.4.58> <4D281F33.1030805@iki.fi> <1294476084.615548@192.168.4.58> <4D282450.2010703@iki.fi> Message-ID: <1294477014.482812241@192.168.4.58> X-Mailer: webmail8 On Saturday, January 8, 2011 2:46am, "Timo Ter=C3=A4s" = said:=0A> On 01/08/2011 10:41 AM, Matt Smith wrote:=0A>> On Saturday, Janua= ry 8, 2011 2:24am, "Timo Ter=C3=A4s" said:=0A>>> On 01/= 08/2011 09:38 AM, Matt Smith wrote:=0A>>>> On one hand, I think use-flags c= ould be a great thing, but on the other,=0A>>>> I just don't want to see it= get out of hand, or be forced on the user in=0A>>>> order to use the syste= m. I think if those 'rules' could be followed, then=0A>>>> we could enjoy = use-flags.=0A>>>=0A>>> The idea on install_if is that it's completely optio= nal. You can always=0A>>> install your packages on per-package basis, and y= ou never need to=0A>>> install the virtual targets.=0A>>>=0A>>> However, in= stall_if gives you a great help, if you just want some=0A>>> feature X to w= ork. Like "make all programs localized to Norwegian". It'd=0A>>> be single = command: "apk add lang-no" instead of going through all the=0A>>> packages = having Norwegian support and installing the them one by one.=0A>>=0A>> Soun= ds fair.=0A>>=0A>> On the language packs, would you be leaning more towards= virtual packages=0A>> or some sort of use-flags?=0A>>=0A>> Other than that= , what do you think about using use-flags for installing the=0A>> software = packages?=0A> =0A> Well. From the apk point of view they are virtual packag= es. From the=0A> user point of view, they are more like "use flags". Since = if you install=0A> the virtual master package 'lang-XX' you will get that f= eature from all=0A> installed packages.=0A> =0A> I personally think that "a= pk add lang-XX" is better than "edit file=0A> /etc/apk/config and add lang-= XX to line y". From practical point of=0A> view, they do the same thing.=0A= > =0A> From APKBUILD point of view, they are more like use flags. You just = need=0A> to split the package for each "use flag" properly.=0A> =0A> I don'= t mind if we call them as "virtual targets" or "use flags" as long=0A> as t= hey are easy to install :)=0A=0AThat's exactly what I'm thinking: it must b= e easy to install.=0A=0AI'm totally on-board for 'virtual packages'.=0A=0AM= att --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---