Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 0FBED781B39 for <~alpine/devel@lists.alpinelinux.org>; Thu, 22 Aug 2019 08:10:31 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 2093E9E2770; Thu, 22 Aug 2019 08:10:30 +0000 (UTC) Received: from ncopa-desktop.copa.dup.pw (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 12CDF9E2343; Thu, 22 Aug 2019 08:10:28 +0000 (UTC) Date: Thu, 22 Aug 2019 10:10:23 +0200 From: Natanael Copa To: Rasmus Thomsen Cc: Cosmo Borsky , "~alpine/devel@lists.alpinelinux.org" <~alpine/devel@lists.alpinelinux.org> Subject: Re: APKBUILD Optional/Recommended Dependencies Message-ID: <20190822101023.6355b767@ncopa-desktop.copa.dup.pw> References: <883dca1a-b7f3-6137-059d-f561ef22c126@cosmoborsky.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 12 Aug 2019 10:06:18 +0000 Rasmus Thomsen wrote: > 3. > Have "optional" and "recommended" dependencies. Optional deps > wouldn't be installed by default (and could be enabled as previously > outlined, as opt-in), whereas recommended ones would be opt-out (also > via a config/CLI switch). We'd need some guidelines as to what's > recommended and what's optional though and how apk should handle > either of them being removed while the main package is installed. > > > I think I personally like the 3rd option the best and it seems to > (somewhat) align with what you've suggested too. How should we define what is recommended? should we only rely on upstream or will we end up in making judgement calls (and potentially long discussions and flamewars)? For example, some software needs a database. postgresql, mysql and sqlite are all fine. upstream does not recommend anything specific. What should we recommend? I don't think the "what do you recommend?" question from users should be answered via package manager. It highly depends on the users needs, priorities and taste. For example, `apk add git` will not install `git send-email`. Should we recommend installing that or not? I think that completely depends. If user intend to send patches via email, then yes absolutely, if not, why should we recommend it? -nc