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

Re: [Soc-coordination] Debdelta APT Integration - Report 2



On Mon, 2011-06-20 at 13:02 +0100, Chris Baines wrote:
> > Currently, in our implementation, we assume that the debdeltas are
> > found in the same location as the debs but I can only use it to test
> > with my local repo that I created for testing since there are no such
> > actual repositories. There are some debdelta repositories such as the
> > one created by Mennucc[2], and we need to use those when constructing
> > the delta URIs within pkgAcqDebdelta by some form of a replacement
> > rule. This rule can be set as an APT configuration option.
> 
> Could you not just include both the debdelta repository URL and the
> main Debian repository URL in your /etc/apt/sources.list file?
> 
> So it would look something like:
> deb http://ftp.uk.debian.org/debian/ sid main contrib non-free
> deb-src http://ftp.uk.debian.org/debian/ sid main contrib non-free
> deb http://debdeltas.debian.net/debian-deltas sid main contrib non-free
> 
> I imagine this would require apt to be modified to detect debdeltas
> when running apt-get update, but I would see a setup like this as very
> flexible and fit for the future (debs and debdeltas in the main
> archives, no need for debdelta specific repositories).
For this, we'd really need indexes though, as otherwise we cannot
differentiate between an empty repository and a debdelta one.

Such as:
  dists/DIST/binary-ARCH/PackageDeltas

with at least the following fields from Packages
  Package	The name as usual
  Architecture	The architecture
  Version	The version
and some field(s) for listening the delta(s).
  Delta-SHA1:
	old-SHA1 new-sha1     size filename
  Delta-SHA512:
	old-SHA512 new-sha512 size filename

or similar. For normal servers, the additional Delta-* fields could be
merged into the Packages files.
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.



Reply to: