|
|
|
environs/configstore: change file extension
I think it's good to have *some* file extension, so
we don't have to worry too much about whether we
allow environment names to contain periods.
The question remains: what extension to choose?
Based on Dimiter's suggestion, I've chosen ".jenv",
but others' mileages may vary.
Let the bikeshedding begin.
https://code.launchpad.net/~rogpeppe/juju-core/422-environ-info-extension/+merge/187785
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : environs/configstore: change file extension #Patch Set 3 : environs/configstore: change file extension #
Total comments: 1
Total messages: 2
|
rog
Please take a look.
|
12 years, 3 months ago (2013年09月26日 13:48:55 UTC) #1 | ||||||||||||||||||||||||||||||||
Please take a look.
Big LGTM! https://codereview.appspot.com/13969043/diff/5001/environs/configstore/disk.go File environs/configstore/disk.go (right): https://codereview.appspot.com/13969043/diff/5001/environs/configstore/disk.g... environs/configstore/disk.go:54: return filepath.Join(d.dir, "environments", envName+".jenv") Good choice. I prefer names/extensions telling what the file is about more than the format. Always hated all those .xml files.