To increase the readability of the help text of the config options,
I pushed [1] to "oslo.config".
 
[1] https://review.openstack.org/#/c/205708/
 
Regards,
Markus Zoeller  (markus_z)
 
----- Original message -----
From: Michael Still <mi...@stillhq.com>
To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org>
Cc:
Subject: Re: [openstack-dev] [openstack][nova] Streamlining of config options in nova
Date: Fri, Jul 24, 2015 3:17 PM
 
On Fri, Jul 24, 2015 at 2:19 PM, Doug Hellmann <d...@doughellmann.com> wrote:
One idea I've tossed around a bit is having options defined in data
files that ship with the code, rather than being inside the Python
code itself. Maybe a first pass at that would be to offload the
help to a separate file? If that seems interesting, I could experiment
with adding some features to oslo.config to support it.
 
So, that's kind of what I was trying out. One idea was to put the help strings in a separate module and just reference them in the source code. My concern however is that if they're not with the code they wont get updated which things change. Instead, if we move the entire flag people are still forced to notice the help string and that its wrong when they tweak things.
 
Its not perfect though, and ideas are very welcome. The basic problem is that if you try to configure SSL, there are a whole heap of different options available, and its not clear how they interact and what you need to twiddle to make things work unless you read the code.
 
Michael
 
--
Rackspace Australia
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to