Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2001 21:26:47 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        audit@FreeBSD.org, "Brian F. Feldman" <green@FreeBSD.org>, Mike Barcroft <mike@FreeBSD.org>, ports@FreeBSD.org
Subject:   Re: adding -P option to pkg_delete(1)
Message-ID:  <86zo8u533s.wl@archon.local.idaemons.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86zo8u533s.wl>