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

Re: Packages/DiffIndex



David Kalnischkies (2010-10-20):

> mhh, yeah, if debian-users@ can't provide help instantly: ask again
> - or just wait a tiny little bit longer than 2 days. ;)

You're right; in my defence, this is in fact my second attempt.

> You could also ask "upstream" - which is in this case the deity@ list.
> ask.debian.net would be another option to consider next time…

Thank you, I wasn't aware of that list.

> > On my Lenny system, I maintain a small Debian archive. It's updated
> > with "apt-ftparchive generate". I would like to add a
> > Packages/DiffIndex file, but can't find out how to accomplish that.
> 
> apt-ftparchive can't generate the patch files as well as the needed Indexes.
> This is a feature of dak and/or the other more advanced archivebuilders.
> 
> Patches are obviously welcomed to change that (as well as someone who
> takes care of apt-ftparchive as a whole btw) -- in the meantime you
> can generate them "by hand" maybe inspired by how dak and co does it
> (for dak you can see it in dak/generate_index_diffs.py i think) or
> you use one of the "bigger" tools to maintain your archive directly.

I'll check it out. Would you care to tell me where to find it?
"apt-cache search dak" doesn't reveal what I'm looking for
(lenny/ppc).

> But, you say that it is "small", so i am tempted to say that pdiffs aren't
> worthed the hassle. They can be useful if the Packages file is really big and
> constantly updated, but if it is small… pdiffs have a considerable overhead
> compared to a complete file download.

71 .deb files in total to date; 17 different packages (for iPhone),
updated rather frequenty. My server is a NAS system running
Lighty, on a DSL line; my goal to reduce both the load on the
server and the line.

-rw-r--r-- 1 root root    9925 2010-10-18 10:50 Contents.gz
-rw-r--r-- 1 root root  155836 2010-10-18 10:50 Contents
-rw-r--r-- 1 root root    9120 2010-10-18 10:50 Contents.bz2
-rw-r--r-- 1 root root   14579 2010-10-19 14:12 Packages.gz
-rw-r--r-- 1 root root   13465 2010-10-19 14:12 Packages.bz2
-rw-r--r-- 1 root root   74043 2010-10-19 14:12 Packages
-rw-r--r-- 1 root root 1736704 2010-10-19 14:12 packages-cydia.db
-rw-r--r-- 1 root root    1089 2010-10-19 14:12 Release
-rw-r--r-- 1 root root     197 2010-10-19 14:13 Release.gpg

-André
-- 
L'art d'ennuyer est de tout dire. [Voltaire]


Reply to: