Re: On adding size info to Packages files [very long]
Hi,
I think we should look at the possibility of not including the
information in either the Packages file nor the available file. The
Du files hsould be separately kept on the archives, and they maybe
compressed with gzip (bzip2?); and downloaded and kept in
/var/lib/dpkg/DU.gz or something on the users machine; and they need
only be downloaded if required by the user. Keeping this information
separate makes using this optional.
This minimizes space on the server, bandwidth concerns for
everyone (specially for people who do no want the DU stuff in
the first place but who are behind a low bandwidth connection to a
ftp site).
The apt script that does calculations can just as easily read
a compressed file, and compressing it with gzip makes it quite easily
human readable [using lessopen]).
I see no technical advantage encoding this in Packages files
and available file.
I'll even volunteer to write an apt method if Jason handles
calling it if the user has requested; and the interface could be a
apt-size +<lists of packages to be installed> -<list of packages to be removed>
manoj
--
"A verbal contract isn't worth the paper it's printed on." Samuel
Goldwyn
Manoj Srivastava <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
--
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: