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

Max Bowsher wrote:

> * Package file scarcely ever change whilst keeping the same name.
> Also, they are compressed, so a small change is likely to cause the
> entire contents to change anyway. Therefore, rsync would not help.

It could eb somewhat used anyways just doing a "ln -s" of the old file
on the new name, THEN rsyncing it... I shoudl try but in theory it
should read it for calculating the diff, then if writes a NEW file
with the transfer and delete the old, so it would both have the "pro"
of rsync and the "pro" of not copy the ACTUAL file (creating all the
symlinks for every "newer" package in setup.ini is not so much work).

In fact, I think I will try and do such a bash script to do this, to
"test" the idea.
Maybe only for packages ALREADY locally present.

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

iEYEARECAAYFAkGV6IkACgkQaJiCLMjyUvu3PgCeI51AcZKvkfBhuRTC7WMv/is1
tcsAoKl4VYyMmPgAjcpJLG3FEx75aW0H
=qWrz
-----END PGP SIGNATURE-----


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