Reworking per-{build, jail, portstree} env files for package builds

Joe Marcus Clarke marcus at marcuscom.com
Tue Nov 15 16:51:53 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ade Lovett wrote:
| On Nov 15, 2005, at 13:36 , Oliver Lehmann wrote:
|
|>I like the later idea too.
|
|
| Ok.  Well that's easy enough.
|
|
|>Just for the future and not reimplementing
|>this a 2nd time. What to do in case I want different env files for the
|>same jail/portstree/build on different hosts? Will that be
|>supported? If,
|>how to extend this scheme later?
|
|
| Good question.  Going along the lines of how hosts are currently
| handled in the DB, I would presume something like:
|
| 	env/ {global,jail.J,portstree.P,build.B}
|
| with an override to any one of:
|
| 	env.<hostname>/ {global,jail....}
|
| Though that does start getting ugly.
|
| Given that all hosts need access to the database, would it make more
| sense to figure out a way to do this inside the database, rather than
| flat files?  Of course, there would then need to be some kind of
| "configuration manager" UI...

I think that's overkill of the occassional environment variable.  But if
it could be made generic, and easy enough to use, then perhaps that's
the way to go.

Joe

- --
PGP Key : http://www.marcuscom.com/pgp.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDelh5b2iPiv4Uz4cRAq3jAJ9cppTYZckCeakk+je/stkAVt1V3ACglY8c
ukgwcSyKILeQiR+/S9uQ95w=
=nYRl
-----END PGP SIGNATURE-----


More information about the tinderbox-list mailing list