{"action":"closed","number":3655,"pull_request":{"url":"https://api.github.com/repos/deis/deis/pulls/3655","id":35040135,"html_url":"https://github.com/deis/deis/pull/3655","diff_url":"https://github.com/deis/deis/pull/3655.diff","patch_url":"https://github.com/deis/deis/pull/3655.patch","issue_url":"https://api.github.com/repos/deis/deis/issues/3655","number":3655,"state":"closed","locked":false,"title":"fix(deisctl): prefix unit name with \"deis-\" before expanding","user":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"body":"Commands such as `deisctl stop platform` were doing wildcard searches for the short names of units, effectively telling fleet to find all `*registry*` units, for example. This changes that wildcard to `*deis-registry*` and adds a test to ensure `deisctl` won't find a random app unit with \"registry\" in its name in that case.\r\n\r\nCloses #3497.","created_at":"2015-05-08T19:41:03Z","updated_at":"2015-05-09T10:43:47Z","closed_at":"2015-05-09T10:43:47Z","merged_at":"2015-05-09T10:43:47Z","merge_commit_sha":"dc7ebce4dd493c652b779ecbcc0344a615626e50","assignee":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/deis/deis/milestones/38","html_url":"https://github.com/deis/deis/milestones/v1.7","labels_url":"https://api.github.com/repos/deis/deis/milestones/38/labels","id":1049629,"number":38,"title":"v1.7","description":"","creator":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"open_issues":54,"closed_issues":8,"state":"open","created_at":"2015-04-01T23:56:10Z","updated_at":"2015-05-09T10:43:47Z","due_on":"2015-06-02T06:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/deis/deis/pulls/3655/commits","review_comments_url":"https://api.github.com/repos/deis/deis/pulls/3655/comments","review_comment_url":"https://api.github.com/repos/deis/deis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deis/deis/issues/3655/comments","statuses_url":"https://api.github.com/repos/deis/deis/statuses/a6397d072d753aded43f317d286fc33bcd0cea03","head":{"label":"mboersma:enforce-unit-prefix","ref":"enforce-unit-prefix","sha":"a6397d072d753aded43f317d286fc33bcd0cea03","user":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"repo":{"id":22923232,"name":"deis","full_name":"mboersma/deis","owner":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mboersma/deis","description":"Your PaaS. Your Rules. ","fork":true,"url":"https://api.github.com/repos/mboersma/deis","forks_url":"https://api.github.com/repos/mboersma/deis/forks","keys_url":"https://api.github.com/repos/mboersma/deis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mboersma/deis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mboersma/deis/teams","hooks_url":"https://api.github.com/repos/mboersma/deis/hooks","issue_events_url":"https://api.github.com/repos/mboersma/deis/issues/events{/number}","events_url":"https://api.github.com/repos/mboersma/deis/events","assignees_url":"https://api.github.com/repos/mboersma/deis/assignees{/user}","branches_url":"https://api.github.com/repos/mboersma/deis/branches{/branch}","tags_url":"https://api.github.com/repos/mboersma/deis/tags","blobs_url":"https://api.github.com/repos/mboersma/deis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mboersma/deis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mboersma/deis/git/refs{/sha}","trees_url":"https://api.github.com/repos/mboersma/deis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mboersma/deis/statuses/{sha}","languages_url":"https://api.github.com/repos/mboersma/deis/languages","stargazers_url":"https://api.github.com/repos/mboersma/deis/stargazers","contributors_url":"https://api.github.com/repos/mboersma/deis/contributors","subscribers_url":"https://api.github.com/repos/mboersma/deis/subscribers","subscription_url":"https://api.github.com/repos/mboersma/deis/subscription","commits_url":"https://api.github.com/repos/mboersma/deis/commits{/sha}","git_commits_url":"https://api.github.com/repos/mboersma/deis/git/commits{/sha}","comments_url":"https://api.github.com/repos/mboersma/deis/comments{/number}","issue_comment_url":"https://api.github.com/repos/mboersma/deis/issues/comments{/number}","contents_url":"https://api.github.com/repos/mboersma/deis/contents/{+path}","compare_url":"https://api.github.com/repos/mboersma/deis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mboersma/deis/merges","archive_url":"https://api.github.com/repos/mboersma/deis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mboersma/deis/downloads","issues_url":"https://api.github.com/repos/mboersma/deis/issues{/number}","pulls_url":"https://api.github.com/repos/mboersma/deis/pulls{/number}","milestones_url":"https://api.github.com/repos/mboersma/deis/milestones{/number}","notifications_url":"https://api.github.com/repos/mboersma/deis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mboersma/deis/labels{/name}","releases_url":"https://api.github.com/repos/mboersma/deis/releases{/id}","created_at":"2014-08-13T16:45:46Z","updated_at":"2015-05-07T16:32:10Z","pushed_at":"2015-05-08T19:25:40Z","git_url":"git://github.com/mboersma/deis.git","ssh_url":"git@github.com:mboersma/deis.git","clone_url":"https://github.com/mboersma/deis.git","svn_url":"https://github.com/mboersma/deis","homepage":"http://deis.io","size":18897,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"deis:master","ref":"master","sha":"d1f5019d2a801cdfdf46f9b4d1a7a449b646e43e","user":{"login":"deis","id":6117407,"avatar_url":"https://avatars.githubusercontent.com/u/6117407?v=3","gravatar_id":"","url":"https://api.github.com/users/deis","html_url":"https://github.com/deis","followers_url":"https://api.github.com/users/deis/followers","following_url":"https://api.github.com/users/deis/following{/other_user}","gists_url":"https://api.github.com/users/deis/gists{/gist_id}","starred_url":"https://api.github.com/users/deis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deis/subscriptions","organizations_url":"https://api.github.com/users/deis/orgs","repos_url":"https://api.github.com/users/deis/repos","events_url":"https://api.github.com/users/deis/events{/privacy}","received_events_url":"https://api.github.com/users/deis/received_events","type":"Organization","site_admin":false},"repo":{"id":11589713,"name":"deis","full_name":"deis/deis","owner":{"login":"deis","id":6117407,"avatar_url":"https://avatars.githubusercontent.com/u/6117407?v=3","gravatar_id":"","url":"https://api.github.com/users/deis","html_url":"https://github.com/deis","followers_url":"https://api.github.com/users/deis/followers","following_url":"https://api.github.com/users/deis/following{/other_user}","gists_url":"https://api.github.com/users/deis/gists{/gist_id}","starred_url":"https://api.github.com/users/deis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deis/subscriptions","organizations_url":"https://api.github.com/users/deis/orgs","repos_url":"https://api.github.com/users/deis/repos","events_url":"https://api.github.com/users/deis/events{/privacy}","received_events_url":"https://api.github.com/users/deis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/deis/deis","description":"Your PaaS. Your Rules. ","fork":false,"url":"https://api.github.com/repos/deis/deis","forks_url":"https://api.github.com/repos/deis/deis/forks","keys_url":"https://api.github.com/repos/deis/deis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deis/deis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deis/deis/teams","hooks_url":"https://api.github.com/repos/deis/deis/hooks","issue_events_url":"https://api.github.com/repos/deis/deis/issues/events{/number}","events_url":"https://api.github.com/repos/deis/deis/events","assignees_url":"https://api.github.com/repos/deis/deis/assignees{/user}","branches_url":"https://api.github.com/repos/deis/deis/branches{/branch}","tags_url":"https://api.github.com/repos/deis/deis/tags","blobs_url":"https://api.github.com/repos/deis/deis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deis/deis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deis/deis/git/refs{/sha}","trees_url":"https://api.github.com/repos/deis/deis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deis/deis/statuses/{sha}","languages_url":"https://api.github.com/repos/deis/deis/languages","stargazers_url":"https://api.github.com/repos/deis/deis/stargazers","contributors_url":"https://api.github.com/repos/deis/deis/contributors","subscribers_url":"https://api.github.com/repos/deis/deis/subscribers","subscription_url":"https://api.github.com/repos/deis/deis/subscription","commits_url":"https://api.github.com/repos/deis/deis/commits{/sha}","git_commits_url":"https://api.github.com/repos/deis/deis/git/commits{/sha}","comments_url":"https://api.github.com/repos/deis/deis/comments{/number}","issue_comment_url":"https://api.github.com/repos/deis/deis/issues/comments{/number}","contents_url":"https://api.github.com/repos/deis/deis/contents/{+path}","compare_url":"https://api.github.com/repos/deis/deis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deis/deis/merges","archive_url":"https://api.github.com/repos/deis/deis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deis/deis/downloads","issues_url":"https://api.github.com/repos/deis/deis/issues{/number}","pulls_url":"https://api.github.com/repos/deis/deis/pulls{/number}","milestones_url":"https://api.github.com/repos/deis/deis/milestones{/number}","notifications_url":"https://api.github.com/repos/deis/deis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deis/deis/labels{/name}","releases_url":"https://api.github.com/repos/deis/deis/releases{/id}","created_at":"2013-07-22T19:02:40Z","updated_at":"2015-05-09T05:18:44Z","pushed_at":"2015-05-09T10:43:47Z","git_url":"git://github.com/deis/deis.git","ssh_url":"git@github.com:deis/deis.git","clone_url":"https://github.com/deis/deis.git","svn_url":"https://github.com/deis/deis","homepage":"http://deis.io","size":39987,"stargazers_count":4217,"watchers_count":4217,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":647,"mirror_url":null,"open_issues_count":184,"forks":647,"open_issues":184,"watchers":4217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deis/deis/pulls/3655"},"html":{"href":"https://github.com/deis/deis/pull/3655"},"issue":{"href":"https://api.github.com/repos/deis/deis/issues/3655"},"comments":{"href":"https://api.github.com/repos/deis/deis/issues/3655/comments"},"review_comments":{"href":"https://api.github.com/repos/deis/deis/pulls/3655/comments"},"review_comment":{"href":"https://api.github.com/repos/deis/deis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deis/deis/pulls/3655/commits"},"statuses":{"href":"https://api.github.com/repos/deis/deis/statuses/a6397d072d753aded43f317d286fc33bcd0cea03"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":15,"deletions":1,"changed_files":2}}