)]}'
{"config_tempest/main.py":[{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a3241aed7ba77a36f981ee2e94e5edc8dcecad87","unresolved":false,"context_lines":[{"line_number":289,"context_line":"                                specified path. After that python-tempestconf"},{"line_number":290,"context_line":"                                ends."},{"line_number":291,"context_line":"                                For example:"},{"line_number":292,"context_line":"                                  --generate-profile $HOME/profile.yaml"},{"line_number":293,"context_line":"                             \"\"\")"},{"line_number":294,"context_line":"    parser.add_argument(\u0027--image-disk-format\u0027, default\u003dC.DEFAULT_IMAGE_FORMAT,"},{"line_number":295,"context_line":"                        help\u003d\"\"\"A format of an image to be uploaded to glance."}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_1b5f3c79","line":292,"range":{"start_line":292,"start_character":34,"end_line":292,"end_character":71},"updated":"2018-12-17 08:34:08.000000000","message":"Can we make something like this if profile path is not given, it will dump directly in etc/profile.yaml?","commit_id":"08ff4f271f6a8c1ef22ea3afd89d8f72dd72c6f5"},{"author":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"change_message_id":"4c750851239552eb60bf5642d407ebfb9814cec6","unresolved":false,"context_lines":[{"line_number":289,"context_line":"                                specified path. After that python-tempestconf"},{"line_number":290,"context_line":"                                ends."},{"line_number":291,"context_line":"                                For example:"},{"line_number":292,"context_line":"                                  --generate-profile $HOME/profile.yaml"},{"line_number":293,"context_line":"                             \"\"\")"},{"line_number":294,"context_line":"    parser.add_argument(\u0027--image-disk-format\u0027, default\u003dC.DEFAULT_IMAGE_FORMAT,"},{"line_number":295,"context_line":"                        help\u003d\"\"\"A format of an image to be uploaded to glance."}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_da8ba120","line":292,"range":{"start_line":292,"start_character":34,"end_line":292,"end_character":71},"in_reply_to":"3f79a3b5_1b5f3c79","updated":"2018-12-17 14:12:56.000000000","message":"No, at least I don\u0027t see how, because the variable is tested for None or other value later in the code. By setting a default value we woldn\u0027t know if the variable was set by a user or not.","commit_id":"08ff4f271f6a8c1ef22ea3afd89d8f72dd72c6f5"}],"config_tempest/profile.py":[{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"e3b4251246bb830340838889a61cc0b607adce78","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    iterable_args.pop(\u0027profile\u0027)"},{"line_number":78,"context_line":"    with open(path, \u0027w\u0027) as outfile:"},{"line_number":79,"context_line":"        yaml.safe_dump(iterable_args, outfile, default_flow_style\u003dFalse)"},{"line_number":80,"context_line":"        outfile.write(\"append: {}\\n\")"},{"line_number":81,"context_line":"        outfile.write(\"  #identity.username: username\\n\")"},{"line_number":82,"context_line":"        outfile.write(\"  #compute-feature-enabled.api_extensions:\\n\")"},{"line_number":83,"context_line":"        outfile.write(\"  #  - dvr\\n\")"},{"line_number":84,"context_line":"        outfile.write(\"  #  - extension\\n\")"},{"line_number":85,"context_line":"        outfile.write(\"overrides: {}\\n\")"},{"line_number":86,"context_line":"        outfile.write(\"  #identity.username: username\\n\")"},{"line_number":87,"context_line":"        outfile.write(\"  #identity.password:\\n\")"},{"line_number":88,"context_line":"        outfile.write(\"  #  - my_password\\n\")"},{"line_number":89,"context_line":"        outfile.write(\"  #compute-feature-enabled.api_extensions:\\n\")"},{"line_number":90,"context_line":"        outfile.write(\"  #  - dvr\\n\")"},{"line_number":91,"context_line":"        outfile.write(\"  #  - extension\\n\")"},{"line_number":92,"context_line":"        outfile.write(\"remove: {}\\n\")"},{"line_number":93,"context_line":"        outfile.write(\"  #identity.username: username\\n\")"},{"line_number":94,"context_line":"        outfile.write(\"  #compute-feature-enabled.api_extensions:\\n\")"},{"line_number":95,"context_line":"        outfile.write(\"  #  - dvr\\n\")"},{"line_number":96,"context_line":"        outfile.write(\"  #  - extension\\n\")"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f79a3b5_12dc3270","line":96,"range":{"start_line":80,"start_character":8,"end_line":96,"end_character":43},"updated":"2018-12-10 07:25:14.000000000","message":"can we put the whole text in a single var using \"\"\" quotes and  write in one go?","commit_id":"88612e4353465458b87d7bfbc4483064053a59e0"}],"doc/source/user/profile.rst":[{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"9c6bd638eb7dfd2abb6a0168a1e5ad30cb3a7d84","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":".. code-block:: Bash"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    $ discover-tempest-config --profile profile.yaml --generate-profile ./etc/profile.yaml"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":".. code-block:: yaml"},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3f79a3b5_8566bb55","line":30,"range":{"start_line":30,"start_character":3,"end_line":30,"end_character":90},"updated":"2018-12-10 10:42:06.000000000","message":"It needs to be seperated in two blocks like this:\ndiscover-tempest-config --generate-profile \u003cpath to yaml file\u003e to generate sample profile.\nand\n$discover-tempest-config -profile \u003cpath to profile yaml\u003e","commit_id":"08ff4f271f6a8c1ef22ea3afd89d8f72dd72c6f5"},{"author":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"change_message_id":"5e67f0f46d1e94d5515048f7b71b00e2907e1801","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":".. code-block:: Bash"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    $ discover-tempest-config --profile profile.yaml --generate-profile ./etc/profile.yaml"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":".. code-block:: yaml"},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"3f79a3b5_9b305aec","line":30,"range":{"start_line":30,"start_character":3,"end_line":30,"end_character":90},"in_reply_to":"3f79a3b5_8566bb55","updated":"2018-12-10 11:51:04.000000000","message":"oh, the --profile argument is not supposed to be there at all, there is another section which explains usage of the profile file .. I\u0027ll edit it","commit_id":"08ff4f271f6a8c1ef22ea3afd89d8f72dd72c6f5"}],"releasenotes/notes/Add-profile-argument-70bfa9606826ff81.yaml":[{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a3241aed7ba77a36f981ee2e94e5edc8dcecad87","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    --profile argument specifies a path to a profile.yaml file which contains"},{"line_number":5,"context_line":"    definitions of python-tempestconf arguments."},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    NOTE: If this argument is used, other arguments cannot be defined, it means"},{"line_number":8,"context_line":"    a user uses either CLI arguments or profile.yaml file."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"    A user can generate a sample profile.yaml file using this argument. The"},{"line_number":11,"context_line":"    sample contains definitions of all python-tempestconf arguments set to"},{"line_number":12,"context_line":"    their default values."}],"source_content_type":"text/x-yaml","patch_set":7,"id":"3f79a3b5_bb4408a2","line":12,"range":{"start_line":4,"start_character":3,"end_line":12,"end_character":25},"updated":"2018-12-17 08:34:08.000000000","message":"Info about generate-profile is missing.","commit_id":"08ff4f271f6a8c1ef22ea3afd89d8f72dd72c6f5"}],"roles/generate-tempestconf-file-cloud/tasks/main.yaml":[{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"80e49398413e1714c47f58ab5864c6b2dfaa0b2e","unresolved":false,"context_lines":[{"line_number":58,"context_line":"  - name: Create a profile.yaml file"},{"line_number":59,"context_line":"    copy:"},{"line_number":60,"context_line":"        content: \"{{ profile | to_nice_yaml }}\""},{"line_number":61,"context_line":"        dest: ./etc/profile.yaml"},{"line_number":62,"context_line":"    args:"},{"line_number":63,"context_line":"        chdir: \"{{ tempestconf_src_relative_path }}\""},{"line_number":64,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":5,"id":"3f79a3b5_87548624","line":61,"range":{"start_line":61,"start_character":8,"end_line":61,"end_character":32},"updated":"2018-12-10 07:17:46.000000000","message":"Can we create a profile using --generate-profile and then overrides the value the yaml file?","commit_id":"88612e4353465458b87d7bfbc4483064053a59e0"},{"author":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"change_message_id":"7a1dc2f337980a3b7dc5244586800fdfd1bc1c6d","unresolved":false,"context_lines":[{"line_number":58,"context_line":"  - name: Create a profile.yaml file"},{"line_number":59,"context_line":"    copy:"},{"line_number":60,"context_line":"        content: \"{{ profile | to_nice_yaml }}\""},{"line_number":61,"context_line":"        dest: ./etc/profile.yaml"},{"line_number":62,"context_line":"    args:"},{"line_number":63,"context_line":"        chdir: \"{{ tempestconf_src_relative_path }}\""},{"line_number":64,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":5,"id":"3f79a3b5_126c3232","line":61,"range":{"start_line":61,"start_character":8,"end_line":61,"end_character":32},"in_reply_to":"3f79a3b5_87548624","updated":"2018-12-10 07:58:18.000000000","message":"The content will be overridden, however, we can at least test if the file was generated properly .. so yes, sure","commit_id":"88612e4353465458b87d7bfbc4483064053a59e0"}]}
