)]}'
{"tripleo-yum-config/README.md":[{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"beb61dd503b62edc6ef20d3243b929f98561f41f","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# tripleo-yum-config"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"*tripleo-yum-config* utility was designed to simplify the way that TripleO "},{"line_number":4,"context_line":"deployments manage their yum configuration. This tool helps on updating"},{"line_number":5,"context_line":"specific configuration options for different yum configuration files like yum"},{"line_number":6,"context_line":"repos, yum modules and yum global configuration file."}],"source_content_type":"text/x-gfm","patch_set":3,"id":"2d972331_e43d3796","line":3,"updated":"2021-06-15 08:06:02.000000000","message":"whitespace nit","commit_id":"0e09d41c3680f8175e3240ad8c8e9df7434b9127"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"620a24ae610c1bd467ab2d212fa89c1c4472437b","unresolved":true,"context_lines":[{"line_number":1,"context_line":"# tripleo-yum-config"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"*tripleo-yum-config* utility was designed to simplify the way that TripleO "},{"line_number":4,"context_line":"deployments manage their yum configuration. This tool helps on updating"},{"line_number":5,"context_line":"specific configuration options for different yum configuration files like yum"},{"line_number":6,"context_line":"repos, yum modules and yum global configuration file."}],"source_content_type":"text/x-gfm","patch_set":3,"id":"bbef6f90_e385fc74","line":3,"in_reply_to":"2d972331_e43d3796","updated":"2021-06-15 11:34:36.000000000","message":"+1, tks","commit_id":"0e09d41c3680f8175e3240ad8c8e9df7434b9127"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"fc5f80e2c3cc842107a88d2afe477e200c1173f6","unresolved":true,"context_lines":[{"line_number":12,"context_line":"It is possible to use *tripleo-yum-config* as a standalone module by cloning"},{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"},{"line_number":15,"context_line":"python -m tripleo-yum-config repo appstream --enable --set-opts baseurl\u003dhttp://newbaseurl exclude\u003d\"package*\""},{"line_number":16,"context_line":"python -m tripleo-yum-config module container-tools --enable --set-opts stream\u003drhel8"},{"line_number":17,"context_line":"python -m global --set-opts keepcache\u003d1 cachedir\u003d\"/var/cache/dnf\""},{"line_number":18,"context_line":"```"}],"source_content_type":"text/x-gfm","patch_set":3,"id":"ba4eef57_69d1cdeb","line":15,"updated":"2021-06-18 12:14:55.000000000","message":"Toggleing the value of Yum repos is ok via tripleo-yum-config","commit_id":"0e09d41c3680f8175e3240ad8c8e9df7434b9127"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"fc5f80e2c3cc842107a88d2afe477e200c1173f6","unresolved":true,"context_lines":[{"line_number":12,"context_line":"It is possible to use *tripleo-yum-config* as a standalone module by cloning"},{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"},{"line_number":15,"context_line":"python -m tripleo-yum-config repo appstream --enable --set-opts baseurl\u003dhttp://newbaseurl exclude\u003d\"package*\""},{"line_number":16,"context_line":"python -m tripleo-yum-config module container-tools --enable --set-opts stream\u003drhel8"},{"line_number":17,"context_line":"python -m global --set-opts keepcache\u003d1 cachedir\u003d\"/var/cache/dnf\""},{"line_number":18,"context_line":"```"}],"source_content_type":"text/x-gfm","patch_set":3,"id":"b01eace6_57598b15","line":15,"range":{"start_line":15,"start_character":10,"end_line":15,"end_character":28},"updated":"2021-06-18 12:14:55.000000000","message":"s/tripleo-yum-config/tripleo_yum_config (It should be the module name).","commit_id":"0e09d41c3680f8175e3240ad8c8e9df7434b9127"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"fc5f80e2c3cc842107a88d2afe477e200c1173f6","unresolved":true,"context_lines":[{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"},{"line_number":15,"context_line":"python -m tripleo-yum-config repo appstream --enable --set-opts baseurl\u003dhttp://newbaseurl exclude\u003d\"package*\""},{"line_number":16,"context_line":"python -m tripleo-yum-config module container-tools --enable --set-opts stream\u003drhel8"},{"line_number":17,"context_line":"python -m global --set-opts keepcache\u003d1 cachedir\u003d\"/var/cache/dnf\""},{"line_number":18,"context_line":"```"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":3,"id":"c95e0f0d_a2c3112c","line":16,"range":{"start_line":16,"start_character":0,"end_line":16,"end_character":84},"updated":"2021-06-18 12:14:55.000000000","message":"Below is the experiments with the CLI.\nFew observations:\n* I am not sure using python module here to enable DNF modules is a good idea\n* I would suggest to use Python DNF library to do the module operation.\n  * Reasons: If a module is not found , DNF install it first then enable it, But here tripleo_yum_config will fail. \n\n[raukadah@toolbox ~]$ python3 -m tripleo_yum_config  module tomcat --enable --set-opts stream\u003dmaster\nTraceback (most recent call last):\n  File \"/usr/lib64/python3.9/runpy.py\", line 197, in _run_module_as_main\n    return _run_code(code, main_globals, None,\n  File \"/usr/lib64/python3.9/runpy.py\", line 87, in _run_code\n    exec(code, run_globals)\n  File \"/usr/local/lib/python3.9/site-packages/tripleo_yum_config/__main__.py\", line 148, in \u003cmodule\u003e\n    main()\n  File \"/usr/local/lib/python3.9/site-packages/tripleo_yum_config/__main__.py\", line 129, in main\n    config_obj.update_section(args.name, set_dict, enable\u003dargs.enable)\n  File \"/usr/local/lib/python3.9/site-packages/tripleo_yum_config/yum_config.py\", line 230, in update_section\n    super(TripleOYumModuleConfig, self).update_section(section, set_dict)\n  File \"/usr/local/lib/python3.9/site-packages/tripleo_yum_config/yum_config.py\", line 178, in update_section\n    raise exc.TripleOYumConfigNotFound(error_msg\u003dmsg)\ntripleo_yum_config.exceptions.TripleOYumConfigNotFound: The provided section \"tomcat\" was not found within any configuration file.\n⬢[raukadah@toolbox ~]$ sudo dnf module enable tomcat:master\nLast metadata expiration check: 0:12:44 ago on Fri Jun 18 17:23:47 2021.\nDependencies resolved.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n Package                                  Architecture                            Version                                     Repository                                Size\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nEnabling module streams:\n javapackages-tools                                                               202001                                                                                    \n tomcat                                                                           master                                                                                    \n\nTransaction Summary\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nIs this ok [y/N]: y\nComplete!\n⬢[raukadah@toolbox ~]$ cat /etc/dnf/modules.d\nmodules.d/          modules.defaults.d/ \n⬢[raukadah@toolbox ~]$ cat /etc/dnf/modules.d/\njavapackages-tools.module  tomcat.module              \n⬢[raukadah@toolbox ~]$ cat /etc/dnf/modules.d/tomcat.module \n[tomcat]\nname\u003dtomcat\nstream\u003dmaster\nprofiles\u003d\nstate\u003denabled\n⬢[raukadah@toolbox ~]$","commit_id":"0e09d41c3680f8175e3240ad8c8e9df7434b9127"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"add8a1eca42eb734702420f8a26487fabd6ed087","unresolved":true,"context_lines":[{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"},{"line_number":15,"context_line":"python -m tripleo-yum-config repo appstream --enable --set-opts baseurl\u003dhttp://newbaseurl exclude\u003d\"package*\""},{"line_number":16,"context_line":"python -m tripleo-yum-config module container-tools --enable --set-opts stream\u003drhel8"},{"line_number":17,"context_line":"python -m global --set-opts keepcache\u003d1 cachedir\u003d\"/var/cache/dnf\""},{"line_number":18,"context_line":"```"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":3,"id":"1754295f_85bee44d","line":16,"range":{"start_line":16,"start_character":0,"end_line":16,"end_character":84},"in_reply_to":"1859f70d_3a40d269","updated":"2021-06-22 08:59:52.000000000","message":"Great, that would be good for the modules which does not exists.\nAnother improvements would be improving the error messages and hiding the traceback for an end user.\n\nI can comment here, As I came across other requirements. Thanks once again.","commit_id":"0e09d41c3680f8175e3240ad8c8e9df7434b9127"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"b6071f2c55fad607030b408fcfe263a85228810a","unresolved":true,"context_lines":[{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"},{"line_number":15,"context_line":"python -m tripleo-yum-config repo appstream --enable --set-opts baseurl\u003dhttp://newbaseurl exclude\u003d\"package*\""},{"line_number":16,"context_line":"python -m tripleo-yum-config module container-tools --enable --set-opts stream\u003drhel8"},{"line_number":17,"context_line":"python -m global --set-opts keepcache\u003d1 cachedir\u003d\"/var/cache/dnf\""},{"line_number":18,"context_line":"```"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":3,"id":"1859f70d_3a40d269","line":16,"range":{"start_line":16,"start_character":0,"end_line":16,"end_character":84},"in_reply_to":"c95e0f0d_a2c3112c","updated":"2021-06-21 14:22:33.000000000","message":"Thank you for taking a time to test it. Yes, this is the expected behavior with the current implementation. It expects all config files were already creted at some point.\nIf is important to install modules that doesn\u0027t exist, I can add this to the code, it won\u0027t take too much time. Let\u0027s chat a little bit more about this and any other requirement that you think is a must have.","commit_id":"0e09d41c3680f8175e3240ad8c8e9df7434b9127"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"f1683566ec8dc014d94e5d906f83c84ab0fc26af","unresolved":true,"context_lines":[{"line_number":8,"context_line":"## Quick start"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"### Using as a python module"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"It is possible to use *tripleo-yum-config* as a standalone module by cloning"},{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"}],"source_content_type":"text/x-gfm","patch_set":4,"id":"02c0f218_d5a0dab5","line":11,"updated":"2021-06-29 08:25:34.000000000","message":"Just one minor improvement, If an user trigger the command without sudo, can we flash a message to use sudo there?","commit_id":"3af185b432a9b87fd0bdd6c94ac975204805c55d"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"9ea353198ad1f6e26212a559849d304ff7522583","unresolved":true,"context_lines":[{"line_number":8,"context_line":"## Quick start"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"### Using as a python module"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"It is possible to use *tripleo-yum-config* as a standalone module by cloning"},{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"}],"source_content_type":"text/x-gfm","patch_set":4,"id":"6c6a3b34_7488b1b6","line":11,"in_reply_to":"02c0f218_d5a0dab5","updated":"2021-06-29 18:25:58.000000000","message":"yeah, it was supposed to log this message. I already found a small issue here regargin using as a module instead of the cli, so it will also avoid printing the python traceback. thanks","commit_id":"3af185b432a9b87fd0bdd6c94ac975204805c55d"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"18ccf26c5a075979536d319d12752ad2383eebb0","unresolved":true,"context_lines":[{"line_number":8,"context_line":"## Quick start"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"### Using as a python module"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"It is possible to use *tripleo-yum-config* as a standalone module by cloning"},{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"}],"source_content_type":"text/x-gfm","patch_set":4,"id":"a0afa1bf_cea07023","line":11,"in_reply_to":"6c6a3b34_7488b1b6","updated":"2021-07-01 07:26:25.000000000","message":"ok, great, thanks for finding the issue, please update it in the new patchset.","commit_id":"3af185b432a9b87fd0bdd6c94ac975204805c55d"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"574527a97d57219b22aec11dbfee469fafd70ddf","unresolved":true,"context_lines":[{"line_number":8,"context_line":"## Quick start"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"### Using as a python module"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"It is possible to use *tripleo-yum-config* as a standalone module by cloning"},{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"}],"source_content_type":"text/x-gfm","patch_set":4,"id":"b4b3ac26_f3598de8","line":11,"in_reply_to":"a0afa1bf_cea07023","updated":"2021-07-01 21:27:23.000000000","message":"done","commit_id":"3af185b432a9b87fd0bdd6c94ac975204805c55d"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"0dc944e04e60194616cfc1860e3a78ba32e90954","unresolved":true,"context_lines":[{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"},{"line_number":15,"context_line":"python -m tripleo_yum_config repo appstream --enable --set-opts baseurl\u003dhttp://newbaseurl exclude\u003d\"package*\""},{"line_number":16,"context_line":"python -m tripleo_yum_config module enable tomcat stream\u003dmaster"},{"line_number":17,"context_line":"python -m tripleo_yum_config global --set-opts keepcache\u003d1 cachedir\u003d\"/var/cache/dnf\""},{"line_number":18,"context_line":"```"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":4,"id":"3bc4b076_7a71bb00","line":16,"range":{"start_line":16,"start_character":0,"end_line":16,"end_character":63},"updated":"2021-06-29 08:20:27.000000000","message":"[raukadah@toolbox tripleo-yum-config]$ python -m tripleo_yum_config module enable tomcat stream\u003dmaster\nusage: __main__.py [-h] [--verbose] {repo,module,global} ...\n__main__.py: error: unrecognized arguments: stream\u003dmaster\n\nI think it needs to be\n```\n⬢[raukadah@toolbox tripleo-yum-config]$ sudo python -m tripleo_yum_config module enable tomcat --stream master\n2021-06-29 13:37:28,494 - tripleo-yum-config - INFO - Last metadata expiration check: 0:51:37 ago on Tue Jun 29 12:45:51 2021.\n2021-06-29 13:37:28,838 - tripleo-yum-config - INFO - Module tomcat was enabled.\n\n```","commit_id":"3af185b432a9b87fd0bdd6c94ac975204805c55d"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"f1683566ec8dc014d94e5d906f83c84ab0fc26af","unresolved":true,"context_lines":[{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"},{"line_number":15,"context_line":"python -m tripleo_yum_config repo appstream --enable --set-opts baseurl\u003dhttp://newbaseurl exclude\u003d\"package*\""},{"line_number":16,"context_line":"python -m tripleo_yum_config module enable tomcat stream\u003dmaster"},{"line_number":17,"context_line":"python -m tripleo_yum_config global --set-opts keepcache\u003d1 cachedir\u003d\"/var/cache/dnf\""},{"line_number":18,"context_line":"```"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":4,"id":"a41aeb36_80d39532","line":16,"range":{"start_line":16,"start_character":0,"end_line":16,"end_character":63},"in_reply_to":"3bc4b076_7a71bb00","updated":"2021-06-29 08:25:34.000000000","message":"Regarding profiles, I am not sure we use it in CI, Here is my some experiment, it is behaving weired\n\n[raukadah@toolbox tripleo-yum-config]$ sudo python -m tripleo_yum_config module enable perl --profile common\n2021-06-29 13:48:33,870 - tripleo-yum-config - INFO - Last metadata expiration check: 1:02:42 ago on Tue Jun 29 12:45:51 2021.\n2021-06-29 13:48:34,202 - tripleo-yum-config - ERROR - Argument \u0027perl/common\u0027 matches 2 streams (\u00275.30\u0027, \u00275.32\u0027) of module \u0027perl\u0027, but non of the streams are enabled or default\n2021-06-29 13:48:34,202 - tripleo-yum-config - ERROR - Unable to resolve argument perl/common\nTraceback (most recent call last):\n  File \"/usr/lib64/python3.9/runpy.py\", line 197, in _run_module_as_main\n    return _run_code(code, main_globals, None,\n  File \"/usr/lib64/python3.9/runpy.py\", line 87, in _run_code\n    exec(code, run_globals)\n  File \"/home/raukadah/src/opendev.org/openstack/tripleo-repos/tripleo-yum-config/tripleo_yum_config/__main__.py\", line 180, in \u003cmodule\u003e\n    main()\n  File \"/home/raukadah/src/opendev.org/openstack/tripleo-repos/tripleo-yum-config/tripleo_yum_config/__main__.py\", line 157, in main\n    dnf_method(args.name, stream\u003dargs.stream, profile\u003dargs.profile)\n  File \"/home/raukadah/src/opendev.org/openstack/tripleo-repos/tripleo-yum-config/tripleo_yum_config/dnf_manager.py\", line 50, in enable_module\n    self.module_base.enable(\n  File \"/usr/lib/python3.9/site-packages/dnf/module/module_base.py\", line 59, in enable\n    raise dnf.exceptions.MarkingErrors(no_match_group_specs\u003dno_match_specs,\ndnf.exceptions.MarkingErrors: Problems in request:\nbroken groups or modules: perl/common\n⬢[raukadah@toolbox tripleo-yum-config]$ sudo dnf module enable perl/common\nLast metadata expiration check: 1:03:11 ago on Tue Jun 29 12:45:51 2021.\nArgument \u0027perl/common\u0027 matches 2 streams (\u00275.30\u0027, \u00275.32\u0027) of module \u0027perl\u0027, but non of the streams are enabled or default\nUnable to resolve argument perl/common\nError: Problems in request:\nbroken groups or modules: perl/common\n⬢[raukadah@toolbox tripleo-yum-config]$ sudo dnf module install perl/common\nLast metadata expiration check: 1:03:33 ago on Tue Jun 29 12:45:51 2021.\nArgument \u0027perl/common\u0027 matches 2 streams (\u00275.30\u0027, \u00275.32\u0027) of module \u0027perl\u0027, but non of the streams are enabled or default\nUnable to resolve argument perl/common\nError: Problems in request:\nbroken groups or modules: perl/common\n⬢[raukadah@toolbox tripleo-yum-config]$ sudo python -m tripleo_yum_config module enable perl --profile common --stream 5.30\n2021-06-29 13:49:43,152 - tripleo-yum-config - INFO - Last metadata expiration check: 1:03:52 ago on Tue Jun 29 12:45:51 2021.\n2021-06-29 13:49:43,520 - tripleo-yum-config - INFO - Ignoring unnecessary profile: \u0027perl/common\u0027\n2021-06-29 13:49:43,527 - tripleo-yum-config - INFO - Module perl was enabled.\n⬢[raukadah@toolbox tripleo-yum-config]$ \n\n\nPlease have a look, thanks.","commit_id":"3af185b432a9b87fd0bdd6c94ac975204805c55d"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"18ccf26c5a075979536d319d12752ad2383eebb0","unresolved":true,"context_lines":[{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"},{"line_number":15,"context_line":"python -m tripleo_yum_config repo appstream --enable --set-opts baseurl\u003dhttp://newbaseurl exclude\u003d\"package*\""},{"line_number":16,"context_line":"python -m tripleo_yum_config module enable tomcat stream\u003dmaster"},{"line_number":17,"context_line":"python -m tripleo_yum_config global --set-opts keepcache\u003d1 cachedir\u003d\"/var/cache/dnf\""},{"line_number":18,"context_line":"```"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":4,"id":"d878d117_fe0bda8e","line":16,"range":{"start_line":16,"start_character":0,"end_line":16,"end_character":63},"in_reply_to":"702153a1_954b8ec7","updated":"2021-07-01 07:26:25.000000000","message":"Thank you for explaining it, It would be good to document the usage of stream and profile in the README itself to avoid other people to confuse.\n\nRegarding installing packages, We can cover it in a new review (may be), As this CR is becoming bigger.\n\nLooking forward to see next patchset. Thanks :-)","commit_id":"3af185b432a9b87fd0bdd6c94ac975204805c55d"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"9ea353198ad1f6e26212a559849d304ff7522583","unresolved":true,"context_lines":[{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"},{"line_number":15,"context_line":"python -m tripleo_yum_config repo appstream --enable --set-opts baseurl\u003dhttp://newbaseurl exclude\u003d\"package*\""},{"line_number":16,"context_line":"python -m tripleo_yum_config module enable tomcat stream\u003dmaster"},{"line_number":17,"context_line":"python -m tripleo_yum_config global --set-opts keepcache\u003d1 cachedir\u003d\"/var/cache/dnf\""},{"line_number":18,"context_line":"```"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":4,"id":"702153a1_954b8ec7","line":16,"range":{"start_line":16,"start_character":0,"end_line":16,"end_character":63},"in_reply_to":"a41aeb36_80d39532","updated":"2021-06-29 18:25:58.000000000","message":"Yes, this Readme needs to be fixed, thanks.\n\nSo, this python module is working in the same way as the \u0027dnf module\u0027 command. When a module doesn\u0027t have a default \u0027stream\u0027, we need to provide one while \u0027enabling\u0027 a module. And if the stream doesn\u0027t have a default \u0027profile\u0027, we need to provide a profile while installing the module.\nNo sure how we could select a stream or a profile when it doesn\u0027t have a default, since we would be picking any of the availables.\n\nI also didn\u0027t found yet any \u0027module install\u0027 in the CI, so it might be installing individual packages only, that will be associated with the selected stream.\nInstalling individual packages isn\u0027t covered by this module so far..","commit_id":"3af185b432a9b87fd0bdd6c94ac975204805c55d"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"574527a97d57219b22aec11dbfee469fafd70ddf","unresolved":true,"context_lines":[{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"```"},{"line_number":15,"context_line":"python -m tripleo_yum_config repo appstream --enable --set-opts baseurl\u003dhttp://newbaseurl exclude\u003d\"package*\""},{"line_number":16,"context_line":"python -m tripleo_yum_config module enable tomcat stream\u003dmaster"},{"line_number":17,"context_line":"python -m tripleo_yum_config global --set-opts keepcache\u003d1 cachedir\u003d\"/var/cache/dnf\""},{"line_number":18,"context_line":"```"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":4,"id":"20340b2e_c795710f","line":16,"range":{"start_line":16,"start_character":0,"end_line":16,"end_character":63},"in_reply_to":"d878d117_fe0bda8e","updated":"2021-07-01 21:27:23.000000000","message":"Readme updated. Thanks Chandan.","commit_id":"3af185b432a9b87fd0bdd6c94ac975204805c55d"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"fb8cee6f64ff1d25a8de89b597cd7f59c35b2a6a","unresolved":true,"context_lines":[{"line_number":12,"context_line":"It is possible to use *tripleo-yum-config* as a standalone module by cloning"},{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"* **repo**"},{"line_number":15,"context_line":"  "},{"line_number":16,"context_line":"  This subcommand lets you enable or disable a repo and sets its configuration options."},{"line_number":17,"context_line":"  The *tripleo-yum-config* module will search for the provided repo name in all *.repo* files at REPO_DIR_PATH."},{"line_number":18,"context_line":"  Optionally, you can provide a dir path where your repo files live or specify the full path of the repo file."}],"source_content_type":"text/x-gfm","patch_set":5,"id":"89cd3577_7e81b004","line":15,"updated":"2021-07-02 06:19:00.000000000","message":"Not sure editor got the white spaces.","commit_id":"e012eb01942462272ce8714af19ef0e38ba925ab"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"b12f967d13ee30d6e667a6f605c545975d40f5b3","unresolved":true,"context_lines":[{"line_number":12,"context_line":"It is possible to use *tripleo-yum-config* as a standalone module by cloning"},{"line_number":13,"context_line":"its repository and invoking in command line:"},{"line_number":14,"context_line":"* **repo**"},{"line_number":15,"context_line":"  "},{"line_number":16,"context_line":"  This subcommand lets you enable or disable a repo and sets its configuration options."},{"line_number":17,"context_line":"  The *tripleo-yum-config* module will search for the provided repo name in all *.repo* files at REPO_DIR_PATH."},{"line_number":18,"context_line":"  Optionally, you can provide a dir path where your repo files live or specify the full path of the repo file."}],"source_content_type":"text/x-gfm","patch_set":5,"id":"18804aca_46998195","line":15,"in_reply_to":"89cd3577_7e81b004","updated":"2021-07-02 11:32:12.000000000","message":"yeah, already fixed locally, will be removed in a follow up change. Tks.","commit_id":"e012eb01942462272ce8714af19ef0e38ba925ab"}],"tripleo-yum-config/tripleo_yum_config/requirements.txt":[{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"fc5f80e2c3cc842107a88d2afe477e200c1173f6","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":3,"id":"09c9a00d_83f94338","updated":"2021-06-18 12:14:55.000000000","message":"I think this file is pushed by Mistake.","commit_id":"0e09d41c3680f8175e3240ad8c8e9df7434b9127"}],"tripleo-yum-config/tripleo_yum_config/yum_config.py":[{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"beb61dd503b62edc6ef20d3243b929f98561f41f","unresolved":true,"context_lines":[{"line_number":32,"context_line":"    \"\"\""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    @classmethod"},{"line_number":35,"context_line":"    def load_logging(cls):"},{"line_number":36,"context_line":"        \"\"\""},{"line_number":37,"context_line":"        This is a class method since we call it from the CLI entrypoint"},{"line_number":38,"context_line":"        before any object is created. Default is to add logging.INFO level"}],"source_content_type":"text/x-python","patch_set":3,"id":"d15775c9_b63da719","line":35,"updated":"2021-06-15 08:06:02.000000000","message":"not here but we may want to move this into a common \u0027utils\u0027 class since it is shared with tripleo-get-hash https://opendev.org/openstack/tripleo-repos/src/commit/e86d75219cbbcd54c2e06391f153dd0ffb3d6c14/tripleo-get-hash/tripleo_get_hash/tripleo_hash_info.py","commit_id":"0e09d41c3680f8175e3240ad8c8e9df7434b9127"},{"author":{"_account_id":30002,"name":"Douglas Viroel","email":"viroel@gmail.com","username":"dviroel"},"change_message_id":"620a24ae610c1bd467ab2d212fa89c1c4472437b","unresolved":true,"context_lines":[{"line_number":32,"context_line":"    \"\"\""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    @classmethod"},{"line_number":35,"context_line":"    def load_logging(cls):"},{"line_number":36,"context_line":"        \"\"\""},{"line_number":37,"context_line":"        This is a class method since we call it from the CLI entrypoint"},{"line_number":38,"context_line":"        before any object is created. Default is to add logging.INFO level"}],"source_content_type":"text/x-python","patch_set":3,"id":"62ea095e_3cf5ef8f","line":35,"in_reply_to":"d15775c9_b63da719","updated":"2021-06-15 11:34:36.000000000","message":"+1 to avoid duplicate code. Thanks","commit_id":"0e09d41c3680f8175e3240ad8c8e9df7434b9127"}]}
