|
|
|
Previously extraction in place would fail on symlink extraction if the symlink
already existed. As is this fix doesn't catch odder cases like directories
changing into symlinks. But then neither did the previous extract in place. A
longer term solution would be to have install manifests, and delta them against
existing on disk state as part of charm upgrade.
https://code.launchpad.net/~hazmat/juju/upgrade-sym-link/+merge/95098
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 1
Total messages: 2
|
hazmat
Please take a look.
|
13 years, 10 months ago (2012年02月29日 03:55:21 UTC) #1 | ||||||||||||||||||||||
Please take a look.
lgtm https://codereview.appspot.com/5706057/diff/1/juju/charm/tests/test_bundle.py File juju/charm/tests/test_bundle.py (right): https://codereview.appspot.com/5706057/diff/1/juju/charm/tests/test_bundle.py... juju/charm/tests/test_bundle.py:178: os.symlink('./metadata.yaml', sym_path) why ./ here rather than a bare filename?