feature request: record build space used
Joe Marcus Clarke
marcus at freebsd.org
Wed Jul 23 13:41:58 EDT 2008
Wesley Shields wrote:
> On Wed, Jul 23, 2008 at 12:11:48PM -0400, Joe Marcus Clarke wrote:
>> On Wed, 2008-07-23 at 13:59 +0300, Ion-Mihai Tetcu wrote:
>>> Yeh, an other one ;)
>>>
>>>
>>> It would be very useful to me to have, for each port, stored in the
>>> database the total size of the space it occupies, together with base OS
>>> and dependencies, at build time. This value should be updated, if
>>> bigger that current values, even if the build fails.
>> How would one know the size before the port builds? Dependencies are
>> one thing, but we have no concept of size (even distfile size) before
>> buildscript is called.
>
> You can get a rough idea of it based upon the previous build? Take the
> previous build and add on N% of space for growth?
This seems error-prone. What if you rebuild the same version multiple
times (e.g. to fix plist errors)? You could keep racking up the TB size.
Of course, we could do something similar to what is done for ETA. That
is, simply use the previous build size as the estimate for the current
build size (with no additional markup).
Joe
>
> -- WXS
>
--
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
More information about the tinderbox-list
mailing list