{"action":"created","issue":{"url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/88","labels_url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/88/comments","events_url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/88/events","html_url":"https://github.com/Anaconda-Server/anaconda-build/pull/88","id":106860492,"number":88,"title":"Feature/su build users","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":[{"url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/labels/Component%20-%20Build","name":"Component - Build","color":"d4c5f9"},{"url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"rafaelhbarros","id":3138550,"avatar_url":"https://avatars.githubusercontent.com/u/3138550?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelhbarros","html_url":"https://github.com/rafaelhbarros","followers_url":"https://api.github.com/users/rafaelhbarros/followers","following_url":"https://api.github.com/users/rafaelhbarros/following{/other_user}","gists_url":"https://api.github.com/users/rafaelhbarros/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelhbarros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelhbarros/subscriptions","organizations_url":"https://api.github.com/users/rafaelhbarros/orgs","repos_url":"https://api.github.com/users/rafaelhbarros/repos","events_url":"https://api.github.com/users/rafaelhbarros/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelhbarros/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/milestones/2","html_url":"https://github.com/Anaconda-Server/anaconda-build/milestones/2.9.4","labels_url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/milestones/2/labels","id":1353599,"number":2,"title":"2.9.4","description":"","creator":{"login":"srossross","id":741611,"avatar_url":"https://avatars.githubusercontent.com/u/741611?v=3","gravatar_id":"","url":"https://api.github.com/users/srossross","html_url":"https://github.com/srossross","followers_url":"https://api.github.com/users/srossross/followers","following_url":"https://api.github.com/users/srossross/following{/other_user}","gists_url":"https://api.github.com/users/srossross/gists{/gist_id}","starred_url":"https://api.github.com/users/srossross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srossross/subscriptions","organizations_url":"https://api.github.com/users/srossross/orgs","repos_url":"https://api.github.com/users/srossross/repos","events_url":"https://api.github.com/users/srossross/events{/privacy}","received_events_url":"https://api.github.com/users/srossross/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2015-10-13T16:57:26Z","updated_at":"2015-10-16T17:34:49Z","due_on":"2015-10-20T07:00:00Z","closed_at":null},"comments":7,"created_at":"2015-09-16T20:45:24Z","updated_at":"2015-10-16T19:23:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/pulls/88","html_url":"https://github.com/Anaconda-Server/anaconda-build/pull/88","diff_url":"https://github.com/Anaconda-Server/anaconda-build/pull/88.diff","patch_url":"https://github.com/Anaconda-Server/anaconda-build/pull/88.patch"},"body":"Working to isolate build workers by running build jobs as su - some_user. The main worker processes needs to run as root and have a root anaconda install accessible to root and build users.  The main worker starts individual builds as a build user and then destroys all processes and deletes build worker's home directory.  At build start the home directory is replaced with /etc/worker-skel.  Documentation on installs need to be updated and there is a new argument  to anaconda build worker. "},"comment":{"url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/comments/148812106","html_url":"https://github.com/Anaconda-Server/anaconda-build/pull/88#issuecomment-148812106","issue_url":"https://api.github.com/repos/Anaconda-Server/anaconda-build/issues/88","id":148812106,"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-16T19:23:45Z","updated_at":"2015-10-16T19:23:45Z","body":"I am getting this error locally \r\n```\r\nTraceback (most recent call last):\r\n  File \"make_version.py\", line 52, in <module>\r\n    main()\r\n  File \"make_version.py\", line 45, in main\r\n    version, build, commit = git_describe()\r\n  File \"make_version.py\", line 5, in git_describe\r\n    output = check_output(['git', 'describe', '--always', '--long']).strip()\r\n  File \"/home/user5/.conda/envs/_build/lib/python2.7/subprocess.py\", line 573, in check_output\r\n    raise CalledProcessError(retcode, cmd, output=output)\r\nsubprocess.CalledProcessError: Command '['git', 'describe', '--always', '--long']' returned non-zero exit status 128\r\nCommand failed: /bin/bash -x -e /home/user5/conda-bld/work/conda_build.sh\r\ncommand exited with status 1\r\ndiscarding /home/user5/env/bin from PATH\r\nExit BINSTAR_BUILD_RESULT=failure\r\n\r\n```\r\nI think it has to do with permissions of the folder in which the git repo is cloned.  I think permissions problems are preventing it from recognizing the .git dir."}}