Date: Tue, 07 Jan 2014 10:30:43 -0500 From: "Adam Weinberger" <adamw@adamw.org> To: "Baptiste Daroussin" <bapt@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org, Dima Panov <fluffy@FreeBSD.org> Subject: Re: svn commit: r338994 - head/www/lightsquid Message-ID: <7BB3A9B9-1FA6-4920-8603-0ECF7FA45A32@adamw.org> In-Reply-To: <20140107150423.GN36154@ithaqua.etoilebsd.net> References: <201401071012.s07ACXcZ047221@svn.freebsd.org> <20140107101534.GG36154@ithaqua.etoilebsd.net> <E1BDFDD2-6D75-4660-AAE9-AB6163E1D592@adamw.org> <20140107150423.GN36154@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7 Jan 2014, at 10:04, Baptiste Daroussin wrote: > On Tue, Jan 07, 2014 at 09:55:24AM -0500, Adam Weinberger wrote: >> 2) Can someone please make compatibility shims for pkg_tools so that >> we >> can retire them?? It is really frustrating having to do the same >> thing >> three different ways. pkgng has happened. Migrate the pkg_tools >> people >> to it. > > It is impossible, pkg_tools are in 8.4 for example where it can't be > updated. > The only solution here is to drop support for pkg_tools. Sure it is. Make a ports-mgmt/pkg_tools_shims port that writes to /usr. In medicine, we have a saying: "three steps max." The idea is that if you want a patient to follow your instructions, you have to be able to reduce it to three simple steps. If you give people three things to do, and you make sure they see the instructions, you WILL be able to get everybody on board. The simplest way to make sure they see it is to break pkg_tools and then give them instructions in the error message. "ERROR: FreeBSD ports requires the new pkgNG system. 1) Run 'pkgng' as root. 2) Install ports-mgmt/pkg_tools_shims as a temporary fix. 3) See http://path/to/success for a simply-worded primer on how to use the new pkgNG system." Make it mandatory. Make it simple. Make it fast. pkgng will enable us to do some wonderful things. @config_file_copy etc/port.conf.dist etc/port.conf. That alone is worth the price of admission. Let's drag people, kicking and screaming, into success. # Adam -- Adam Weinberger adamw@adamw.org http://www.adamw.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7BB3A9B9-1FA6-4920-8603-0ECF7FA45A32>