From owner-freebsd-arch Sun Jul 7 3: 9:12 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 DCC4E37B400; Sun, 7 Jul 2002 03:09:08 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 701A843E09; Sun, 7 Jul 2002 03:09:08 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 9FCD6534B; Sun, 7 Jul 2002 12:09:06 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Wes Peters Cc: Dan Moschuk , arch@freebsd.org Subject: Re: Package system flaws? References: <20020706220511.GA88651@scoobysnax.jaded.net> <3D27A296.D58FB4B4@softweyr.com> From: Dag-Erling Smorgrav Date: 07 Jul 2002 12:09:05 +0200 In-Reply-To: <3D27A296.D58FB4B4@softweyr.com> Message-ID: Lines: 25 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Wes Peters writes: > Dan Moschuk wrote: > > Where can we improve? > In all of the above areas, plus all the ones we haven't addressed yet. *grin* One thing we could improve a lot is the package file format. We currently use gzipped tarballs, which have to be completely unpacked before processing can begin. One improvement we can make is to use an archive format such as zip that allows us to extract individual files quickly, so we can extract the metadata and check dependencies etc. without unpacking the entire package. This would save both time and space (the current system can fail if the temp directory doesn't have room for the unpacked package, even if the installation directory has room to spare). A further improvement is to use a custom archive format that always stores the metadata at the beginning of the archive so we can install packages from the net without having to download and store them locally first (zip isn't suitable for this as it stores the content directory at the end of the archive, and the files within the archive can appear in any order). DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message