{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/10298","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/10298/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/10298/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/10298/events","html_url":"https://github.com/ManageIQ/manageiq/pull/10298","id":169719455,"number":10298,"title":"Rake task to import an Automate Model stored in a  Git Repository","user":{"login":"mkanoor","id":6452699,"avatar_url":"https://avatars.githubusercontent.com/u/6452699?v=3","gravatar_id":"","url":"https://api.github.com/users/mkanoor","html_url":"https://github.com/mkanoor","followers_url":"https://api.github.com/users/mkanoor/followers","following_url":"https://api.github.com/users/mkanoor/following{/other_user}","gists_url":"https://api.github.com/users/mkanoor/gists{/gist_id}","starred_url":"https://api.github.com/users/mkanoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkanoor/subscriptions","organizations_url":"https://api.github.com/users/mkanoor/orgs","repos_url":"https://api.github.com/users/mkanoor/repos","events_url":"https://api.github.com/users/mkanoor/events{/privacy}","received_events_url":"https://api.github.com/users/mkanoor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/automate","name":"automate","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/darga/no","name":"darga/no","color":"000000"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/sql%20migration","name":"sql migration","color":"6A92BC"}],"state":"open","locked":false,"assignee":{"login":"gmcculloug","id":2591569,"avatar_url":"https://avatars.githubusercontent.com/u/2591569?v=3","gravatar_id":"","url":"https://api.github.com/users/gmcculloug","html_url":"https://github.com/gmcculloug","followers_url":"https://api.github.com/users/gmcculloug/followers","following_url":"https://api.github.com/users/gmcculloug/following{/other_user}","gists_url":"https://api.github.com/users/gmcculloug/gists{/gist_id}","starred_url":"https://api.github.com/users/gmcculloug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmcculloug/subscriptions","organizations_url":"https://api.github.com/users/gmcculloug/orgs","repos_url":"https://api.github.com/users/gmcculloug/repos","events_url":"https://api.github.com/users/gmcculloug/events{/privacy}","received_events_url":"https://api.github.com/users/gmcculloug/received_events","type":"User","site_admin":false},"assignees":[{"login":"gmcculloug","id":2591569,"avatar_url":"https://avatars.githubusercontent.com/u/2591569?v=3","gravatar_id":"","url":"https://api.github.com/users/gmcculloug","html_url":"https://github.com/gmcculloug","followers_url":"https://api.github.com/users/gmcculloug/followers","following_url":"https://api.github.com/users/gmcculloug/following{/other_user}","gists_url":"https://api.github.com/users/gmcculloug/gists{/gist_id}","starred_url":"https://api.github.com/users/gmcculloug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmcculloug/subscriptions","organizations_url":"https://api.github.com/users/gmcculloug/orgs","repos_url":"https://api.github.com/users/gmcculloug/repos","events_url":"https://api.github.com/users/gmcculloug/events{/privacy}","received_events_url":"https://api.github.com/users/gmcculloug/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-08-06T00:35:04Z","updated_at":"2016-08-24T19:21:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10298","html_url":"https://github.com/ManageIQ/manageiq/pull/10298","diff_url":"https://github.com/ManageIQ/manageiq/pull/10298.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/10298.patch"},"body":"Purpose or Intent\r\n-----------------\r\nRake task to import from Git Repository\r\n\r\nImport based on a tag or a branch name.\r\nIf any domain exists, it will be deleted and recreated\r\nThe domain will be marked as read only\r\n\r\ne.g.\r\nbin/rake evm:automate:import\r\nGIT_URL=https://github.com/ramrexx/CloudFormsPOC REF=origin/5.3\r\nPREVIEW=false USERID=fred PASSWORD=password REF_TYPE=branch\r\n\r\nPARAMETERS:\r\n\r\nGIT_URL => HTTP or HTTPS URL for Git Repository\r\nUSERID  => User  _(Optional)_\r\nPASSWORD => password _(Optional)_\r\nREF => The name of the reference to use (branch name or tag name) _(Optional)_\r\ndefault => origin/master\r\nREF_TYPE => The type of reference (branch or tag) default: branch _(Optional)_\r\n\r\nreplaces https://github.com/ManageIQ/manageiq/pull/8010\r\n\r\nDepends on PR https://github.com/ManageIQ/manageiq/pull/10213"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/242178834","html_url":"https://github.com/ManageIQ/manageiq/pull/10298#issuecomment-242178834","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/10298","id":242178834,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars.githubusercontent.com/u/7806257?v=3","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":"2016-08-24T19:21:53Z","updated_at":"2016-08-24T19:21:53Z","body":"<rubocop />Checked commits https://github.com/mkanoor/manageiq/compare/8420eb7b550b997ec52a1fbd93466bfaabcb9e88~...b104ad76fe8d0837289cf0d2f6baf1bed77513c0 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1\n6 files checked, 2 offenses detected\n\n**lib/miq_automation_engine/models/miq_ae_domain.rb**\n- [ ] :grey_exclamation: - [Line 224](https://github.com/mkanoor/manageiq/blob/b104ad76fe8d0837289cf0d2f6baf1bed77513c0/lib/miq_automation_engine/models/miq_ae_domain.rb#L224), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for validate_refs is too high. [26.13/20]\n\n**lib/miq_automation_engine/models/miq_ae_git_import.rb**\n- [ ] :grey_exclamation: - [Line 63](https://github.com/mkanoor/manageiq/blob/b104ad76fe8d0837289cf0d2f6baf1bed77513c0/lib/miq_automation_engine/models/miq_ae_git_import.rb#L63), Col 3 - [Metrics/AbcSize](http://rubydoc.info/gems/rubocop/0.37.2/RuboCop/Cop/Metrics/AbcSize) - Assignment Branch Condition size for validate_refs is too high. [25.18/20]\n"}}
{"actor":{"display_login":"miq-bot"}}