X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by lists.alpinelinux.org (Postfix) with ESMTP id 6696F1EBFFE for ; Sat, 8 Jan 2011 08:24:27 +0000 (UTC) Received: by eyf6 with SMTP id 6so8147210eyf.13 for ; Sat, 08 Jan 2011 00:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=QY+wO4ciJprGMQEWuHjAvKgD/KWIEAvCyS0ZdpJ7cIc=; b=dnD6lDn+EHHya99ARcgiJJZsf5n5taOIS92j/n3yMAnlPd1S89/2McCOrcRFzgEpxA O85XBCWegSqF4jVByfP5XEV19I2JvFe2CvV8q95M2yAq4e9u+rFwt5Io1bSJaD3W0mHC 97nHHUYmbQeQC+N4AAPOYjZlzbHT6wUVmwyTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=rOSAVH5qUQaTUR7Jf4XZYdOUkup7CfpPqH/E1543EkkUickmu8QQZCmHuEcMnOBBZx 3LmAudeoO5g4+rvibSiCTXaNkyTV80WGWf00kO/Mwb9Q4iHUMED/woD6EOpWUrRlPLUV hCTMD6/HMULB3zDdQm26xJ51CB04rHSoiWhnA= Received: by 10.213.4.134 with SMTP id 6mr2746767ebr.14.1294475064671; Sat, 08 Jan 2011 00:24:24 -0800 (PST) Received: from [192.168.1.33] (r16.ip7.netikka.fi [85.157.173.16]) by mx.google.com with ESMTPS id t5sm2854424eeh.2.2011.01.08.00.24.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 08 Jan 2011 00:24:23 -0800 (PST) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Message-ID: <4D281F33.1030805@iki.fi> Date: Sat, 08 Jan 2011 10:24:19 +0200 From: =?UTF-8?B?VGltbyBUZXLDpHM=?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: Matt Smith CC: Natanael Copa , alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] The install_if feature in apk-tools References: <20110104094133.1b4895c5@ncopa-desktop.nor.wtbts.net> <1294472305.36599267@192.168.4.58> In-Reply-To: <1294472305.36599267@192.168.4.58> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 01/08/2011 09:38 AM, Matt Smith wrote: > On Tuesday, January 4, 2011 2:41am, "Natanael Copa" > said: > > ..snip.. >> * Do we want use-flags like features for things like mysql, radius etc? >> For example, if you install a virtual 'mysql-support' package, then >> will all packages that has a mysql plug automatically pull those in? >> For example, i you install php you'll get php-mysql pulled in. If you >> install asterisk and postfix will also asterisk-mysql and >> postfix-mysql be pulled in. If you uninstall the virtual >> 'mysql-support' then will php-mysql, asterisk-mysql and postfix-mysql >> go with it. I am not sure how useful such 'mysql-support' feature >> will be. >> >> Thoughts? > > IMHO, use-flags was just another one of those features that scared me > away from using Gentoo Linux. > > For instance, this is just horrifying: > http://www.gentoo.org/dyn/use-index.xml Yes, that's a horribly long list to go through. > On one hand, I think use-flags could be a great thing, but on the other, > I just don't want to see it get out of hand, or be forced on the user in > order to use the system. I think if those 'rules' could be followed, then > we could enjoy use-flags. The idea on install_if is that it's completely optional. You can always install your packages on per-package basis, and you never need to install the virtual targets. However, install_if gives you a great help, if you just want some feature X to work. Like "make all programs localized to Norwegian". It'd be single command: "apk add lang-no" instead of going through all the packages having Norwegian support and installing the them one by one. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---