From owner-svn-src-head@FreeBSD.ORG Thu Nov 29 07:38:52 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E15327E; Thu, 29 Nov 2012 07:38:52 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id D59818FC0C; Thu, 29 Nov 2012 07:38:50 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id a14so5039769eaa.13 for ; Wed, 28 Nov 2012 23:38:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=rZxwGivGaPVIN+gB4LguqbzpwDcl/nzN0nnrKE+9iyA=; b=F4fsxERsz2OkgoKOWTgafKzeMAGMYIfaUhAEcu4JVBbmHnZ97uMWEzTyrm/mw+XmZm qTxmtIF/C44Zn+V+bVnNbI2qgorzWqKMMOkDFpaG525hlr9u1S0FFuXqSwpF9R0V1/0U y5anaqK9ghZmVbM5ByAys+J9zncMBMISDiw+6t8A9NkMdaTxqF3D9UEo3gXJRASdy3yh 4AdESN2n0ArJM6rr187bosiWi8AUmfw6lZCReNmwuckuv2FmuZMEbAc2nsIppzoB0DWL k9Qhzi/3qBfn0GELeD6w2gc19KWYfCJzSeg+U2y6f6htKPDvizoYACUT1zlAScRZz383 sVXQ== Received: by 10.14.178.7 with SMTP id e7mr63276677eem.44.1354174730057; Wed, 28 Nov 2012 23:38:50 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id e1sm1886601eem.3.2012.11.28.23.38.48 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Nov 2012 23:38:49 -0800 (PST) Sender: Baptiste Daroussin Date: Thu, 29 Nov 2012 08:38:47 +0100 From: Baptiste Daroussin To: Stanislav Sedov Subject: Re: svn commit: r243554 - in head/usr.sbin/pkg_install: add create delete info lib updating version Message-ID: <20121129073846.GG97474@ithaqua.etoilebsd.net> References: <201211260511.qAQ5B7DQ002346@svn.freebsd.org> <20121128170032.730be5fab68dba2a09aaa14e@FreeBSD.org> <20121128183422.714562856f27371c95d2a84e@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="S5HS5MvDw4DmbRmb" Content-Disposition: inline In-Reply-To: <20121128183422.714562856f27371c95d2a84e@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Eitan Adler X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 07:38:52 -0000 --S5HS5MvDw4DmbRmb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 28, 2012 at 06:34:22PM -0800, Stanislav Sedov wrote: > On Wed, 28 Nov 2012 21:03:58 -0500 > Eitan Adler mentioned: >=20 > > On 28 November 2012 20:00, Stanislav Sedov wrote: > > > On Mon, 26 Nov 2012 05:11:07 +0000 (UTC) > > > Eitan Adler mentioned: > > > > > >> Author: eadler > > >> Date: Mon Nov 26 05:11:07 2012 > > >> New Revision: 243554 > > >> URL: http://svnweb.freebsd.org/changeset/base/243554 > > >> > > >> Log: > > >> Provide an option to users to shoot themselves in the foot. > > >> > > > > > > This should probably be a default behavior. It's not good when all t= hese > > > warnings pop up everywhere just because local.sqlite file is present. > >=20 > > Making the foot shooting behavior default defeats the point. > > If local.sqlite exists it almost certainly means that you don't want > > to run the old pkg_ tools. > > For the few correct uses an opt-out option is provided. > >=20 >=20 > Well, it's not entirely true. I did end up with local.sqlite because I > stepped on the landmine of portmgr-pkg becoming the default for some > reason. So I did end up with half of my packages being in the pkgng > sqlite database, and half in standard /var/db/pkg. I had to convert > them back to standard format by hand, but I still have the sqlite database > just in case. >=20 > I guess if you really want to prevent a foot-shooting, you should add > a message to pkgng sayng in all caps e.g. "You are running experimental > package manager and there's no migration plan from pkgng to old pkg > exists." and maybe ask for confirmation. I don't really see how this > message being in pkg_ tools helps to prevent a possible foot-shooting > at all. pkg is no more experimental at all, it is not perfect there are large rooms= for improvements, but it is perfectly ready to be used, if you have any concern about some missing "feature" just report it; Concerning a landmine, when you have big flashy lights all over the place: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2012-October/0000= 32.html http://lists.freebsd.org/pipermail/freebsd-current/2012-October/037001.html a fanfare playing in front of it saying beware landsmine: http://svnweb.freebsd.org/ports?view=3Drevision&revision=3D305637 and maps available all over the places to explains where the mine are how to workaround them, or be mine proof: http://svnweb.freebsd.org/ports/head/CHANGES (entry 20121010) http://svnweb.freebsd.org/ports/head/UPDATING (entry 20121010) I'd say in that case it is no more considered as a landmine but just a new = safe way. Bapt --S5HS5MvDw4DmbRmb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlC3EQYACgkQ8kTtMUmk6EwhjgCfbWItx7QrIoYQL4o5WkiDLK0H l/YAn2+w1YL7Zl5guHYtBdqVFxnKD936 =ucWY -----END PGP SIGNATURE----- --S5HS5MvDw4DmbRmb--