From owner-freebsd-pkg@FreeBSD.ORG Sun Mar 3 21:57:26 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E69CC6BD for ; Sun, 3 Mar 2013 21:57:26 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 2CBD1B36 for ; Sun, 3 Mar 2013 21:57:26 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.6/8.14.6) with ESMTP id r23LvKFu093497 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 3 Mar 2013 21:57:21 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.0 smtp.infracaninophile.co.uk r23LvKFu093497 Authentication-Results: smtp.infracaninophile.co.uk/r23LvKFu093497; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) Message-ID: <5133C737.5090508@FreeBSD.org> Date: Sun, 03 Mar 2013 21:57:11 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Pkg enhancing request References: In-Reply-To: X-Enigmail-Version: 1.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2FHKGVTAJXQLFSSXHNMCX" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Mar 2013 21:57:27 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2FHKGVTAJXQLFSSXHNMCX Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/03/2013 21:05, Alexander Yerenkow wrote: > 2013/2/27 Alexander Yerenkow >=20 >> I'd like to discuss adding to pkg meta info not only options which was= >> selected, but also default values >> This would be useful in long shot - when pkg will find few repos conta= ins >> same package, but different options, it could show difference not only= >> between variants, but also between default >> >> Also, this could lead into new setting, or switch, like "install packa= ge >> with default options", no matter which repo contains it. >> >> One more point, currently we have almost all meta-info about built >> package, but not much info about port itself data, default options is >> amongst them. >> >> >> > Any thoughts yet? :) Hi, Alexander, I think that recording the default options as well as the actual options used to build a package is an idea with merit. I'm not entirely convinced though: one thing we need to worry about is the size of the repository catalogue, so anything that gets added to the package meta-data has to be well justified. At the moment we're looking at more general provides/requires mechanisms for expressing dependencies between ports. Being able to require a package with particular options set or unset is certainly part of that. But does knowing if the options settings are the defaults or not really add anything? I think I can modify the DB schema in a way to encode that data which won't immediately double the size required for storing options related data. So I'll put that on my ToDo list -- might not happen very soon, but I'll get round to it in the end. This will require some changes to the ports and the way packages are created there, which I can tell you from experience does take quite some time to get into the tree. It's also something that's can't go into the current release branch of pkgng -- will have to wait for pkgng-1.1 at lea= st. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ------enig2FHKGVTAJXQLFSSXHNMCX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEzxz8ACgkQ8Mjk52CukIw5xACfejrJdrqvW7SeR37EHgeNUNdd E9MAoIFLGbpdxu7NwGjlIIKxVLwP9hos =/wAf -----END PGP SIGNATURE----- ------enig2FHKGVTAJXQLFSSXHNMCX--