{"action":"created","issue":{"url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/103","labels_url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/103/comments","events_url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/103/events","html_url":"https://github.com/Anaconda-Server/anaconda-build/pull/103","id":111503957,"number":103,"title":"separate anaconda build from anaconda worker commands","user":{"login":"PeterDSteinberg","id":1445602,"avatar_url":"https://avatars.githubusercontent.com/u/1445602?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDSteinberg","html_url":"https://github.com/PeterDSteinberg","followers_url":"https://api.github.com/users/PeterDSteinberg/followers","following_url":"https://api.github.com/users/PeterDSteinberg/following{/other_user}","gists_url":"https://api.github.com/users/PeterDSteinberg/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDSteinberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDSteinberg/subscriptions","organizations_url":"https://api.github.com/users/PeterDSteinberg/orgs","repos_url":"https://api.github.com/users/PeterDSteinberg/repos","events_url":"https://api.github.com/users/PeterDSteinberg/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDSteinberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-14T22:07:09Z","updated_at":"2015-10-14T23:16:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/pulls/103","html_url":"https://github.com/Anaconda-Server/anaconda-build/pull/103","diff_url":"https://github.com/Anaconda-Server/anaconda-build/pull/103.diff","patch_url":"https://github.com/Anaconda-Server/anaconda-build/pull/103.patch"},"body":"Fixes #94, refactoring build worker cli. \r\nCommands begin with one of:\r\n```anaconda build```\r\n```anaconda worker```\r\n```anaconda docker_worker```\r\n\r\nIn the repo, the commands directory moved to build_commands, and the worker_commands and docker_worker_commands directories were created.  The three *_commands directories separate the three CLI usages above.\r\n\r\nHere is the new sequence of commands in use:\r\n\r\n```bash\r\nanaconda worker -h\r\nanaconda worker register psteinberg8/abc # register it to my abc queue\r\n# it should print out a worker id like '561d506614b9ec3fc8e6f09c' \r\nanaconda worker run 561d506614b9ec3fc8e6f09c\r\n# finally when done, deregister the worker\r\nanaconda worker deregister 561d506614b9ec3fc8e6f09c\r\n# at any point, check for information about the workers\r\nanaconda worker list\r\n\r\n# and the same pattern exists for docker_worker\r\n\r\nanaconda docker_worker -h\r\nanaconda docker_worker register psteinberg8/abc # register it to my abc queue\r\n# it should print out a worker id like '561d506614b9ec3fc8e6f09c' \r\nanaconda docker_worker run 561d506614b9ec3fc8e6f09c\r\n# finally when done, deregister the worker\r\nanaconda docker_worker deregister 561d506614b9ec3fc8e6f09c\r\n# at any point, check for information about the workers\r\nanaconda docker_worker list\r\n```"},"comment":{"url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/comments/148230271","html_url":"https://github.com/Anaconda-Server/anaconda-build/pull/103#issuecomment-148230271","issue_url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/103","id":148230271,"user":{"login":"PeterDSteinberg","id":1445602,"avatar_url":"https://avatars.githubusercontent.com/u/1445602?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDSteinberg","html_url":"https://github.com/PeterDSteinberg","followers_url":"https://api.github.com/users/PeterDSteinberg/followers","following_url":"https://api.github.com/users/PeterDSteinberg/following{/other_user}","gists_url":"https://api.github.com/users/PeterDSteinberg/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDSteinberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDSteinberg/subscriptions","organizations_url":"https://api.github.com/users/PeterDSteinberg/orgs","repos_url":"https://api.github.com/users/PeterDSteinberg/repos","events_url":"https://api.github.com/users/PeterDSteinberg/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDSteinberg/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T23:16:16Z","updated_at":"2015-10-14T23:16:16Z","body":"The commit I just pushed includes an error message if using ```anaconda build worker``` and it also changes ```anaconda docker_worker run``` to ```anaconda worker docker_run <worker_id>```"}}