From owner-freebsd-pkg@FreeBSD.ORG Sun Mar 3 21:05:21 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 BFCA9389 for ; Sun, 3 Mar 2013 21:05:21 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-da0-f46.google.com (mail-da0-f46.google.com [209.85.210.46]) by mx1.freebsd.org (Postfix) with ESMTP id 89AA49A7 for ; Sun, 3 Mar 2013 21:05:21 +0000 (UTC) Received: by mail-da0-f46.google.com with SMTP id z8so2194163dad.33 for ; Sun, 03 Mar 2013 13:05:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=1qx9cMDqYGxzKicrJc4MgFhG01XR64VEwawplhebqbM=; b=zSGVYjtczYdpXpTlbYMECu5IbW/6y5AW+Pw8O06SLqqn4Os8vaH5P3i4G4CuRokPt4 Oh3+o8/S8Do2m2+83kTwmJ/1ZLQqrOTn9lZfBB/QCS/VM/xHCxzgJk/6UWd2t6tSHh+d LWqAyiV5totVG1/PGLsTFMn+fILzZg+M4LSG9Rmc4TYH/DnO6KZHr5g8FwXwk8ehLVnA ZRnlgEgToagaQEFev4mExn5WE3ZCLM3KeFJsAF43BmP3n+H3yGZiA7l8AEjUtV5ngNCO sGPEc5cnDNuonquR3vpX/84PafxeWMCvP/c6WsXvn3FzK64oYr3Mvq6Te2IBS8cOv42Q TTJg== MIME-Version: 1.0 X-Received: by 10.66.186.164 with SMTP id fl4mr29493198pac.51.1362344715705; Sun, 03 Mar 2013 13:05:15 -0800 (PST) Received: by 10.68.36.69 with HTTP; Sun, 3 Mar 2013 13:05:15 -0800 (PST) In-Reply-To: References: Date: Sun, 3 Mar 2013 23:05:15 +0200 Message-ID: Subject: Re: Pkg enhancing request From: Alexander Yerenkow To: freebsd-pkg@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:05:21 -0000 2013/2/27 Alexander Yerenkow > 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 contains > 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 package > 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? :) > -- > Regards, > Alexander Yerenkow -- Regards, Alexander Yerenkow 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-- From owner-freebsd-pkg@FreeBSD.ORG Mon Mar 4 11:40:42 2013 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D4090867; Mon, 4 Mar 2013 11:40:42 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-we0-x233.google.com (mail-we0-x233.google.com [IPv6:2a00:1450:400c:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id 503F311F5; Mon, 4 Mar 2013 11:40:42 +0000 (UTC) Received: by mail-we0-f179.google.com with SMTP id p43so4307159wea.38 for ; Mon, 04 Mar 2013 03:40:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=waalHyjd/udnO1xFFBmb3nm5mQp6/0gC8AxEvoV+OSk=; b=zREs3jBj9FFWQX87n2QwdgVFcc4gkoCafwuOczLgJXRG78FSnbrGTss+BMm8EAzyhi ZCfJRPVKZVh97XtcrPlOHMru1U66Ex5aDXEl/50h/3z7BgM9wXiGeHctzt9XmmV1F+By /4MbG1Hvax9yKU2xzGyQ3vLsYnxJM01ekTFAw1ZkXNo8IjZAjRQMlddgjbtfgW8TLm4E DszHaOUkrApzzIr42YN8ZQVbfwDfvBO1fnx45L07itn+7Kl1McTWXun/XjKqQMaq05wl RTsdDU/CFWOngUYrinN3syfZOO9uJwGVhFCGGI4vs/A1+Zwe9eeqv/bIY3m5rTMVnYbo gYsA== X-Received: by 10.180.79.6 with SMTP id f6mr10730572wix.26.1362397241601; Mon, 04 Mar 2013 03:40:41 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id n2sm13560281wiy.6.2013.03.04.03.40.39 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 04 Mar 2013 03:40:40 -0800 (PST) Sender: Baptiste Daroussin Date: Mon, 4 Mar 2013 12:40:38 +0100 From: Baptiste Daroussin To: Darren Pilgrim Subject: Re: pkgng info command: -d overrides -r? Message-ID: <20130304114037.GJ64570@ithaqua.etoilebsd.net> References: <51347590.4090201@bluerosetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iRjOs3ViPWHdlw/I" Content-Disposition: inline In-Reply-To: <51347590.4090201@bluerosetech.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: pkg@FreeBSD.org, FreeBSD Mailing List 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: Mon, 04 Mar 2013 11:40:42 -0000 --iRjOs3ViPWHdlw/I Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable CCed to pkg@FreeBSD.org where the discussion deserves to be :) On Mon, Mar 04, 2013 at 02:21:04AM -0800, Darren Pilgrim wrote: > With pkg_info, I can get a list of ports requiring and depended on by a= =20 > given port by doing `pkg_info -rR`. In pkgNG, the equivalent would be=20 > `pkg info -dr`, but there appears to be a problem giving -d and -r at=20 > the same time. For example: >=20 > # pkg info -r postgresql-client-9.2.3 > postgresql-client-9.2.3 is required by: > postgresql-server-9.2.3 >=20 > # pkg info -d postgresql-client-9.2.3 > postgresql-client-9.2.3 depends on: > pkgconf-0.8.9 > libiconv-1.14 > libxml2-2.7.8_5 > gettext-0.18.1.1 >=20 > So the output of -dr should be something like this: > # pkg info -dr postgresql-client-9.2.3 > postgresql-client-9.2.3 depends on: > pkgconf-0.8.9 > libiconv-1.14 > libxml2-2.7.8_5 > gettext-0.18.1.1 > postgresql-client-9.2.3 is required by: > postgresql-server-9.2.3 >=20 > But instead I get this: >=20 > # pkg info -dr postgresql-client-9.2.3 > postgresql-client-9.2.3 depends on: > pkgconf-0.8.9 > libiconv-1.14 > libxml2-2.7.8_5 > gettext-0.18.1.1 >=20 > # pkg info -rd postgresql-client-9.2.3 > postgresql-client-9.2.3 depends on: > pkgconf-0.8.9 > libiconv-1.14 > libxml2-2.7.8_5 > gettext-0.18.1.1 >=20 > It looks like pkg ignores -r if -d is given, but the two shouldn't be=20 > exclusive. Am I missing something? No you are missing nothing in fact we haven't handled yet options multual exclusion. I haven't thought that anyway one will do a pkg info -rd so I didn't test w= hat could be happening here :) thanks for reporting, definitly something to work on, don't know yet what s= hould be done here: either say "hey you can't pass -r and -d at the same time" which would be t= he easy fix :) or output things like you suggested which will be less easy regards, Bapt --iRjOs3ViPWHdlw/I Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlE0iDQACgkQ8kTtMUmk6ExyYwCgmTC2wkECbXf5qW/jsEIHLNxF vOAAniQbSrytWSr/OPOwyf2l9W8gcaxP =gY9Y -----END PGP SIGNATURE----- --iRjOs3ViPWHdlw/I-- From owner-freebsd-pkg@FreeBSD.ORG Mon Mar 4 13:08:28 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 196EE62B for ; Mon, 4 Mar 2013 13:08:28 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) 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 A2E581773 for ; Mon, 4 Mar 2013 13:08:27 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.6/8.14.6) with ESMTP id r24D8ABT009821 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 4 Mar 2013 13:08:17 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.0 smtp.infracaninophile.co.uk r24D8ABT009821 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1362402497; bh=4CmFcT96muAxR3+SGRHAju/rm80BisWj8JFhWrMIuNs=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2004=20Mar=202013=2013:08:09=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-pkg@fr eebsd.org|Subject:=20Re:=20pkgng=20info=20command:=20-d=20override s=20-r?|References:=20<51347590.4090201@bluerosetech.com>=20<20130 304114037.GJ64570@ithaqua.etoilebsd.net>|In-Reply-To:=20<201303041 14037.GJ64570@ithaqua.etoilebsd.net>; b=Q4ZsSsnTE39BplW5krIBkrVvMu5ly8E+w/zJpIQhoTomdzHV9A//MhtGdU6KQ63gK /00WezXyTzKI/N7xTnLJSxFzDIDnwHDuX/AH32RAoszsZ4whH+6HkhgLgRdlo7arZC Sm3JcMrEItnEGZlKnOA8zfyCYqOrapWvo3e13xJ4= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <51349CB9.4090004@infracaninophile.co.uk> Date: Mon, 04 Mar 2013 13:08:09 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130220 Thunderbird/17.0.3 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: pkgng info command: -d overrides -r? References: <51347590.4090201@bluerosetech.com> <20130304114037.GJ64570@ithaqua.etoilebsd.net> In-Reply-To: <20130304114037.GJ64570@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL 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: Mon, 04 Mar 2013 13:08:28 -0000 On 04/03/2013 11:40, Baptiste Daroussin wrote: > CCed to pkg@FreeBSD.org where the discussion deserves to be :) > > On Mon, Mar 04, 2013 at 02:21:04AM -0800, Darren Pilgrim wrote: >> With pkg_info, I can get a list of ports requiring and depended on by a >> given port by doing `pkg_info -rR`. In pkgNG, the equivalent would be >> `pkg info -dr`, but there appears to be a problem giving -d and -r at >> the same time. For example: >> >> # pkg info -r postgresql-client-9.2.3 >> postgresql-client-9.2.3 is required by: >> postgresql-server-9.2.3 >> >> # pkg info -d postgresql-client-9.2.3 >> postgresql-client-9.2.3 depends on: >> pkgconf-0.8.9 >> libiconv-1.14 >> libxml2-2.7.8_5 >> gettext-0.18.1.1 >> >> So the output of -dr should be something like this: >> # pkg info -dr postgresql-client-9.2.3 >> postgresql-client-9.2.3 depends on: >> pkgconf-0.8.9 >> libiconv-1.14 >> libxml2-2.7.8_5 >> gettext-0.18.1.1 >> postgresql-client-9.2.3 is required by: >> postgresql-server-9.2.3 >> >> But instead I get this: >> >> # pkg info -dr postgresql-client-9.2.3 >> postgresql-client-9.2.3 depends on: >> pkgconf-0.8.9 >> libiconv-1.14 >> libxml2-2.7.8_5 >> gettext-0.18.1.1 >> >> # pkg info -rd postgresql-client-9.2.3 >> postgresql-client-9.2.3 depends on: >> pkgconf-0.8.9 >> libiconv-1.14 >> libxml2-2.7.8_5 >> gettext-0.18.1.1 >> >> It looks like pkg ignores -r if -d is given, but the two shouldn't be >> exclusive. Am I missing something? > > No you are missing nothing in fact we haven't handled yet options multual > exclusion. > > I haven't thought that anyway one will do a pkg info -rd so I didn't test what > could be happening here :) > > thanks for reporting, definitly something to work on, don't know yet what should > be done here: > either say "hey you can't pass -r and -d at the same time" which would be the > easy fix :) or output things like you suggested which will be less easy Actually, making pkg info show both should be pretty easy. It's the same function for generating the output as used by pkg search and that definitely can show any arbitrary combinations of data about packages. You just pass it a bitmap telling it what you want to print out. Or is that only in the 1.1 code? I've lost track. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk From owner-freebsd-pkg@FreeBSD.ORG Tue Mar 5 00:01:49 2013 Return-Path: Delivered-To: pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 53F0EE47 for ; Tue, 5 Mar 2013 00:01:49 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx1.freebsd.org (Postfix) with ESMTP id 07C64341 for ; Tue, 5 Mar 2013 00:01:48 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id n10so3832939vcn.28 for ; Mon, 04 Mar 2013 16:01:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type:x-gm-message-state; bh=PjZCh9anNP0j0WRioop645ECtsTZmb94zjj3V9BJ+nE=; b=nqqR3czlziUgCcBntuZHA6GBK42WggqPdOB+XzxtvYOTro+Be3VUmF/Vatr9/qxq/f p3GzNO/QUNdgkFwokN7Rdb5OEWOl2OHtj/Y9iAaB618KisC1dKEqoMQFzji5rBj/aFCk vqIzW6ZY+gcbgM4Ghlde3BjnBjs50+XeDLtoQRz1Rb0lTCQXrgmxfaazsbhcEblYr+Mv BuTXDSiY1VpIMx8bzu46bnIuene1LBj8ykkw1iskEDUtbVHIfd9E8oBR3V4V/4gARXI6 +Nc3BNTOUwbQcLgLzDAZ384yvaZugXfNQv5oy7JuV0Ub/WcubeliD8U4PsXkcfOV8XKg LB9g== MIME-Version: 1.0 X-Received: by 10.220.149.11 with SMTP id r11mr8461985vcv.44.1362441701880; Mon, 04 Mar 2013 16:01:41 -0800 (PST) Sender: bsd-src@helfman.org Received: by 10.58.30.79 with HTTP; Mon, 4 Mar 2013 16:01:41 -0800 (PST) Date: Mon, 4 Mar 2013 16:01:41 -0800 X-Google-Sender-Auth: RCEU9g69sRww77WqYQrzMOYSlKQ Message-ID: Subject: pkg idea From: Jason Helfman To: pkg@FreeBSD.org X-Gm-Message-State: ALoCoQnty7d2nDiD+8NS/UfL1VVnqdqddMgScFU6lqHFSwrnonC5WPPP809nGhH+7SslwXNWoZVR Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Tue, 05 Mar 2013 00:01:49 -0000 Hello All, Today I have removed misc/instant-server from the ports collection, however this spawned an idea I have, however I do lack the coding to implement if seen as a good idea :) The direction for features, as I understand it, is to be able to request something in a port. USE_FEATURE= ws (webserver) So the port would install apache, per se. With this idea, why not provide metadata from the feature itself such as: PROVIDES_FEATURE= ws Then advertise the pkg tool the concept of installing features: pkg install feature <{web,dns,application,proxy,irc}> server. The user can then have a list of features to install. This can be presented in multiple ways. Possibly a list, or maybe even a "signed off on/officially supported" server features. Web Server -> Apache DB Server -> PostgreSQL DNS -> Bind Application -> Tomcat6 Or something different... Any thoughts? Thanks! -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh | The Power to Serve From owner-freebsd-pkg@FreeBSD.ORG Tue Mar 5 06:11:29 2013 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 30CAD1000; Tue, 5 Mar 2013 06:11:29 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by mx1.freebsd.org (Postfix) with ESMTP id E097124B; Tue, 5 Mar 2013 06:11:28 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id rp2so3952117pbb.6 for ; Mon, 04 Mar 2013 22:11:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=zM/ubHo/mbUOzyeYe+XfJ7Rc0f0vbvJOegaK6VCvfcw=; b=FodRYFHegAFDqcp5Zsb+dB9s5dxS2Q5TAcTPb5k1skjbOYDieGOxBZgo5UZz7jCPH3 bxtTbF7w5klPVkM25te0PXK04Zp/EXLJOenNoxtk80uBJKdOLwTMS08ItvEU4npqk5A/ rgMDDgzzM7Nw2AkcWTwXOeVL6/8WrbxWI40tGD/FSnRw+3q4UF7n94252z+VtlPmkon8 Ng8uCHk2WsQVa+i9KrS3oWURCEBYm/xe3m6Ll4s1HOv7CQJGYyHmwlN4fOK5e5TIHtPL 8iMpvgh4O2HNzKpZ/QBNnMB75C7gBS4FrXy1DNAeBOfv8rybYBN5nRUR0YtJ3Tig2BlO Xmtw== MIME-Version: 1.0 X-Received: by 10.68.91.66 with SMTP id cc2mr2038406pbb.51.1362463888334; Mon, 04 Mar 2013 22:11:28 -0800 (PST) Received: by 10.68.36.69 with HTTP; Mon, 4 Mar 2013 22:11:28 -0800 (PST) In-Reply-To: References: Date: Tue, 5 Mar 2013 08:11:28 +0200 Message-ID: Subject: Re: pkg idea From: Alexander Yerenkow To: Jason Helfman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: pkg@freebsd.org 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: Tue, 05 Mar 2013 06:11:29 -0000 2013/3/5 Jason Helfman > Hello All, > > Today I have removed misc/instant-server from the ports collection, however > this spawned an idea I have, however I do lack the coding to implement if > seen as a good idea :) > > The direction for features, as I understand it, is to be able to request > something in a port. > > USE_FEATURE= ws (webserver) > > So the port would install apache, per se. > > With this idea, why not provide metadata from the feature itself such as: > > PROVIDES_FEATURE= ws > > Then advertise the pkg tool the concept of installing features: > > pkg install feature <{web,dns,application,proxy,irc}> server. > > The user can then have a list of features to install. This can be presented > in multiple ways. Possibly a list, or maybe even a "signed off > on/officially supported" server features. > > Web Server -> Apache > DB Server -> PostgreSQL > DNS -> Bind > Application -> Tomcat6 > > Or something different... > > Any thoughts? > Actually, this is good idea, but as they told me - pretty complex and non-trivial to make (part of dependencies). I tried to make discussion earlier, but to no avail yet. http://lists.freebsd.org/pipermail/freebsd-ports/2012-July/076611.html https://github.com/pkgng/pkgng/issues/100 But probably, this can begin with PROVIDES part, and evolve later into "required" framework :) > > Thanks! > -jgh > -- > Jason Helfman | FreeBSD Committer > jgh@FreeBSD.org | http://people.freebsd.org/~jgh | The Power to Serve > _______________________________________________ > freebsd-pkg@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-pkg > To unsubscribe, send any mail to "freebsd-pkg-unsubscribe@freebsd.org" > -- Regards, Alexander Yerenkow From owner-freebsd-pkg@FreeBSD.ORG Tue Mar 5 08:48:13 2013 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 691B3BCC for ; Tue, 5 Mar 2013 08:48:13 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 0B7D69CF for ; Tue, 5 Mar 2013 08:48:12 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id s43so5533370wey.21 for ; Tue, 05 Mar 2013 00:48:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=QRMxlJ2HmQHb0NroNZkTzHeE751qcUCy0sSwVTfMeN0=; b=jhpG0vOldjcyjhbi/h1tn78bOoB1BA/xuKRI6UyMjRXIiaB83m8+UKC4fiZgW3jwyJ fz8AVcwqePP50UR/CmYFNBd5lo/7vbTA95brZCcvSPLKBBKj5iEyO7PLdkffJyTD37Ea 2TeopDRN1D06eTkbN7k7k79LDkI2uTxMAZTIz/KiUUGYE+i+601qLqL+pM5oSB3Hcgqx QdcgYSkCh+AFWbjdDmotuFczaTTgCJTm1G+CRwcJ2AnSxNxbico1FGQw98gsCPb9D/re sRWr2QztOIfVAHQS7SxmAv1C96bGT2b+EyDxIkJOvo5OQQUNRYQ7uSYjnTGUM7VIc4jh yWyg== X-Received: by 10.180.93.168 with SMTP id cv8mr16962689wib.5.1362473292167; Tue, 05 Mar 2013 00:48:12 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id bj9sm18901610wib.4.2013.03.05.00.48.10 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 05 Mar 2013 00:48:10 -0800 (PST) Sender: Baptiste Daroussin Date: Tue, 5 Mar 2013 09:48:08 +0100 From: Baptiste Daroussin To: pkg@FreeBSD.org Subject: pkgng needs help for testing framework Message-ID: <20130305084808.GA18971@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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: Tue, 05 Mar 2013 08:48:13 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Since the beginning of the developpement of pkgng we are trying to get a unit test framework and to switch to Test Driven Developpement. We first try use libcheck which was ok for testing the functions but not the frontend, we recently decided to the atf framework: http://code.google.com/p/kyua/wiki/ATF because this is the one that is now in base. Unfortunatly we are failing at integrating it properly, given we have found some important regression in the last couple of days, it is becoming more and more important to have it up and running. If you are looking for a task in pkgng please jump into that one, do not hesitate to throw away what have already been done. Regards, Bapt --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlE1sUgACgkQ8kTtMUmk6Ez12ACfRNa4jz8yazAJugnclDJMSNMR XogAoIV5/59kMI8LoQcb5aTvCLdK8yEB =rYqT -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--