Date: Wed, 27 Mar 2002 16:24:36 +0200 From: Peter Pentchev <roam@ringlet.net> To: Maxim Sobolev <sobomax@FreeBSD.org> Cc: Alan Eldridge <alane@geeksrus.net>, freebsd-ports@FreeBSD.org Subject: Re: Make Fetch resume (Is is possible to do...) Message-ID: <20020327162436.B1189@straylight.oblivion.bg> In-Reply-To: <1017211272.40837.23.camel@notebook>; from sobomax@FreeBSD.org on Wed, Mar 27, 2002 at 08:49:49AM %2B0200 References: <F12HZXFZ0stgr3SU0hX00008df4@hotmail.com> <20020327023215.GA60864@wwweasel.geeksrus.net> <1017200712.260.12.camel@notebook> <20020327055042.GA63306@wwweasel.geeksrus.net> <1017211272.40837.23.camel@notebook>
next in thread | previous in thread | raw e-mail | index | archive | help
--3uo+9/B/ebqu+fSQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 27, 2002 at 08:49:49AM +0200, Maxim Sobolev wrote: > On Wed, 2002-03-27 at 07:50, Alan Eldridge wrote: > > On Wed, Mar 27, 2002 at 05:47:48AM +0200, Maxim Sobolev wrote: > > >Well, I think that the best way out is to introduce some new target, s= ay > > >fetch-resume, which will compare checksums of all files and if some of > > >them don't match it will try to resume download. This will ensure that > > >the luser knows what he is doing. Proposed `RESUME_FETCH' knob doesn't > > >look as a very good idea for me, because naive users will just define = it > > >in make.conf and then have a problems each time when checksum changes > > >while the name of the distfile remains the same. > >=20 > > To tie things together a bit, would you see this fitting in the > > mainstream bsd.port.mk, or in the proposed bsd.port.utils.mk you > > wrote of earlier (in another thread)? >=20 > The latter, I think. The tricky part is to avoid code duplication, so > that hypothetical fetch-resume uses existing fetch target to do actual > fetching. How about naming it something like 'checksum-refetch', since it would actually have to duplicate code from the 'checksum' target, too? (and yes, I know this is all idle speculation until somebody actually sits down and tries to write the thing; only then will it be seen just how much code and from which target it will be able to use :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence every third, but it still comprehensible. --3uo+9/B/ebqu+fSQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyh1iQACgkQ7Ri2jRYZRVOzUACgoR54/Q9cCBlPNw0q+n+dNoDM 2UsAnjFIPlDL6uQJ7DXaMZwAYk93et6G =Np1j -----END PGP SIGNATURE----- --3uo+9/B/ebqu+fSQ-- 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?20020327162436.B1189>