9f866b35a1
If we set defaults for the query configuration options and then pass the namespace created by parsing the command line options to the config object it cannot tell the difference between values set on the command line and defaults. That means we may override settings in the configuration file with defaults from the command line parser. This change sets all of the defaults for command line options to None as a sentinel value and then updates the Config class to ignore command line option values of None. It also adds tests to verify that we get the expected override behavior with boolean and string options. Change-Id: I1c9ce668b5e5c372d1c861bcae6e6de05a8ebc0c Signed-off-by: Doug Hellmann <doug@doughellmann.com> |
||
---|---|---|
.. | ||
add-closed-branch-config-options-8773caf240e4653f.yaml | ||
add-config-file-e77084792c1dc695.yaml | ||
add-deprecations-section-6b0f118fe190585c.yaml | ||
add-earliest-version-6f3d634770e855d0.yaml | ||
add-linter-ce0a861ade64baf2.yaml | ||
add-verbose-flag-88d72cb01812c616.yaml | ||
allow-short-branch-names-61a35be55f04cea4.yaml | ||
avoid-clashing-uids-e84ffe8132ce996d.yaml | ||
branches-eol-bcafc2a007a1eb9f.yaml | ||
bug-1537451-f44591da125ba09d.yaml | ||
cache-ordering-6c743f68e3f7107f.yaml | ||
collapse-pre-releases-0b24e0bab46d7cf1.yaml | ||
config-option-branch-name-re-8ecfe93195b8824e.yaml | ||
config-option-sections-9c68b070698e984a.yaml | ||
custom-tag-versions-d02028b6d35db967.yaml | ||
default-repository-root-cli-85d23034bef81619.yaml | ||
dulwich-rewrite-3a5377162d97402b.yaml | ||
Enable-using-tempalte-file-be734d8698309409.yaml | ||
first-release-2857bfc9474c00b4.yaml | ||
fix-branch-base-detection-95300805f26a0c15.yaml | ||
fix-cli-option-handling-a13652d14507f2d7.yaml | ||
fix-delete-handling-55232c50b647aa57.yaml | ||
fix-git-log-ordering-0e52f95f66c8db5b.yaml | ||
fix-prelude-4e0bcb6f76571b4f.yaml | ||
fix-scanner-tag-detection-ef0a95c12a90f167.yaml | ||
fix-sphinxext-scanner-0aa012ada66db773.yaml | ||
flexible-formatting-31c8de2599d3637d.yaml | ||
ignore-notes-option-9d0bde540fbcdf22.yaml | ||
ignore-null-merges-56b7a8ed9b20859e.yaml | ||
include-working-copy-d0aed2e77bb095e6.yaml | ||
log-levels-and-sphinx-161-6efe0d291718a657.yaml | ||
no-show-source-option-ee02766b26fe53be.yaml | ||
null-merge-infinite-loop-670367094ad83e19.yaml | ||
optional-oslosphinx-55843a7f80a14e58.yaml | ||
reference-name-mangling-3c845ebf88af6944.yaml | ||
repodir-config-file-b6b8edc2975964fc.yaml | ||
report-title-option-f0875bfdbc54dd7b.yaml | ||
reverse-slug-order-4c5f94e72d4f6fb9.yaml | ||
scanner-change-96682cb04fc66c0b.yaml | ||
setuptools-integration-950bd8ab6d2970c7.yaml | ||
show-less-unreleased-802781a1a3bf110e.yaml | ||
show-note-filename-in-report-a1118c917588b58d.yaml | ||
sphinx-extension-4a092b4102370246.yaml | ||
stable-section-anchors-d99258b6df39c0fa.yaml | ||
stop-scanning-branch-e5a8937c248acc99.yaml | ||
stop-scanning-branch-option-6a0156b183814d7f.yaml | ||
support-custom-template-0534a2199cfec44c.yaml | ||
support-edit-ec5c01ad6144815a.yaml | ||
support-multi-line-notes-328853d8d596fd64.yaml | ||
tag-format-bd5018a813c804fd.yaml | ||
unreleased-version-title-86751f52745fd3b7.yaml |