Subject: Re: fetching after an interupted or corrupted download
To: Sean Witham <sean.witham@webscreen-technology.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 02/22/2002 14:21:56
--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Fri, Feb 22, 2002 at 11:23:08AM +0000, Sean Witham wrote:
> Nothing but its limited to deleteing distfiles for a package. A make
> target that automaticaly checks the distfiles to see if they are
> incomplete and re-continue their downloads would be nice. A second
> target to automaticaly delete and re-download any complete distfiles
> that have been corrupted would also be useful.

i think that 'distclean', as it is obvious from its name, is for deleting
distfiles, not for regeting them. i don't see anything wrong with its
current behaviour. i reacted on greg's note about the fact that he
needed to create his own 'distclean'-like target into bsd.pkg.mk, which
was not neccessary because there is one already.

what you want is to have more intelligent 'fetch' target and i can only
agree with you. although, i don't see a reason why should we create a
new target for re-downloading corrupted archives. this should be handled
with 'extract' target and fall back to 'distclean' && 'fetch'.

regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =
 --

--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8dkX0Wc63C347cOIRAl+JAJ4ysvOBVdkNPQdVZynOidzZiVafmgCdG4ky
BqvCI0h7CB6HSTZyA8vQFvE=
=h8le
-----END PGP SIGNATURE-----

--k+w/mQv8wyuph6w0--