Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2011 15:47:18 -0400
From:      Diane Bruce <db@db.net>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        ports@FreeBSD.org, Eitan Adler <lists@eitanadler.com>, Diane Bruce <db@db.net>
Subject:   Re: patch for force fetch
Message-ID:  <20110516194718.GA1818@night.db.net>
In-Reply-To: <4DD1796F.2000305@FreeBSD.org>
References:  <4DD0CC21.5050305@FreeBSD.org> <20110516120807.GA34582@night.db.net> <BANLkTi=MKn09fG6SQ2MPdRGNi6rJ=t8biA@mail.gmail.com> <4DD1796F.2000305@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 16, 2011 at 10:22:23PM +0300, Andriy Gapon wrote:
> on 16/05/2011 19:53 Eitan Adler said the following:
> >> I've run into this myself and simply done the manual rm -f. This looks like
> >> a great addition.
> > 
> > what about make distclean  ?
> 
> Can you please elaborate?
> If you mean that I could just run 'make distclean', then my answer is why should
> I.  I.e. if the ports infrastructure already knows that there is something wrong
> with a local copy of a distfile (wrong size, wrong checksum), then it should
> just do the right thing and not annoy me to run some cleanup action.


I agree. Moreover, I've been thinking about the fetch operation in 
ports for a while, discussed with linimon@ once. There should be a way
to have a little more intelligence in that. e.g. if we are expecting
a binary tarball and we get back a html file, we know something has gone
wrong.

One of these years.

-- 
- db@FreeBSD.org db@db.net http://www.db.net/~db
  Why leave money to our children if we don't leave them the Earth?



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