This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup RFC: Ditch homegrown http/ftp code and use a library?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:

> Calculating which file to use as a basis for rsync is easy without
> symlinks: Its just the 'closest to the version being downloaded'.
> Define closest as you would intuitively: two package files with the
> same x.y.z components are closer than two with the same x.y and
> different z.

In my idea symlinks were not used to "select" the version, just to let
rsync think the file is already present locally, and with old file"
content, so that its content is used for optimization.

> As for using rsync on package files, there is strong evidence from
> the debian project that it is marginal, unless you have the zlib
> with the patched hunk-reset which is much more likey to keep
> consistent data in successive minor releases of a package. For bz2,
> I don't know for sure, but I suspect a similar issue will apply.

You're perfectly right. Moreover with package "method 2" this won't
EVEN suffice as 90% of the packaghe is the "internal gz/bz2", which is
made upstream and we have no control upon it at all.

All in all, rsync is maybe really NOT useful, in its present state, to
setup.exe.
Except as a tool to "help" sync the WHOLE packages system, but not for
the rsync-compression, more for the rsync management-of-file&date...

Lapo

- --
Lapo Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkGV6+wACgkQaJiCLMjyUvveBwCfevmf93EOdRr74ljAn+h/1NEM
Qz8An2NrHVBN0A4BNbUrqRV1zQQfBw2T
=Mrja
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]