[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to make Packages file 50% smaller



On Fri, Mar 02, 2001 at 05:36:51PM -0800, Alexander Hvostov wrote:
> Kenneth,
> 
> It's easier than that, actually. Since the Packages files are updated on a
> strictly daily basis in unstable (and even more rarely in testing and
> stable), the server could keep a few diffs for n past updates to the
> Packages file.
> 
> On the subject, I wouldn't mind people using something like xdelta for
> upgrading .debs. Binary diff, mmmmm.
> 
> Regards,
> 
> Alex.
> 

Diffs are quite a good idéa, I think.

So I have two suggestions. Both can be implemented side by side:

* Make a separate Packages-tiny (or similar) with just the most
  important information. And then add an option to apt-get (and
  similar utils) to fetch that file instead of the ordinary
  Packages file.

* Use cvs/rcs or similar for the Packages (and ..-tiny) file.
  Apt-get (and similar) store the version of the file that they
  have fetched. It then fetches the Packages-diff-from-vernum file
  which is automaticly created by from cvs/rcs...

Regards,

// Ola

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal@debian.org                     Björnkärrsgatan 5 A.11   \
|  opal@lysator.liu.se                 584 36 LINKÖPING         |
|  +46 (0)13-17 69 83                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



Reply to: