{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/connect/issues/187","labels_url":"https://api.github.com/repos/SUSE/connect/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/connect/issues/187/comments","events_url":"https://api.github.com/repos/SUSE/connect/issues/187/events","html_url":"https://github.com/SUSE/connect/pull/187","id":50381874,"number":187,"title":"Compute distro_target from the -p option for rooted environment.","user":{"login":"cbosdo","id":397931,"avatar_url":"https://avatars.githubusercontent.com/u/397931?v=3","gravatar_id":"","url":"https://api.github.com/users/cbosdo","html_url":"https://github.com/cbosdo","followers_url":"https://api.github.com/users/cbosdo/followers","following_url":"https://api.github.com/users/cbosdo/following{/other_user}","gists_url":"https://api.github.com/users/cbosdo/gists{/gist_id}","starred_url":"https://api.github.com/users/cbosdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbosdo/subscriptions","organizations_url":"https://api.github.com/users/cbosdo/orgs","repos_url":"https://api.github.com/users/cbosdo/repos","events_url":"https://api.github.com/users/cbosdo/events{/privacy}","received_events_url":"https://api.github.com/users/cbosdo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-28T14:59:39Z","updated_at":"2016-01-25T17:23:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SUSE/connect/pulls/187","html_url":"https://github.com/SUSE/connect/pull/187","diff_url":"https://github.com/SUSE/connect/pull/187.diff","patch_url":"https://github.com/SUSE/connect/pull/187.patch"},"body":"**Problem:**\r\nSMT requires a distro_target for the /connect/subscriptions/systems\r\npost request. This value is usually fetched from\r\n/etc/products.d/baseproduct, but that file doesn't exist when\r\nregistering to create a rootfs from scratch.\r\n\r\n**Solution:**\r\nThis commit tries hard to compute a distro_target value from the\r\nproduct."},"comment":{"url":"https://api.github.com/repos/SUSE/connect/issues/comments/174593091","html_url":"https://github.com/SUSE/connect/pull/187#issuecomment-174593091","issue_url":"https://api.github.com/repos/SUSE/connect/issues/187","id":174593091,"user":{"login":"suse-tests-fail","id":1838437,"avatar_url":"https://avatars.githubusercontent.com/u/1838437?v=3","gravatar_id":"","url":"https://api.github.com/users/suse-tests-fail","html_url":"https://github.com/suse-tests-fail","followers_url":"https://api.github.com/users/suse-tests-fail/followers","following_url":"https://api.github.com/users/suse-tests-fail/following{/other_user}","gists_url":"https://api.github.com/users/suse-tests-fail/gists{/gist_id}","starred_url":"https://api.github.com/users/suse-tests-fail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suse-tests-fail/subscriptions","organizations_url":"https://api.github.com/users/suse-tests-fail/orgs","repos_url":"https://api.github.com/users/suse-tests-fail/repos","events_url":"https://api.github.com/users/suse-tests-fail/events{/privacy}","received_events_url":"https://api.github.com/users/suse-tests-fail/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T17:23:45Z","updated_at":"2016-01-25T17:23:45Z","body":"Prophet reports failure.\nhttp://river.suse.de/job/scc-connect-prophet/43257/console\nIf the given link has expired,you can force a Prophet rerun by just deleting this comment.\nFailed fast in project connect on step docker-build-image.\n( Failure: Merged a64adefb8f4c7b894f3f437ea228e91be62b7a01 into ca91fc0e40ffe330aaf6b66da1362a5e5842b544 )"}}