Symlinks in juju-core

John Arbash Meinel john at arbash-meinel.com
Tue Feb 5 13:03:19 UTC 2013


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

One of the bits that we might be looking at on our squad is getting
juju-core working on Windows. The very first issue is that juju-core
itself has symlinks in the source tree. (oneiric,precise,quantal point
to 'series' in the testing/repo directory.)

I'm thinking this is only used by the test suite because it wants
charm-information in a specific layout, but we don't want to have to
reproduce it for difference series.

Would it be reasonable to change the test suite so that when it wants
'quantal/*' it just copies the content of 'series/*'. (In a TMP dir
for the test suite, or maybe just ignored in the source tree? I prefer
TMP).

Is that reasonable? The alternative is to have it try to symlink if it
can, and then fall back to directory copies. Which would let you use
symlinks if the platform supports it.


Thoughts?
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlERAxcACgkQJdeBCYSNAANJvgCgtR3Vv6hWks545Lzm1SHL5KnX
73IAn2gPTH9rQ1LR32GreJWoRNBOIQkG
=aom3
-----END PGP SIGNATURE-----



More information about the Juju-dev mailing list