{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/17726","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/17726/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/17726/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/17726/events","html_url":"https://github.com/ManageIQ/manageiq/pull/17726","id":342421026,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMzI0ODk1","number":17726,"title":"[WIP] Start of rake task to import custom buttons","user":{"login":"d-m-u","id":16326669,"node_id":"MDQ6VXNlcjE2MzI2NjY5","avatar_url":"https://avatars0.githubusercontent.com/u/16326669?v=4","gravatar_id":"","url":"https://api.github.com/users/d-m-u","html_url":"https://github.com/d-m-u","followers_url":"https://api.github.com/users/d-m-u/followers","following_url":"https://api.github.com/users/d-m-u/following{/other_user}","gists_url":"https://api.github.com/users/d-m-u/gists{/gist_id}","starred_url":"https://api.github.com/users/d-m-u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-m-u/subscriptions","organizations_url":"https://api.github.com/users/d-m-u/orgs","repos_url":"https://api.github.com/users/d-m-u/repos","events_url":"https://api.github.com/users/d-m-u/events{/privacy}","received_events_url":"https://api.github.com/users/d-m-u/received_events","type":"User","site_admin":false},"labels":[{"id":176168677,"node_id":"MDU6TGFiZWwxNzYxNjg2Nzc=","url":"https://api.github.com/repos/ManageIQ/manageiq/labels/wip","name":"wip","color":"eeeeee","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-18T17:24:53Z","updated_at":"2018-07-18T17:31:12Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/17726","html_url":"https://github.com/ManageIQ/manageiq/pull/17726","diff_url":"https://github.com/ManageIQ/manageiq/pull/17726.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/17726.patch"},"body":"We need to be able to export custom buttons via a rake task. \r\n\r\n### Related export PR: https://github.com/ManageIQ/manageiq/pull/17699\r\n\r\n## Importing\r\nImport cbs: \r\n```rake evm:import:custom_buttons -- --source /Users/duhlmann/manageiq/custom_buttons```"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/406012174","html_url":"https://github.com/ManageIQ/manageiq/pull/17726#issuecomment-406012174","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/17726","id":406012174,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjAxMjE3NA==","user":{"login":"miq-bot","id":7806257,"node_id":"MDQ6VXNlcjc4MDYyNTc=","avatar_url":"https://avatars1.githubusercontent.com/u/7806257?v=4","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T17:31:12Z","updated_at":"2018-07-18T17:31:12Z","author_association":"MEMBER","body":"<rubocop />Checked commit https://github.com/d-m-u/manageiq/commit/780cef0aa5f915f08ae6b444fdf54ad07dca4345 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0\n2 files checked, 9 offenses detected\n\n**lib/task_helpers/imports/custom_buttons.rb**\n- [ ] :exclamation: - [Line 23](https://github.com/d-m-u/manageiq/blob/780cef0aa5f915f08ae6b444fdf54ad07dca4345/lib/task_helpers/imports/custom_buttons.rb#L23), Col 19 - [Rails/Output](http://rubydoc.info/gems/rubocop/0.52.1/RuboCop/Cop/Rails/Output) - Do not write to stdout. Use Rails's logger if you want to log.\n- [ ] :exclamation: - [Line 23](https://github.com/d-m-u/manageiq/blob/780cef0aa5f915f08ae6b444fdf54ad07dca4345/lib/task_helpers/imports/custom_buttons.rb#L23), Col 19 - [Style/MethodCallWithArgsParentheses](http://rubydoc.info/gems/rubocop/0.52.1/RuboCop/Cop/Style/MethodCallWithArgsParentheses) - Use parentheses for method calls with arguments.\n- [ ] :exclamation: - [Line 30](https://github.com/d-m-u/manageiq/blob/780cef0aa5f915f08ae6b444fdf54ad07dca4345/lib/task_helpers/imports/custom_buttons.rb#L30), Col 17 - [Layout/IndentationWidth](http://rubydoc.info/gems/rubocop/0.52.1/RuboCop/Cop/Layout/IndentationWidth) - Use 2 (not 5) spaces for indentation.\n- [ ] :exclamation: - [Line 37](https://github.com/d-m-u/manageiq/blob/780cef0aa5f915f08ae6b444fdf54ad07dca4345/lib/task_helpers/imports/custom_buttons.rb#L37), Col 15 - [Rails/Output](http://rubydoc.info/gems/rubocop/0.52.1/RuboCop/Cop/Rails/Output) - Do not write to stdout. Use Rails's logger if you want to log.\n- [ ] :exclamation: - [Line 38](https://github.com/d-m-u/manageiq/blob/780cef0aa5f915f08ae6b444fdf54ad07dca4345/lib/task_helpers/imports/custom_buttons.rb#L38), Col 15 - [Rails/Output](http://rubydoc.info/gems/rubocop/0.52.1/RuboCop/Cop/Rails/Output) - Do not write to stdout. Use Rails's logger if you want to log.\n- [ ] :exclamation: - [Line 38](https://github.com/d-m-u/manageiq/blob/780cef0aa5f915f08ae6b444fdf54ad07dca4345/lib/task_helpers/imports/custom_buttons.rb#L38), Col 23 - [Style/SpecialGlobalVars](http://rubydoc.info/gems/rubocop/0.52.1/RuboCop/Cop/Style/SpecialGlobalVars) - Prefer `$ERROR_INFO` from the stdlib 'English' module (don't forget to require it) over `$!`.\n- [ ] :exclamation: - [Line 38](https://github.com/d-m-u/manageiq/blob/780cef0aa5f915f08ae6b444fdf54ad07dca4345/lib/task_helpers/imports/custom_buttons.rb#L38), Col 32 - [Style/SpecialGlobalVars](http://rubydoc.info/gems/rubocop/0.52.1/RuboCop/Cop/Style/SpecialGlobalVars) - Prefer `$ERROR_POSITION` from the stdlib 'English' module (don't forget to require it) over `$@`.\n- [ ] :exclamation: - [Line 64](https://github.com/d-m-u/manageiq/blob/780cef0aa5f915f08ae6b444fdf54ad07dca4345/lib/task_helpers/imports/custom_buttons.rb#L64), Col 11 - [Style/RescueStandardError](http://rubydoc.info/gems/rubocop/0.52.1/RuboCop/Cop/Style/RescueStandardError) - Avoid rescuing without specifying an error class.\n- [ ] :exclamation: - [Line 70](https://github.com/d-m-u/manageiq/blob/780cef0aa5f915f08ae6b444fdf54ad07dca4345/lib/task_helpers/imports/custom_buttons.rb#L70), Col 7 - [Layout/EmptyLinesAroundAccessModifier](http://rubydoc.info/gems/rubocop/0.52.1/RuboCop/Cop/Layout/EmptyLinesAroundAccessModifier) - Keep a blank line before and after `private`.\n"}}
{"actor":{"display_login":"miq-bot"}}