{"action":"created","comment":{"url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments/62674737","id":62674737,"diff_hunk":"@@ -0,0 +1,6 @@\n+if [[ $(id -u) == 0 ]]; then\n+    mkdir -p /etc/supervisord/ && ln -s $PREFIX/etc/supervisord/ /etc/supervisord/\n+    ln -s $PREFIX/etc/supervisord.conf /etc/supervisord.conf","path":"recipes/supervisor/post-link.sh","position":3,"original_position":3,"commit_id":"471bba4947e9c8d1e08b27f04653dfce38333b21","original_commit_id":"471bba4947e9c8d1e08b27f04653dfce38333b21","user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"body":"This is kind of uncharted territory actually.  It's still a question for me what the \"best practice\" should be for conda doing OS management tasks like directory creation (outside of $PREFIX), user creation, setting permissions, etc.  The native OS package managers do all of this when they install packages; conda should too.  At some point.\r\n\r\nThis part is just a little nudge in that direction.  If you've already installed conda as root, then go ahead and link these files into the `/` file structure.","created_at":"2016-05-10T13:53:39Z","updated_at":"2016-05-10T13:53:39Z","html_url":"https://github.com/conda-forge/staged-recipes/pull/573#discussion_r62674737","pull_request_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/573","_links":{"self":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments/62674737"},"html":{"href":"https://github.com/conda-forge/staged-recipes/pull/573#discussion_r62674737"},"pull_request":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/573"}}},"pull_request":{"url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/573","id":69348864,"html_url":"https://github.com/conda-forge/staged-recipes/pull/573","diff_url":"https://github.com/conda-forge/staged-recipes/pull/573.diff","patch_url":"https://github.com/conda-forge/staged-recipes/pull/573.patch","issue_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/573","number":573,"state":"open","locked":false,"title":"Add supervisor","user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-09T13:55:45Z","updated_at":"2016-05-10T13:53:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df5bd018b24de9de2c0b29ae2850208116097fe3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/573/commits","review_comments_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/573/comments","review_comment_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/573/comments","statuses_url":"https://api.github.com/repos/conda-forge/staged-recipes/statuses/471bba4947e9c8d1e08b27f04653dfce38333b21","head":{"label":"kalefranz:supervisor","ref":"supervisor","sha":"471bba4947e9c8d1e08b27f04653dfce38333b21","user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"repo":{"id":57345085,"name":"staged-recipes","full_name":"kalefranz/staged-recipes","owner":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kalefranz/staged-recipes","description":"A place to submit conda recipes before they become fully fledged conda-forge feedstocks","fork":true,"url":"https://api.github.com/repos/kalefranz/staged-recipes","forks_url":"https://api.github.com/repos/kalefranz/staged-recipes/forks","keys_url":"https://api.github.com/repos/kalefranz/staged-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kalefranz/staged-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kalefranz/staged-recipes/teams","hooks_url":"https://api.github.com/repos/kalefranz/staged-recipes/hooks","issue_events_url":"https://api.github.com/repos/kalefranz/staged-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/kalefranz/staged-recipes/events","assignees_url":"https://api.github.com/repos/kalefranz/staged-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/kalefranz/staged-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/kalefranz/staged-recipes/tags","blobs_url":"https://api.github.com/repos/kalefranz/staged-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kalefranz/staged-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kalefranz/staged-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kalefranz/staged-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kalefranz/staged-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/kalefranz/staged-recipes/languages","stargazers_url":"https://api.github.com/repos/kalefranz/staged-recipes/stargazers","contributors_url":"https://api.github.com/repos/kalefranz/staged-recipes/contributors","subscribers_url":"https://api.github.com/repos/kalefranz/staged-recipes/subscribers","subscription_url":"https://api.github.com/repos/kalefranz/staged-recipes/subscription","commits_url":"https://api.github.com/repos/kalefranz/staged-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kalefranz/staged-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kalefranz/staged-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kalefranz/staged-recipes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kalefranz/staged-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/kalefranz/staged-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kalefranz/staged-recipes/merges","archive_url":"https://api.github.com/repos/kalefranz/staged-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kalefranz/staged-recipes/downloads","issues_url":"https://api.github.com/repos/kalefranz/staged-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/kalefranz/staged-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/kalefranz/staged-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/kalefranz/staged-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kalefranz/staged-recipes/labels{/name}","releases_url":"https://api.github.com/repos/kalefranz/staged-recipes/releases{/id}","deployments_url":"https://api.github.com/repos/kalefranz/staged-recipes/deployments","created_at":"2016-04-29T01:23:11Z","updated_at":"2016-04-29T01:23:13Z","pushed_at":"2016-05-10T13:34:22Z","git_url":"git://github.com/kalefranz/staged-recipes.git","ssh_url":"git@github.com:kalefranz/staged-recipes.git","clone_url":"https://github.com/kalefranz/staged-recipes.git","svn_url":"https://github.com/kalefranz/staged-recipes","homepage":"https://conda-forge.github.io/","size":2030,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"conda-forge:master","ref":"master","sha":"342fcfbba0981dc30eca39c757b62409458bbbef","user":{"login":"conda-forge","id":11897326,"avatar_url":"https://avatars.githubusercontent.com/u/11897326?v=3","gravatar_id":"","url":"https://api.github.com/users/conda-forge","html_url":"https://github.com/conda-forge","followers_url":"https://api.github.com/users/conda-forge/followers","following_url":"https://api.github.com/users/conda-forge/following{/other_user}","gists_url":"https://api.github.com/users/conda-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/conda-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda-forge/subscriptions","organizations_url":"https://api.github.com/users/conda-forge/orgs","repos_url":"https://api.github.com/users/conda-forge/repos","events_url":"https://api.github.com/users/conda-forge/events{/privacy}","received_events_url":"https://api.github.com/users/conda-forge/received_events","type":"Organization","site_admin":false},"repo":{"id":41829476,"name":"staged-recipes","full_name":"conda-forge/staged-recipes","owner":{"login":"conda-forge","id":11897326,"avatar_url":"https://avatars.githubusercontent.com/u/11897326?v=3","gravatar_id":"","url":"https://api.github.com/users/conda-forge","html_url":"https://github.com/conda-forge","followers_url":"https://api.github.com/users/conda-forge/followers","following_url":"https://api.github.com/users/conda-forge/following{/other_user}","gists_url":"https://api.github.com/users/conda-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/conda-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda-forge/subscriptions","organizations_url":"https://api.github.com/users/conda-forge/orgs","repos_url":"https://api.github.com/users/conda-forge/repos","events_url":"https://api.github.com/users/conda-forge/events{/privacy}","received_events_url":"https://api.github.com/users/conda-forge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda-forge/staged-recipes","description":"A place to submit conda recipes before they become fully fledged conda-forge feedstocks","fork":false,"url":"https://api.github.com/repos/conda-forge/staged-recipes","forks_url":"https://api.github.com/repos/conda-forge/staged-recipes/forks","keys_url":"https://api.github.com/repos/conda-forge/staged-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda-forge/staged-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda-forge/staged-recipes/teams","hooks_url":"https://api.github.com/repos/conda-forge/staged-recipes/hooks","issue_events_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/conda-forge/staged-recipes/events","assignees_url":"https://api.github.com/repos/conda-forge/staged-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/conda-forge/staged-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/conda-forge/staged-recipes/tags","blobs_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda-forge/staged-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/conda-forge/staged-recipes/languages","stargazers_url":"https://api.github.com/repos/conda-forge/staged-recipes/stargazers","contributors_url":"https://api.github.com/repos/conda-forge/staged-recipes/contributors","subscribers_url":"https://api.github.com/repos/conda-forge/staged-recipes/subscribers","subscription_url":"https://api.github.com/repos/conda-forge/staged-recipes/subscription","commits_url":"https://api.github.com/repos/conda-forge/staged-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda-forge/staged-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/comments{/number}","contents_url":"https://api.github.com/repos/conda-forge/staged-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/conda-forge/staged-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda-forge/staged-recipes/merges","archive_url":"https://api.github.com/repos/conda-forge/staged-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda-forge/staged-recipes/downloads","issues_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/conda-forge/staged-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/conda-forge/staged-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda-forge/staged-recipes/labels{/name}","releases_url":"https://api.github.com/repos/conda-forge/staged-recipes/releases{/id}","deployments_url":"https://api.github.com/repos/conda-forge/staged-recipes/deployments","created_at":"2015-09-02T21:49:20Z","updated_at":"2016-05-02T20:02:11Z","pushed_at":"2016-05-10T13:50:46Z","git_url":"git://github.com/conda-forge/staged-recipes.git","ssh_url":"git@github.com:conda-forge/staged-recipes.git","clone_url":"https://github.com/conda-forge/staged-recipes.git","svn_url":"https://github.com/conda-forge/staged-recipes","homepage":"https://conda-forge.github.io/","size":2706,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":86,"forks":58,"open_issues":86,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/573"},"html":{"href":"https://github.com/conda-forge/staged-recipes/pull/573"},"issue":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/issues/573"},"comments":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/issues/573/comments"},"review_comments":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/573/comments"},"review_comment":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/573/commits"},"statuses":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/statuses/471bba4947e9c8d1e08b27f04653dfce38333b21"}}}}