commit 819f28a0b8863bd18f8a14491b5966c8b2723432
Author: Zhi Yan Liu <email address hidden>
Date: Thu Mar 27 17:39:14 2014 +0800
Enabling separated sample config file generation
As a common approach most projects used now and Oslo preferred, this
change enabled sample configuration file generation mechanism for
each Glance services.
This change, as an enhancement, allows generating separated sample
configuration files for each Glance major services, e.g.:
It is different than I94d486d6686815c45705a7a9b00fb26062e1eb63
which only supports generating an unified sample configuration
file to including all Glance available options.
This mechanism not only can help auditing by packager, milestone
maintainer or developer as a function (testenv) of tox, but also
those separated configuration files could make deployment be easy.
And it helps keeping sample configuration files be update with
code change.
The change added "genconfigs" function as a tox testenv (-egenconfigs),
and it dependes on oslo-config-generator function of oslo.config.
The change doesn't introduce those sample files Glance repo, so
next step is to investigate if we can generate them in gate
automatically when a change was merged.
Reviewed: https:/ /review. openstack. org/104476 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=819f28a0b88 63bd18f8a14491b 5966c8b2723432
Committed: https:/
Submitter: Jenkins
Branch: master
commit 819f28a0b8863bd 18f8a14491b5966 c8b2723432
Author: Zhi Yan Liu <email address hidden>
Date: Thu Mar 27 17:39:14 2014 +0800
Enabling separated sample config file generation
As a common approach most projects used now and Oslo preferred, this
change enabled sample configuration file generation mechanism for
each Glance services.
This change, as an enhancement, allows generating separated sample
configuration files for each Glance major services, e.g.:
It is different than I94d486d6686815 c45705a7a9b00fb 26062e1eb63
which only supports generating an unified sample configuration
file to including all Glance available options.
This mechanism not only can help auditing by packager, milestone
maintainer or developer as a function (testenv) of tox, but also
those separated configuration files could make deployment be easy.
And it helps keeping sample configuration files be update with
code change.
The change added "genconfigs" function as a tox testenv (-egenconfigs), generator function of oslo.config.
and it dependes on oslo-config-
The change doesn't introduce those sample files Glance repo, so
next step is to investigate if we can generate them in gate
automatically when a change was merged.
Related- Change- Id: I15686708fc9460 948a58cfea3d18d ae40ba1fda9 Change- Id: Iae31856d5886ee 78786972d80c7c1 03c3460a2b3 Change- Id: I76043b08e28728 67e5af2a5ac902e 4d092fda5c8
Related-
Related-
Closes-Bug: #1300546
Closes-Bug: #1361963
Change-Id: Ibe03a3fe80b96c a32acb1a6bea7e3 8e6075951bb
Signed-off-by: Zhi Yan Liu <email address hidden>