)]}'
{"oslo_config/tests/test_cfg.py":[{"author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"change_message_id":"2cc62e09cacb37889809eb1c3661dba1cdeff151","unresolved":true,"context_lines":[{"line_number":278,"context_line":"    def test_find_config_files_overrides(self):"},{"line_number":279,"context_line":"        \"\"\"Ensure priority of directories is enforced."},{"line_number":280,"context_line":""},{"line_number":281,"context_line":"        Ensure we will only ever return two files: $project.conf and"},{"line_number":282,"context_line":"        $prog.conf."},{"line_number":283,"context_line":"        \"\"\""},{"line_number":284,"context_line":"        config_files \u003d ["}],"source_content_type":"text/x-python","patch_set":1,"id":"04ebbe3c_ef83615a","line":281,"updated":"2021-04-21 11:17:26.000000000","message":"I\u0027m not sure to seen why you speak about `$project.conf` and `$prog.conf` this is something related to the mechanismes of oslo.config?","commit_id":"068c13547ed0c8bdd55f338fe9d8386fe02e6c0d"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"19dc1d382ad0b5fc70f6c68e5b52947d77553a4c","unresolved":false,"context_lines":[{"line_number":278,"context_line":"    def test_find_config_files_overrides(self):"},{"line_number":279,"context_line":"        \"\"\"Ensure priority of directories is enforced."},{"line_number":280,"context_line":""},{"line_number":281,"context_line":"        Ensure we will only ever return two files: $project.conf and"},{"line_number":282,"context_line":"        $prog.conf."},{"line_number":283,"context_line":"        \"\"\""},{"line_number":284,"context_line":"        config_files \u003d ["}],"source_content_type":"text/x-python","patch_set":1,"id":"205532b0_bb470990","line":281,"in_reply_to":"04ebbe3c_ef83615a","updated":"2021-04-21 15:28:39.000000000","message":"Yes. This is the idea of this test. This function will return at most two files: one corresponding to the name of the project and one corresponding the name of the application (i.e. sys.argv[0]). Consider nova-compute from the nova project. In this case, calling this function will check for both \u0027nova.conf\u0027 ($project.conf) and \u0027nova-compute.conf\u0027 ($prog.conf) in \u0027$HOME/.nova\u0027, \u0027$HOME\u0027, \u0027/etc/nova\u0027 and \u0027/etc\u0027, returning the first one found. fwiw, our docs on this are quite thin on the ground. I added a doc on this to nova recently that might be helpful [1]\n\n[1] https://review.opendev.org/c/openstack/nova/+/786202","commit_id":"068c13547ed0c8bdd55f338fe9d8386fe02e6c0d"}]}
