From owner-freebsd-pkg@FreeBSD.ORG Tue May 13 20:21:31 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5DF0CA0 for ; Tue, 13 May 2014 20:21:31 +0000 (UTC) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85D852B18 for ; Tue, 13 May 2014 20:21:31 +0000 (UTC) Received: from localhost (mail.ixsystems.com [10.2.55.1]) by mail.iXsystems.com (Postfix) with ESMTP id 0339D74A9D for ; Tue, 13 May 2014 13:21:31 -0700 (PDT) Received: from mail.iXsystems.com ([10.2.55.1]) by localhost (mail.ixsystems.com [10.2.55.1]) (maiad, port 10024) with ESMTP id 42606-01-8 for ; Tue, 13 May 2014 13:21:30 -0700 (PDT) Received: from kruse-242.1.ixsystems.com (kruse-242.1.ixsystems.com [10.2.1.242]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id C3B4374A61 for ; Tue, 13 May 2014 13:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ixsystems.com; s=newknight0; t=1400012465; bh=q8eQASQZ7qXPCYHt9QG90C/hB/jMBSQkq6wgpo+PsqU=; h=From:Subject:Date:To; b=gwmSi8rzLrXYLPuW3o4YbGrUcunYdFTSyHSPDR0VMOoxVe+2pFond+UYrNHdyC9DU RvhzfHLVWzpYQZJFxnTYZIhEaNWi5dYK0jcqTGti0VbreCCKSxSFgPLhcvoUZUxNoD jcbRNxIlvctgg0HyNnBRjXkwVOFji+ORsb6rp/nQ= From: Sean Fagan Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Delta packages Message-Id: Date: Tue, 13 May 2014 13:21:04 -0700 To: freebsd-pkg@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2014 20:21:31 -0000 We have a strong desire to make delta packages -- that is, given version = A and version B of a package, to be able to download a package that has = only the changes between A and B. I've written a little program to create this (it currently only has the = files that have changed, not binary diffs, although that would I suppose = be possible; just harder). I can, I'm sure, come up with a way to manually extract and update the = packages databases; however, I'd prefer to do a lot of that in the = package code. (Among other things, being able to specify what the delta = is from would be good; I couldn't see a way to add random key/value = pairs to the manifest using the pkg* routines, and while I can add it to = the +MANIFEST file I create, that doesn't actually do a whole lot.) First question: is anyone working on something like this already? Second question: Any objections to it in principal? Merci beaucoup, Sean.