From owner-freebsd-audit Mon Aug 20 5:28:11 2001 Delivered-To: freebsd-audit@freebsd.org Received: from mail.musha.org (daemon.musha.org [61.122.44.178]) by hub.freebsd.org (Postfix) with ESMTP id F41EE37B413; Mon, 20 Aug 2001 05:28:04 -0700 (PDT) (envelope-from knu@iDaemons.org) Received: from archon.local.idaemons.org (archon.local.idaemons.org [192.168.1.32]) by mail.musha.org (Postfix) with ESMTP id 25E134E24D; Mon, 20 Aug 2001 21:26:57 +0900 (JST) Date: Mon, 20 Aug 2001 21:26:47 +0900 Message-ID: <86zo8u533s.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: Maxim Sobolev Cc: audit@FreeBSD.org, "Brian F. Feldman" , Mike Barcroft , ports@FreeBSD.org Subject: Re: adding -P option to pkg_delete(1) In-Reply-To: <3B80F6EC.948F7633@FreeBSD.org> References: <86ofpl0yq8.wl@archon.local.idaemons.org> <200108122310.f7CNAUZ01898@green.bikeshed.org> <86k804weed.wl@archon.local.idaemons.org> <3B80E75F.4C1C578F@FreeBSD.org> <864rr355y7.wl@archon.local.idaemons.org> <3B80F6EC.948F7633@FreeBSD.org> User-Agent: Wanderlust/2.7.2 (Too Funky) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Mon, 20 Aug 2001 14:39:24 +0300, sobomax wrote: > > At Mon, 20 Aug 2001 13:33:03 +0300, > > sobomax wrote: > > > Please hold on. What is the purpose of this feature? I can't recall > > > any discussion regarding the topic. > > > > It's okay, but why don't you just try to read the patch in which the > > purpose of the feature is *explicitly* written? > > Well, perhaps you misread my question. I meant "what the code in question > is expected to be used for?", not "what the code in question does?". Also I don't differentiate the two, or three. All your questions above sounds pointless to me. What are you implying actually? > idea to hardcode regex (two of them actually) into an utility doesn't > looks very solid to me, instead I would like to see it be specificable > (or at least overrideable) from the command line, i.e.: > > # pkg_delete -P ^.\*foo.bar foo-0.0 > (don't delete files which end with `foo.bar'). Sounds interesting, but I'm afraid it would be superfluous, I mean you might be doing YAGNI[*], since I don't see why we need this extension as much as we just need to preserve shared libraries. I suggest you explain the expected use of it, that is, what for example you want to preserve other than old shared libraries. Regards, [*] YAGNI = "You Aren't Gonna Need It!" -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Freeze this moment a little bit longer, make each impression a little bit stronger.. Experience slips away -- Time stand still" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message