Open esc opened 8 years ago
I would like to have an option to only set the hostname part of the URL - leaving the protocol and path unchanged. ATM I need to set the complete URL even if I only want to change the hostname of the server.
those are separate issues, mind you.
Yes? My issue is you want me to change my config and I - the end user - voice my opinion about what kind of change I actually need :-)
So, maybe instead of changing the api_url key you add a new key called api-host (or something like this) that solves my problem and probably the problem of all the other people who ever had to change the api_url key :-)
See also #39, though I would love to have a corresponding config item as well.
@schlomo how do we deal with this? Would propose to change this, when we change to v2
But maybe we can deprecate it already?
Sure, why not add a deprecation warning for the old form? In 1-2 months we can then remove it.
And advice people to switch to the new server
variable which will probably obsolete the need for people to change the api-url
variable altogether.
Yes, but only if it is found in config, right? I don't want a warning if I am overriding things on the command-line.
If you use the old command line argument then you should be warned. Otherwise not.
Does anyone have any issues changing the
api_url
config item toapi-url
?