{"action":"opened","number":1272,"pull_request":{"url":"https://api.github.com/repos/coreos/fleet/pulls/1272","id":38646993,"html_url":"https://github.com/coreos/fleet/pull/1272","diff_url":"https://github.com/coreos/fleet/pull/1272.diff","patch_url":"https://github.com/coreos/fleet/pull/1272.patch","issue_url":"https://api.github.com/repos/coreos/fleet/issues/1272","number":1272,"state":"open","locked":false,"title":"fleetctl: list-unit-files fully populated for global units","user":{"login":"wuqixuan","id":10804027,"avatar_url":"https://avatars.githubusercontent.com/u/10804027?v=3","gravatar_id":"","url":"https://api.github.com/users/wuqixuan","html_url":"https://github.com/wuqixuan","followers_url":"https://api.github.com/users/wuqixuan/followers","following_url":"https://api.github.com/users/wuqixuan/following{/other_user}","gists_url":"https://api.github.com/users/wuqixuan/gists{/gist_id}","starred_url":"https://api.github.com/users/wuqixuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuqixuan/subscriptions","organizations_url":"https://api.github.com/users/wuqixuan/orgs","repos_url":"https://api.github.com/users/wuqixuan/repos","events_url":"https://api.github.com/users/wuqixuan/events{/privacy}","received_events_url":"https://api.github.com/users/wuqixuan/received_events","type":"User","site_admin":false},"body":"Now, fleetctl list-unit-files command can show exact number\r\nof the machines running the unit in STATE column as below:\r\n\r\nlocalhost # fleetctl list-unit-files\r\nUNIT                    HASH    DSTATE          STATE           TARGET\r\nworld_glob.service      66439c2 launched        launched(2)     global\r\n\r\nFixes #1072","created_at":"2015-06-26T13:04:10Z","updated_at":"2015-06-26T13:04:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/fleet/pulls/1272/commits","review_comments_url":"https://api.github.com/repos/coreos/fleet/pulls/1272/comments","review_comment_url":"https://api.github.com/repos/coreos/fleet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/fleet/issues/1272/comments","statuses_url":"https://api.github.com/repos/coreos/fleet/statuses/fe4d0f2b3930b8581b59bd451dcb70035c875f55","head":{"label":"wuqixuan:list_global_unit","ref":"list_global_unit","sha":"fe4d0f2b3930b8581b59bd451dcb70035c875f55","user":{"login":"wuqixuan","id":10804027,"avatar_url":"https://avatars.githubusercontent.com/u/10804027?v=3","gravatar_id":"","url":"https://api.github.com/users/wuqixuan","html_url":"https://github.com/wuqixuan","followers_url":"https://api.github.com/users/wuqixuan/followers","following_url":"https://api.github.com/users/wuqixuan/following{/other_user}","gists_url":"https://api.github.com/users/wuqixuan/gists{/gist_id}","starred_url":"https://api.github.com/users/wuqixuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuqixuan/subscriptions","organizations_url":"https://api.github.com/users/wuqixuan/orgs","repos_url":"https://api.github.com/users/wuqixuan/repos","events_url":"https://api.github.com/users/wuqixuan/events{/privacy}","received_events_url":"https://api.github.com/users/wuqixuan/received_events","type":"User","site_admin":false},"repo":{"id":35138039,"name":"fleet","full_name":"wuqixuan/fleet","owner":{"login":"wuqixuan","id":10804027,"avatar_url":"https://avatars.githubusercontent.com/u/10804027?v=3","gravatar_id":"","url":"https://api.github.com/users/wuqixuan","html_url":"https://github.com/wuqixuan","followers_url":"https://api.github.com/users/wuqixuan/followers","following_url":"https://api.github.com/users/wuqixuan/following{/other_user}","gists_url":"https://api.github.com/users/wuqixuan/gists{/gist_id}","starred_url":"https://api.github.com/users/wuqixuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuqixuan/subscriptions","organizations_url":"https://api.github.com/users/wuqixuan/orgs","repos_url":"https://api.github.com/users/wuqixuan/repos","events_url":"https://api.github.com/users/wuqixuan/events{/privacy}","received_events_url":"https://api.github.com/users/wuqixuan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wuqixuan/fleet","description":"A Distributed init System","fork":true,"url":"https://api.github.com/repos/wuqixuan/fleet","forks_url":"https://api.github.com/repos/wuqixuan/fleet/forks","keys_url":"https://api.github.com/repos/wuqixuan/fleet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wuqixuan/fleet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wuqixuan/fleet/teams","hooks_url":"https://api.github.com/repos/wuqixuan/fleet/hooks","issue_events_url":"https://api.github.com/repos/wuqixuan/fleet/issues/events{/number}","events_url":"https://api.github.com/repos/wuqixuan/fleet/events","assignees_url":"https://api.github.com/repos/wuqixuan/fleet/assignees{/user}","branches_url":"https://api.github.com/repos/wuqixuan/fleet/branches{/branch}","tags_url":"https://api.github.com/repos/wuqixuan/fleet/tags","blobs_url":"https://api.github.com/repos/wuqixuan/fleet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wuqixuan/fleet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wuqixuan/fleet/git/refs{/sha}","trees_url":"https://api.github.com/repos/wuqixuan/fleet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wuqixuan/fleet/statuses/{sha}","languages_url":"https://api.github.com/repos/wuqixuan/fleet/languages","stargazers_url":"https://api.github.com/repos/wuqixuan/fleet/stargazers","contributors_url":"https://api.github.com/repos/wuqixuan/fleet/contributors","subscribers_url":"https://api.github.com/repos/wuqixuan/fleet/subscribers","subscription_url":"https://api.github.com/repos/wuqixuan/fleet/subscription","commits_url":"https://api.github.com/repos/wuqixuan/fleet/commits{/sha}","git_commits_url":"https://api.github.com/repos/wuqixuan/fleet/git/commits{/sha}","comments_url":"https://api.github.com/repos/wuqixuan/fleet/comments{/number}","issue_comment_url":"https://api.github.com/repos/wuqixuan/fleet/issues/comments{/number}","contents_url":"https://api.github.com/repos/wuqixuan/fleet/contents/{+path}","compare_url":"https://api.github.com/repos/wuqixuan/fleet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wuqixuan/fleet/merges","archive_url":"https://api.github.com/repos/wuqixuan/fleet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wuqixuan/fleet/downloads","issues_url":"https://api.github.com/repos/wuqixuan/fleet/issues{/number}","pulls_url":"https://api.github.com/repos/wuqixuan/fleet/pulls{/number}","milestones_url":"https://api.github.com/repos/wuqixuan/fleet/milestones{/number}","notifications_url":"https://api.github.com/repos/wuqixuan/fleet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wuqixuan/fleet/labels{/name}","releases_url":"https://api.github.com/repos/wuqixuan/fleet/releases{/id}","created_at":"2015-05-06T03:43:04Z","updated_at":"2015-05-08T06:49:18Z","pushed_at":"2015-06-26T13:03:21Z","git_url":"git://github.com/wuqixuan/fleet.git","ssh_url":"git@github.com:wuqixuan/fleet.git","clone_url":"https://github.com/wuqixuan/fleet.git","svn_url":"https://github.com/wuqixuan/fleet","homepage":"","size":6530,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"d3a2a6d3e363bb688280b6ffca550761c482bf79","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":13512328,"name":"fleet","full_name":"coreos/fleet","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/fleet","description":"A Distributed init System","fork":false,"url":"https://api.github.com/repos/coreos/fleet","forks_url":"https://api.github.com/repos/coreos/fleet/forks","keys_url":"https://api.github.com/repos/coreos/fleet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/fleet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/fleet/teams","hooks_url":"https://api.github.com/repos/coreos/fleet/hooks","issue_events_url":"https://api.github.com/repos/coreos/fleet/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/fleet/events","assignees_url":"https://api.github.com/repos/coreos/fleet/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/fleet/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/fleet/tags","blobs_url":"https://api.github.com/repos/coreos/fleet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/fleet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/fleet/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/fleet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/fleet/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/fleet/languages","stargazers_url":"https://api.github.com/repos/coreos/fleet/stargazers","contributors_url":"https://api.github.com/repos/coreos/fleet/contributors","subscribers_url":"https://api.github.com/repos/coreos/fleet/subscribers","subscription_url":"https://api.github.com/repos/coreos/fleet/subscription","commits_url":"https://api.github.com/repos/coreos/fleet/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/fleet/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/fleet/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/fleet/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/fleet/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/fleet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/fleet/merges","archive_url":"https://api.github.com/repos/coreos/fleet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/fleet/downloads","issues_url":"https://api.github.com/repos/coreos/fleet/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/fleet/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/fleet/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/fleet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/fleet/labels{/name}","releases_url":"https://api.github.com/repos/coreos/fleet/releases{/id}","created_at":"2013-10-11T23:56:38Z","updated_at":"2015-06-25T14:45:53Z","pushed_at":"2015-06-26T13:04:10Z","git_url":"git://github.com/coreos/fleet.git","ssh_url":"git@github.com:coreos/fleet.git","clone_url":"https://github.com/coreos/fleet.git","svn_url":"https://github.com/coreos/fleet","homepage":"","size":11868,"stargazers_count":1807,"watchers_count":1807,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":206,"mirror_url":null,"open_issues_count":126,"forks":206,"open_issues":126,"watchers":1807,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/fleet/pulls/1272"},"html":{"href":"https://github.com/coreos/fleet/pull/1272"},"issue":{"href":"https://api.github.com/repos/coreos/fleet/issues/1272"},"comments":{"href":"https://api.github.com/repos/coreos/fleet/issues/1272/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/fleet/pulls/1272/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/fleet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/fleet/pulls/1272/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/fleet/statuses/fe4d0f2b3930b8581b59bd451dcb70035c875f55"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":39,"deletions":1,"changed_files":1}}