Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 1997 16:21:14 +1100 (EST)
From:      proff@suburbia.net
To:        hackers@freebsd.org
Cc:        electron@suburbia.net (Ido Banks)
Subject:   distfile diffs?
Message-ID:  <19970110052114.5325.qmail@suburbia.net>

next in thread | raw e-mail | index | archive | help

I wonder whether the ports/cvsup could not be slightly modified to
handle the fetching of diffs from one distfile version to another?

For example the last three tar.gz versions of pine 3.xx were
approximately 4000k a peice, while the diffs of the same were
considerably less. The same goes for cvsup itself, and the modular-3
distribution (the entirety of which I've pulled across at least
twice in order to satisfy cvsup's dependencies).

For security and code-review reasons it would also be nice to have
diffs for distfile version changes, rather than just yanking
over the whole tree.

Given that freefall sees copies of all distfiles (except for the
occasional distribution restriction), it may as well be producing
diffs from one version to the other. Whether this is done by placing
unexploded tar balls under cvs control and letting cvsup or cvs
rdiff do the work, or merely by generating diffs each time a new
distfile tarball comes in from the old tarball and grabbing them
with fetch(1) is an implementation issue.

If the diffs are applied as part of the make process, and one
presumes the port's object code make dependencies are valid, and
the work dir has not yet been cleaned, re-compilation should be
minimised.

Cheers,
Julian.



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