Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2014 08:36:32 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: Reducing the size of the ports tree (brainstorm v2)
Message-ID:  <20141101083632.2cae3527@X220.alogt.com>
In-Reply-To: <20141031185621.GC15967@ivaldir.etoilebsd.net>
References:  <20141031185621.GC15967@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Fri, 31 Oct 2014 19:56:21 +0100
Baptiste Daroussin <bapt@FreeBSD.org> wrote:

> tijl@ spotted an interesting point, distinfo and pkg-descr files files
> convenient are taking a lot of space for "free", we can reduce the
> size of the while ports tree by a factor 2 by simply merging them
> into one of the other files (Makefile and/or pkg-plist) from my
> testing it really devides significantly the size of the tree.
> 
it is some 50 000 small files.

> Problem is how to merge them if we want to.
> 
> What we do not want to loose:
> - Easyness of parsing distinfo
> - Easyness to get informations about the description
> 
Could they be put into a single file with a format like:

[/usr/ports/www/firefox]
descr="some text which can span
line"
distinfo="SHA256 (firefox-33.0.source.tar.bz2) =
1018c2fae8c54c8a45f5a3ce348a2617a3f8039a789b09b7cfa5a27be069b229"
SIZE = "(firefox-33.0.source.tar.bz2) = 155177527"

It is a bit old fashioned but will fulfil the requirements but will add
just one new layer.

Erich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141101083632.2cae3527>