{"action":"created","issue":{"url":"https://api.github.com/repos/yast/yast-packager/issues/133","labels_url":"https://api.github.com/repos/yast/yast-packager/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/yast/yast-packager/issues/133/comments","events_url":"https://api.github.com/repos/yast/yast-packager/issues/133/events","html_url":"https://github.com/yast/yast-packager/pull/133","id":108850610,"number":133,"title":"Fixed SLES11 SMT upgrade to SLES12","user":{"login":"lslezak","id":907998,"avatar_url":"https://avatars.githubusercontent.com/u/907998?v=3","gravatar_id":"","url":"https://api.github.com/users/lslezak","html_url":"https://github.com/lslezak","followers_url":"https://api.github.com/users/lslezak/followers","following_url":"https://api.github.com/users/lslezak/following{/other_user}","gists_url":"https://api.github.com/users/lslezak/gists{/gist_id}","starred_url":"https://api.github.com/users/lslezak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lslezak/subscriptions","organizations_url":"https://api.github.com/users/lslezak/orgs","repos_url":"https://api.github.com/users/lslezak/repos","events_url":"https://api.github.com/users/lslezak/events{/privacy}","received_events_url":"https://api.github.com/users/lslezak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-29T11:30:04Z","updated_at":"2015-09-29T16:07:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yast/yast-packager/pulls/133","html_url":"https://github.com/yast/yast-packager/pull/133","diff_url":"https://github.com/yast/yast-packager/pull/133.diff","patch_url":"https://github.com/yast/yast-packager/pull/133.patch"},"body":"Fix for https://bugzilla.suse.com/show_bug.cgi?id=946717\r\n\r\nThe code for finding the product upgrades expected only 1:1 upgrades (one old product upgraded by one new product).\r\n\r\nHowever, in the SMT case there are 2 old products (SLES11 and SMT addon) upgraded to a single product (SLE12-SP1). The SMT addon functionality has been merged into the base SLES12-SP1 so it actually replaces 2 products.\r\n\r\nNote: The new `products_update_smt.yml` file was obtained from a dump in `y2log`, it contains the exact product states from a SMT upgrade."},"comment":{"url":"https://api.github.com/repos/yast/yast-packager/issues/comments/144105466","html_url":"https://github.com/yast/yast-packager/pull/133#issuecomment-144105466","issue_url":"https://api.github.com/repos/yast/yast-packager/issues/133","id":144105466,"user":{"login":"imobach","id":15836,"avatar_url":"https://avatars.githubusercontent.com/u/15836?v=3","gravatar_id":"","url":"https://api.github.com/users/imobach","html_url":"https://github.com/imobach","followers_url":"https://api.github.com/users/imobach/followers","following_url":"https://api.github.com/users/imobach/following{/other_user}","gists_url":"https://api.github.com/users/imobach/gists{/gist_id}","starred_url":"https://api.github.com/users/imobach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imobach/subscriptions","organizations_url":"https://api.github.com/users/imobach/orgs","repos_url":"https://api.github.com/users/imobach/repos","events_url":"https://api.github.com/users/imobach/events{/privacy}","received_events_url":"https://api.github.com/users/imobach/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T16:07:11Z","updated_at":"2015-09-29T16:07:11Z","body":"LGTM"}}