{"action":"created","issue":{"url":"https://api.github.com/repos/sci-bots/microdrop-3/issues/29","repository_url":"https://api.github.com/repos/sci-bots/microdrop-3","labels_url":"https://api.github.com/repos/sci-bots/microdrop-3/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/sci-bots/microdrop-3/issues/29/comments","events_url":"https://api.github.com/repos/sci-bots/microdrop-3/issues/29/events","html_url":"https://github.com/sci-bots/microdrop-3/issues/29","id":299009517,"number":29,"title":"feat(plugins): (optionally) launch process plugins in Conda environment","user":{"login":"cfobel","id":823355,"avatar_url":"https://avatars0.githubusercontent.com/u/823355?v=4","gravatar_id":"","url":"https://api.github.com/users/cfobel","html_url":"https://github.com/cfobel","followers_url":"https://api.github.com/users/cfobel/followers","following_url":"https://api.github.com/users/cfobel/following{/other_user}","gists_url":"https://api.github.com/users/cfobel/gists{/gist_id}","starred_url":"https://api.github.com/users/cfobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfobel/subscriptions","organizations_url":"https://api.github.com/users/cfobel/orgs","repos_url":"https://api.github.com/users/cfobel/repos","events_url":"https://api.github.com/users/cfobel/events{/privacy}","received_events_url":"https://api.github.com/users/cfobel/received_events","type":"User","site_admin":false},"labels":[{"id":668631630,"url":"https://api.github.com/repos/sci-bots/microdrop-3/labels/feature","name":"feature","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":{"login":"Lucaszw","id":2607311,"avatar_url":"https://avatars0.githubusercontent.com/u/2607311?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucaszw","html_url":"https://github.com/Lucaszw","followers_url":"https://api.github.com/users/Lucaszw/followers","following_url":"https://api.github.com/users/Lucaszw/following{/other_user}","gists_url":"https://api.github.com/users/Lucaszw/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucaszw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucaszw/subscriptions","organizations_url":"https://api.github.com/users/Lucaszw/orgs","repos_url":"https://api.github.com/users/Lucaszw/repos","events_url":"https://api.github.com/users/Lucaszw/events{/privacy}","received_events_url":"https://api.github.com/users/Lucaszw/received_events","type":"User","site_admin":false},"assignees":[{"login":"Lucaszw","id":2607311,"avatar_url":"https://avatars0.githubusercontent.com/u/2607311?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucaszw","html_url":"https://github.com/Lucaszw","followers_url":"https://api.github.com/users/Lucaszw/followers","following_url":"https://api.github.com/users/Lucaszw/following{/other_user}","gists_url":"https://api.github.com/users/Lucaszw/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucaszw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucaszw/subscriptions","organizations_url":"https://api.github.com/users/Lucaszw/orgs","repos_url":"https://api.github.com/users/Lucaszw/repos","events_url":"https://api.github.com/users/Lucaszw/events{/privacy}","received_events_url":"https://api.github.com/users/Lucaszw/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-02-21T15:16:39Z","updated_at":"2018-02-21T19:39:10Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Process plugins, e.g., Python, R, etc., may have other run-time requirements.\r\n\r\n# Proposed solution\r\n\r\nFor processes where run-time requirements may be met through Conda packages, we should support executing the plugin in a Conda environment configured according to an **environment `.yaml` file**, which can either be [exported from an existing environment][env-export] or [created manually][manual].\r\n\r\n## Implementation notes\r\n\r\nWill at least require:\r\n\r\n - [ ] **feat(app)**: detection Conda installation (if available)\r\n     * This can be done, e.g., by checking the `CONDA_PREFIX` variable\r\n     * Maybe publish to MQTT topic?\r\n - [ ] **feat(plugin-manager)**: convention for process plugin to specify environment file, e.g., specify file name in plugin JSON config file.\r\n - [ ] **feat(plugin-manager)**: when launching process plugin:\r\n     * [ ] If environment file is specified, create plugin environment if it doesn't exist\r\n         * **Note: separate environments should probably be created for each `(<plugin_name>, <version>)`, e.g., with environment name `dropbot-1.3.2`, `dropbot-1.4.0`, since dependencies are likely to change between plugin versions**\r\n     * [ ] Launch plugin process in activated plugin Conda environment\r\n\r\n[env-export]: https://conda.io/docs/commands/env/conda-env-export.html\r\n[manual]: https://conda.io/docs/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually\r\n[env-update]: https://conda.io/docs/commands/env/conda-env-update.html"},"comment":{"url":"https://api.github.com/repos/sci-bots/microdrop-3/issues/comments/367445601","html_url":"https://github.com/sci-bots/microdrop-3/issues/29#issuecomment-367445601","issue_url":"https://api.github.com/repos/sci-bots/microdrop-3/issues/29","id":367445601,"user":{"login":"cfobel","id":823355,"avatar_url":"https://avatars0.githubusercontent.com/u/823355?v=4","gravatar_id":"","url":"https://api.github.com/users/cfobel","html_url":"https://github.com/cfobel","followers_url":"https://api.github.com/users/cfobel/followers","following_url":"https://api.github.com/users/cfobel/following{/other_user}","gists_url":"https://api.github.com/users/cfobel/gists{/gist_id}","starred_url":"https://api.github.com/users/cfobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfobel/subscriptions","organizations_url":"https://api.github.com/users/cfobel/orgs","repos_url":"https://api.github.com/users/cfobel/repos","events_url":"https://api.github.com/users/cfobel/events{/privacy}","received_events_url":"https://api.github.com/users/cfobel/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T19:39:10Z","updated_at":"2018-02-21T19:39:10Z","author_association":"CONTRIBUTOR","body":"What is the `-p ./conda` flag pointing to?"}}
{"actor":{"display_login":"cfobel"}}