feature request: record build space used

Joe Marcus Clarke marcus at freebsd.org
Wed Jul 23 13:45:21 EDT 2008


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.

You can already retrieve the Jail for a corresponding port, so I don't 
see what additional OS information you want.

As for dependencies, how would you want them reported?  It would be 
easiest to store origin info in the database in a separate table which 
linked build_port IDs with port IDs.  Of course, tc commands would be 
added to retrieve them given a build and a port.

Joe

> 
> This should allow me to use something like:
> mdmfs -s 2000m -o async md${OSV} /var/tinderbox/${OSV}-STABLE-i386-myPT
> in a prePortBuild hook while excluding OOo, some games, etc. for which
> I don't have enough memory and eventually tune the size of the memory
> fs on a per-port basis.
> 
> 
> Thanks,
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> tinderbox-list at marcuscom.com mailing list
> http://marcuscom.com/mailman/listinfo/tinderbox-list
> To unsubscribe, send any mail to "tinderbox-list-unsubscribe at marcuscom.com"


-- 
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