From owner-freebsd-arch Thu Jul 11 10:42: 3 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D02137B400; Thu, 11 Jul 2002 10:41:58 -0700 (PDT) Received: from thuvia.demon.co.uk (thuvia.demon.co.uk [193.237.34.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0434D43E3B; Thu, 11 Jul 2002 10:41:56 -0700 (PDT) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (dotar.thuvia.org [10.0.0.4]) by phaidor.thuvia.org (8.11.6/8.11.6) with ESMTP id g6BHffb30164; Thu, 11 Jul 2002 18:41:41 +0100 (BST) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (localhost [IPv6:::1]) by dotar.thuvia.org (8.12.3/8.12.3) with ESMTP id g6BHffKC073048; Thu, 11 Jul 2002 18:41:41 +0100 (BST) (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.3/8.12.3/Submit) id g6BHffn8073047; Thu, 11 Jul 2002 18:41:41 +0100 (BST) Date: Thu, 11 Jul 2002 18:41:41 +0100 (BST) From: Mark Valentine Message-Id: <200207111741.g6BHffn8073047@dotar.thuvia.org> In-Reply-To: Wes Peters's message of Jul 11, 6:53am X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: wes@softweyr.com (Wes Peters), Cy Schubert - CITS Open Systems Group Subject: Re: Package system flaws? Cc: Dag-Erling Smorgrav , Doug Barton , Dan Moschuk , arch@freebsd.org Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: wes@softweyr.com (Wes Peters) > Date: Thu 11 Jul, 2002 > Subject: Re: Package system flaws? > The idea I like the best is to have the filesets (picture a .tar.gz > or a .zip here) be external references on the fileserver; the XML > contains all the metadata and URLs for the filesets. As you fetch > the XML, or after you've fetched all of the XML, you fetch the > filesets you're not skipping. Once you have the filesets on local > storage, you can rewrite the URL references or convert them to > in-line encoding, leaving the ones that have been skipped in the > original URL encoding. This is equivalent to my proposal, except that I don't see much value in converting to the in-line encoding, and my method specifies a directory name (or any suitable simple archive name) containing a package.xml and compressed file sets, whereas you presumably expect the XML file to be the primary referenced object. > For instance: > > > > > > > > My equivalent would be: or: name=cat bin=bin.tar.gz man=man.tar.gz lang[en_US]=en_US.tar.gz lang[en_UK]=en_UK.tar.gz lang[fr_FR]=fr_FR.tar.gz according to taste. > Now assume you specified you want to install only the en_UK language > files. pkg_add would leave the en_US and fr_FR as external references, > download the binaries, man pages, and en_UK filesets, and convert those > three into local file references OR directly encode them into the > package file. Same except that I don't need the last step, though I could optionally bundle up for archiving purposes. Cheers, Mark. -- Mark Valentine, Thuvia Labs "Tigers will do ANYTHING for a tuna fish sandwich." Mark Valentine uses "We're kind of stupid that way." *munch* *munch* and endorses FreeBSD -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message