X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by lists.alpinelinux.org (Postfix) with ESMTP id 4CF0A5C4ED2 for ; Sun, 18 Jun 2017 11:04:03 +0000 (GMT) Received: by mail-lf0-f65.google.com with SMTP id x81so7775184lfb.3 for ; Sun, 18 Jun 2017 04:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eH5kdLrT/jJx0kevhKFBDF/wmfrPvuvws+c92/PT0T0=; b=B7OhLtTtqEIimbgMqmQhYpOQf4+PbF8Rn+0p+kbSuu1snsPoGu2n8HsTC8DeazB3Ch RnU/o3du/1+grI4hsiQAJMmorUGGrA2nQ6F7lXlzCqVfjvszqvOAHKcKb3aSMWOHCWAF kvrgUjNs431za/3GLdIG6JtWCajsOhJWTC0owh2E+6lOu2TIpt7ZW9cPr41nibE/5GuA BKYlP4jQCTVgzfmwyb9P3gLGkPrh1sHpElvWNFXrTnW2VySrIT/lWJT06TUcfAHRwjRf dJVgSeXyFEW3Vzl0RRrajFQ6OaNBzMjqXRXmrisw8IfNR2AZdiI2z0kT7HCejXra6eZy QolQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=eH5kdLrT/jJx0kevhKFBDF/wmfrPvuvws+c92/PT0T0=; b=FMeqqtih+OHsXTxi+PsQvVnm7lek0rJ11Ri7SOcUkVpeZejQFKNAue/V0tn0yj3vvr 3EN3KXl9uWXQN2yv7vvuDgpKq791PfqwKaMyvuDzQhSYKKPAX0h7OiLcqnglGBYLAYX4 YRLsSi9JSMtW4KqX4hoXZdzbtIFDAykhyEhjyNhKRMNE4XO0srbpnB+6GT94IxoreG00 SBAqG3RrINQlw4rVzPWGBxyql+nbZeRJf9gs/tpwEi+5xA0GJNBItLFFMb9AhnMIE/KQ +CDQ4qiwBmbDrQ1gisQnRMol/Gwyb9M5EnX+r+OgKouWuPYZguksxshDv4gBhg47tR4W HPwg== X-Gm-Message-State: AKS2vOw0S2M4v5ek5vPuOlDj8MZ76it/PsLCm4f+BsFNbVhbDvCTqVz8 5orCk2qpBubKueEl X-Received: by 10.25.212.149 with SMTP id l143mr3286084lfg.56.1497783842262; Sun, 18 Jun 2017 04:04:02 -0700 (PDT) Received: from vostro ([83.145.235.201]) by smtp.gmail.com with ESMTPSA id m29sm1612327ljb.26.2017.06.18.04.04.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 18 Jun 2017 04:04:01 -0700 (PDT) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Sun, 18 Jun 2017 14:03:58 +0300 From: Timo Teras To: Seamus Caveney Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [abuild RFC] abuild: add config option to globally enable dbg Message-ID: <20170618140358.0202f9bb@vostro> In-Reply-To: <965d70af-3857-d85b-998c-91e445a99726@brinstar.org> References: <20170616094140.21953-1-clandmeter@gmail.com> <20170616160926.6b71801a@ncopa-desktop.copa.dup.pw> <20170618100036.73aab4ae@vostro> <965d70af-3857-d85b-998c-91e445a99726@brinstar.org> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-alpine-linux-musl) 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 On Sun, 18 Jun 2017 02:20:59 -0700 Seamus Caveney wrote: > On 2017-06-18 00:00, Timo Teras wrote: > > On Fri, 16 Jun 2017 16:09:26 +0200 > > Natanael Copa wrote: > > > >> On Fri, 16 Jun 2017 09:24:10 -0300 > >> Alba Pompeo wrote: > >> > >>> Why not create a dbgs metapackage like the docs metapackage? > >>> https://git.alpinelinux.org/cgit/abuild/tree/abuild.in#n1476 > >>> https://git.alpinelinux.org/cgit/aports/tree/main/docs/APKBUILD > >> > >> Why would someome want install all the -dbg packages? > > > > I would. When trying to analyze core dump. Global meta package > > would be nicer than trying to hunt individually the -dbg packagaes > > needed. Though, we might hold that for the big projects. Getting > > firefox, libreoffice etc. -dbg might be just too much. > > Better to opt for wildcards for install. More useful than adding a > dbg meta package and replaces the current solution for docs metapkg, > which is brittle imo, where is it documented that you must have the > installif entry in a custom doc function in an APKBUILD? It's in the 'default_doc' split function. But yes, it's not explicitly documented. > > apk add *-dbg > apk add *-doc This would add -dbg packages for everything in the entire index, not just for the packages which are already installed. Also the install_if works so that if you have 'docs' installed and you do 'apk add foo' you will automatically get 'foo-doc' too if it exists. Basically "apk add docs" means that I want to have docs on all packages installed on system now, or any time in the future. "apk del foo" would also remove the docs package with the 'docs' meta. "apk add *-docs" would add dependency in 'world' and require explcit removal of the docs too. The point of the install_if / docs packages is to be more dynamic and follow the installation status of the main package. > Or say install many subpackages: > > apk add qemu-system-* > > The function already exists for search, why not for add as well? But, it does exist for add and delete too. I use regularly "apk del *-dev". However, the use case is different than from the 'docs' metapackage and install_if. /Timo --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---