it looks like the ini/toml deprecation is triggeri...
# announce
w
it looks like the ini/toml deprecation is triggering on pantsbuild/pants, which is peculiar
…oh. because i have a
~/.pants.rc
most likely.
it is in toml format though.
h
the TOML vs. INI code right now only parses with TOML if the file ends in
.toml
, per the TOML spec
otherwise it uses INI
Could you rename it
~/.pants.toml
or
~/.pants.rc.toml
?
w
it successfully parses this file… *shrug
e
~/<foo>.rc is a unix standard pants uses
We should change the standard or add an afforance for it
h
w
Copy code
--pantsrc-files="[<path>, <path>, ...]"
      default: "['/etc/pantsrc', '~/.pants.rc']"
      Override config with values from these files. Later files override earlier ones.
so i guess that some subset of toml parses successfully as ini…?
h
Yes, that is correct
w
mm
h
TOML is inspired by INI. It’s similar in many ways, but stricter
w
i will help myself out here
.pants.rc.toml
or
.pants.toml.rc
?
h
I think
.rc.toml
? John will have a better intuition for what is more kosher
w
yea, fine with that. seems like it’s more a convention than an actual useful suffix.
e
Well, just accepting the unix default and actually making an exception for them would be most kosher... but I generally have differing opinions on lots of this stuff it seems. Fine with consensus outside me.
w
e
Thanks - that seems more in line with rc.