[Swift-devel] Issues to resolve for the 0.96 config mechanism

Mihael Hategan hategan at mcs.anl.gov
Sun Jul 13 22:02:37 CDT 2014


Sorry. This discussion went a bit off. I apologize.

Search path. There are some changes. Here are the details:

1. swift/etc/swift.conf is still there
2. SWIFT_SITE_CONF is still there. It makes good sense.
3. ~/.swift/swift.conf is gone. SWIFT_SITE_CONF does the same and is
explicit. Can be added back.
4. ./swift.conf is gone for reasons of magicality. Can also be added
back.
5. -config on the command line is still there.

The fundamental difference is that there is no "if it's not there,
ignore silently and continue" behavior and there is no automated
chaining. The user has to say what they want. It's a one-time operation
per file. Very likely less work than the actual contents of the file,
but less error-prone. It's a choice. That of safety vs. convenience. We
can bias either way and supplement with tools.

We could and should discuss the merits of what has changed. It might
help if we do it one issue at a time.

Mihael




More information about the Swift-devel mailing list