{"action":"created","comment":{"url":"https://api.github.com/repos/SUSE/machinery/pulls/comments/27657703","id":27657703,"diff_hunk":"@@ -87,22 +85,28 @@ def migrate; end\n       end\n     end\n \n+    it \"lists each system description and its status during upgrade\" do\n+      expected_output = <<-EOF\n+Reading \"description1\" ... successfully upgraded from version 1 to #{SystemDescription::CURRENT_FORMAT_VERSION}.\n+Reading \"description2\" ... no upgrade necessary.\n+Upgraded 1 system descriptions.","path":"spec/unit/upgrade_format_task_spec.rb","position":29,"original_position":29,"commit_id":"5c2ebb560b46e891b42e903d7372d1589ab8bb42","original_commit_id":"5c2ebb560b46e891b42e903d7372d1589ab8bb42","user":{"login":"cornelius","id":23799,"avatar_url":"https://avatars.githubusercontent.com/u/23799?v=3","gravatar_id":"","url":"https://api.github.com/users/cornelius","html_url":"https://github.com/cornelius","followers_url":"https://api.github.com/users/cornelius/followers","following_url":"https://api.github.com/users/cornelius/following{/other_user}","gists_url":"https://api.github.com/users/cornelius/gists{/gist_id}","starred_url":"https://api.github.com/users/cornelius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornelius/subscriptions","organizations_url":"https://api.github.com/users/cornelius/orgs","repos_url":"https://api.github.com/users/cornelius/repos","events_url":"https://api.github.com/users/cornelius/events{/privacy}","received_events_url":"https://api.github.com/users/cornelius/received_events","type":"User","site_admin":false},"body":"This should be singular: \"Upgraded 1 system description.\"","created_at":"2015-04-02T13:46:47Z","updated_at":"2015-04-02T13:46:47Z","html_url":"https://github.com/SUSE/machinery/pull/792#discussion_r27657703","pull_request_url":"https://api.github.com/repos/SUSE/machinery/pulls/792","_links":{"self":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/comments/27657703"},"html":{"href":"https://github.com/SUSE/machinery/pull/792#discussion_r27657703"},"pull_request":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/792"}}},"pull_request":{"url":"https://api.github.com/repos/SUSE/machinery/pulls/792","id":32510600,"html_url":"https://github.com/SUSE/machinery/pull/792","diff_url":"https://github.com/SUSE/machinery/pull/792.diff","patch_url":"https://github.com/SUSE/machinery/pull/792.patch","issue_url":"https://api.github.com/repos/SUSE/machinery/issues/792","number":792,"state":"open","locked":false,"title":"Improve format upgrade output ","user":{"login":"vwallfahrer","id":6593189,"avatar_url":"https://avatars.githubusercontent.com/u/6593189?v=3","gravatar_id":"","url":"https://api.github.com/users/vwallfahrer","html_url":"https://github.com/vwallfahrer","followers_url":"https://api.github.com/users/vwallfahrer/followers","following_url":"https://api.github.com/users/vwallfahrer/following{/other_user}","gists_url":"https://api.github.com/users/vwallfahrer/gists{/gist_id}","starred_url":"https://api.github.com/users/vwallfahrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vwallfahrer/subscriptions","organizations_url":"https://api.github.com/users/vwallfahrer/orgs","repos_url":"https://api.github.com/users/vwallfahrer/repos","events_url":"https://api.github.com/users/vwallfahrer/events{/privacy}","received_events_url":"https://api.github.com/users/vwallfahrer/received_events","type":"User","site_admin":false},"body":"Fix  #789","created_at":"2015-04-02T13:22:29Z","updated_at":"2015-04-02T13:46:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd8c35376aa64c5381aa05684872a17f5ca0353a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SUSE/machinery/pulls/792/commits","review_comments_url":"https://api.github.com/repos/SUSE/machinery/pulls/792/comments","review_comment_url":"https://api.github.com/repos/SUSE/machinery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SUSE/machinery/issues/792/comments","statuses_url":"https://api.github.com/repos/SUSE/machinery/statuses/5c2ebb560b46e891b42e903d7372d1589ab8bb42","head":{"label":"SUSE:improve_format_upgrade_output_2","ref":"improve_format_upgrade_output_2","sha":"5c2ebb560b46e891b42e903d7372d1589ab8bb42","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":21424418,"name":"machinery","full_name":"SUSE/machinery","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/machinery","description":"A systems management toolkit for Linux","fork":false,"url":"https://api.github.com/repos/SUSE/machinery","forks_url":"https://api.github.com/repos/SUSE/machinery/forks","keys_url":"https://api.github.com/repos/SUSE/machinery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/machinery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/machinery/teams","hooks_url":"https://api.github.com/repos/SUSE/machinery/hooks","issue_events_url":"https://api.github.com/repos/SUSE/machinery/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/machinery/events","assignees_url":"https://api.github.com/repos/SUSE/machinery/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/machinery/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/machinery/tags","blobs_url":"https://api.github.com/repos/SUSE/machinery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/machinery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/machinery/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/machinery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/machinery/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/machinery/languages","stargazers_url":"https://api.github.com/repos/SUSE/machinery/stargazers","contributors_url":"https://api.github.com/repos/SUSE/machinery/contributors","subscribers_url":"https://api.github.com/repos/SUSE/machinery/subscribers","subscription_url":"https://api.github.com/repos/SUSE/machinery/subscription","commits_url":"https://api.github.com/repos/SUSE/machinery/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/machinery/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/machinery/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/machinery/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE/machinery/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/machinery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/machinery/merges","archive_url":"https://api.github.com/repos/SUSE/machinery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/machinery/downloads","issues_url":"https://api.github.com/repos/SUSE/machinery/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/machinery/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/machinery/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/machinery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/machinery/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/machinery/releases{/id}","created_at":"2014-07-02T13:07:04Z","updated_at":"2015-04-02T13:11:38Z","pushed_at":"2015-04-02T13:22:48Z","git_url":"git://github.com/SUSE/machinery.git","ssh_url":"git@github.com:SUSE/machinery.git","clone_url":"https://github.com/SUSE/machinery.git","svn_url":"https://github.com/SUSE/machinery","homepage":"machinery-project.org","size":16058,"stargazers_count":42,"watchers_count":42,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":30,"forks":7,"open_issues":30,"watchers":42,"default_branch":"master"}},"base":{"label":"SUSE:master","ref":"master","sha":"60dce8d5bdac58711b130ec7e659b096d52b7843","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":21424418,"name":"machinery","full_name":"SUSE/machinery","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/machinery","description":"A systems management toolkit for Linux","fork":false,"url":"https://api.github.com/repos/SUSE/machinery","forks_url":"https://api.github.com/repos/SUSE/machinery/forks","keys_url":"https://api.github.com/repos/SUSE/machinery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/machinery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/machinery/teams","hooks_url":"https://api.github.com/repos/SUSE/machinery/hooks","issue_events_url":"https://api.github.com/repos/SUSE/machinery/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/machinery/events","assignees_url":"https://api.github.com/repos/SUSE/machinery/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/machinery/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/machinery/tags","blobs_url":"https://api.github.com/repos/SUSE/machinery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/machinery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/machinery/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/machinery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/machinery/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/machinery/languages","stargazers_url":"https://api.github.com/repos/SUSE/machinery/stargazers","contributors_url":"https://api.github.com/repos/SUSE/machinery/contributors","subscribers_url":"https://api.github.com/repos/SUSE/machinery/subscribers","subscription_url":"https://api.github.com/repos/SUSE/machinery/subscription","commits_url":"https://api.github.com/repos/SUSE/machinery/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/machinery/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/machinery/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/machinery/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE/machinery/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/machinery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/machinery/merges","archive_url":"https://api.github.com/repos/SUSE/machinery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/machinery/downloads","issues_url":"https://api.github.com/repos/SUSE/machinery/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/machinery/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/machinery/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/machinery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/machinery/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/machinery/releases{/id}","created_at":"2014-07-02T13:07:04Z","updated_at":"2015-04-02T13:11:38Z","pushed_at":"2015-04-02T13:22:48Z","git_url":"git://github.com/SUSE/machinery.git","ssh_url":"git@github.com:SUSE/machinery.git","clone_url":"https://github.com/SUSE/machinery.git","svn_url":"https://github.com/SUSE/machinery","homepage":"machinery-project.org","size":16058,"stargazers_count":42,"watchers_count":42,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":30,"forks":7,"open_issues":30,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/792"},"html":{"href":"https://github.com/SUSE/machinery/pull/792"},"issue":{"href":"https://api.github.com/repos/SUSE/machinery/issues/792"},"comments":{"href":"https://api.github.com/repos/SUSE/machinery/issues/792/comments"},"review_comments":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/792/comments"},"review_comment":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SUSE/machinery/pulls/792/commits"},"statuses":{"href":"https://api.github.com/repos/SUSE/machinery/statuses/5c2ebb560b46e891b42e903d7372d1589ab8bb42"}}}}