{"action":"created","comment":{"url":"https://api.github.com/repos/conda/conda-env/pulls/comments/45608943","id":45608943,"diff_hunk":"@@ -2,13 +2,15 @@\n from .yaml_file import YamlFileSpec\n from .notebook import NotebookSpec\n from .requirements import RequirementsSpec\n+from .jinja2_file import Jinja2Spec\n from ..exceptions import SpecNotFound\n \n all_specs = [\n     BinstarSpec,\n     NotebookSpec,\n     YamlFileSpec,\n-    RequirementsSpec\n+    RequirementsSpec,\n+    Jinja2Spec","path":"conda_env/specs/__init__.py","position":13,"original_position":13,"commit_id":"797725aeaa31dc4c2686737888de804a09dd295d","original_commit_id":"797725aeaa31dc4c2686737888de804a09dd295d","user":{"login":"nicoddemus","id":1085180,"avatar_url":"https://avatars.githubusercontent.com/u/1085180?v=3","gravatar_id":"","url":"https://api.github.com/users/nicoddemus","html_url":"https://github.com/nicoddemus","followers_url":"https://api.github.com/users/nicoddemus/followers","following_url":"https://api.github.com/users/nicoddemus/following{/other_user}","gists_url":"https://api.github.com/users/nicoddemus/gists{/gist_id}","starred_url":"https://api.github.com/users/nicoddemus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicoddemus/subscriptions","organizations_url":"https://api.github.com/users/nicoddemus/orgs","repos_url":"https://api.github.com/users/nicoddemus/repos","events_url":"https://api.github.com/users/nicoddemus/events{/privacy}","received_events_url":"https://api.github.com/users/nicoddemus/received_events","type":"User","site_admin":false},"body":"How is this supposed to be used from an user's point of view? I mean, if `Jinja2Spec` is the last one in this list, won't `YamlFileSpec` be end up being picked up instead every time?","created_at":"2015-11-23T14:35:53Z","updated_at":"2015-11-23T14:35:53Z","html_url":"https://github.com/conda/conda-env/pull/205#discussion_r45608943","pull_request_url":"https://api.github.com/repos/conda/conda-env/pulls/205","_links":{"self":{"href":"https://api.github.com/repos/conda/conda-env/pulls/comments/45608943"},"html":{"href":"https://github.com/conda/conda-env/pull/205#discussion_r45608943"},"pull_request":{"href":"https://api.github.com/repos/conda/conda-env/pulls/205"}}},"pull_request":{"url":"https://api.github.com/repos/conda/conda-env/pulls/205","id":51169485,"html_url":"https://github.com/conda/conda-env/pull/205","diff_url":"https://github.com/conda/conda-env/pull/205.diff","patch_url":"https://github.com/conda/conda-env/pull/205.patch","issue_url":"https://api.github.com/repos/conda/conda-env/issues/205","number":205,"state":"open","locked":false,"title":"Jinja2 environment files","user":{"login":"malev","id":55977,"avatar_url":"https://avatars.githubusercontent.com/u/55977?v=3","gravatar_id":"","url":"https://api.github.com/users/malev","html_url":"https://github.com/malev","followers_url":"https://api.github.com/users/malev/followers","following_url":"https://api.github.com/users/malev/following{/other_user}","gists_url":"https://api.github.com/users/malev/gists{/gist_id}","starred_url":"https://api.github.com/users/malev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malev/subscriptions","organizations_url":"https://api.github.com/users/malev/orgs","repos_url":"https://api.github.com/users/malev/repos","events_url":"https://api.github.com/users/malev/events{/privacy}","received_events_url":"https://api.github.com/users/malev/received_events","type":"User","site_admin":false},"body":"Proof of concept.\r\nWill cover part of #88\r\nNote: still running tests. \r\n@campos-ddc and @nicoddemus what do you guys think?\r\nI still like the idea of the environment variables, but I have left that out of this PR.","created_at":"2015-11-19T01:44:39Z","updated_at":"2015-11-23T14:35:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5102f7932b4e87a7be9a87e9758d43db78988c6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/conda/conda-env/pulls/205/commits","review_comments_url":"https://api.github.com/repos/conda/conda-env/pulls/205/comments","review_comment_url":"https://api.github.com/repos/conda/conda-env/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conda/conda-env/issues/205/comments","statuses_url":"https://api.github.com/repos/conda/conda-env/statuses/797725aeaa31dc4c2686737888de804a09dd295d","head":{"label":"conda:jinja2","ref":"jinja2","sha":"797725aeaa31dc4c2686737888de804a09dd295d","user":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"repo":{"id":18802640,"name":"conda-env","full_name":"conda/conda-env","owner":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda/conda-env","description":"Provides a unified interface to dealing with Conda environments.","fork":false,"url":"https://api.github.com/repos/conda/conda-env","forks_url":"https://api.github.com/repos/conda/conda-env/forks","keys_url":"https://api.github.com/repos/conda/conda-env/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda/conda-env/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda/conda-env/teams","hooks_url":"https://api.github.com/repos/conda/conda-env/hooks","issue_events_url":"https://api.github.com/repos/conda/conda-env/issues/events{/number}","events_url":"https://api.github.com/repos/conda/conda-env/events","assignees_url":"https://api.github.com/repos/conda/conda-env/assignees{/user}","branches_url":"https://api.github.com/repos/conda/conda-env/branches{/branch}","tags_url":"https://api.github.com/repos/conda/conda-env/tags","blobs_url":"https://api.github.com/repos/conda/conda-env/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda/conda-env/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda/conda-env/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda/conda-env/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda/conda-env/statuses/{sha}","languages_url":"https://api.github.com/repos/conda/conda-env/languages","stargazers_url":"https://api.github.com/repos/conda/conda-env/stargazers","contributors_url":"https://api.github.com/repos/conda/conda-env/contributors","subscribers_url":"https://api.github.com/repos/conda/conda-env/subscribers","subscription_url":"https://api.github.com/repos/conda/conda-env/subscription","commits_url":"https://api.github.com/repos/conda/conda-env/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda/conda-env/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda/conda-env/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda/conda-env/issues/comments{/number}","contents_url":"https://api.github.com/repos/conda/conda-env/contents/{+path}","compare_url":"https://api.github.com/repos/conda/conda-env/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda/conda-env/merges","archive_url":"https://api.github.com/repos/conda/conda-env/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda/conda-env/downloads","issues_url":"https://api.github.com/repos/conda/conda-env/issues{/number}","pulls_url":"https://api.github.com/repos/conda/conda-env/pulls{/number}","milestones_url":"https://api.github.com/repos/conda/conda-env/milestones{/number}","notifications_url":"https://api.github.com/repos/conda/conda-env/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda/conda-env/labels{/name}","releases_url":"https://api.github.com/repos/conda/conda-env/releases{/id}","created_at":"2014-04-15T14:16:17Z","updated_at":"2015-11-18T15:23:21Z","pushed_at":"2015-11-20T20:04:28Z","git_url":"git://github.com/conda/conda-env.git","ssh_url":"git@github.com:conda/conda-env.git","clone_url":"https://github.com/conda/conda-env.git","svn_url":"https://github.com/conda/conda-env","homepage":"","size":354,"stargazers_count":36,"watchers_count":36,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":55,"forks":27,"open_issues":55,"watchers":36,"default_branch":"develop"}},"base":{"label":"conda:develop","ref":"develop","sha":"696619646f926068161f09b67c3531f95d19c43e","user":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"repo":{"id":18802640,"name":"conda-env","full_name":"conda/conda-env","owner":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda/conda-env","description":"Provides a unified interface to dealing with Conda environments.","fork":false,"url":"https://api.github.com/repos/conda/conda-env","forks_url":"https://api.github.com/repos/conda/conda-env/forks","keys_url":"https://api.github.com/repos/conda/conda-env/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda/conda-env/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda/conda-env/teams","hooks_url":"https://api.github.com/repos/conda/conda-env/hooks","issue_events_url":"https://api.github.com/repos/conda/conda-env/issues/events{/number}","events_url":"https://api.github.com/repos/conda/conda-env/events","assignees_url":"https://api.github.com/repos/conda/conda-env/assignees{/user}","branches_url":"https://api.github.com/repos/conda/conda-env/branches{/branch}","tags_url":"https://api.github.com/repos/conda/conda-env/tags","blobs_url":"https://api.github.com/repos/conda/conda-env/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda/conda-env/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda/conda-env/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda/conda-env/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda/conda-env/statuses/{sha}","languages_url":"https://api.github.com/repos/conda/conda-env/languages","stargazers_url":"https://api.github.com/repos/conda/conda-env/stargazers","contributors_url":"https://api.github.com/repos/conda/conda-env/contributors","subscribers_url":"https://api.github.com/repos/conda/conda-env/subscribers","subscription_url":"https://api.github.com/repos/conda/conda-env/subscription","commits_url":"https://api.github.com/repos/conda/conda-env/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda/conda-env/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda/conda-env/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda/conda-env/issues/comments{/number}","contents_url":"https://api.github.com/repos/conda/conda-env/contents/{+path}","compare_url":"https://api.github.com/repos/conda/conda-env/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda/conda-env/merges","archive_url":"https://api.github.com/repos/conda/conda-env/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda/conda-env/downloads","issues_url":"https://api.github.com/repos/conda/conda-env/issues{/number}","pulls_url":"https://api.github.com/repos/conda/conda-env/pulls{/number}","milestones_url":"https://api.github.com/repos/conda/conda-env/milestones{/number}","notifications_url":"https://api.github.com/repos/conda/conda-env/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda/conda-env/labels{/name}","releases_url":"https://api.github.com/repos/conda/conda-env/releases{/id}","created_at":"2014-04-15T14:16:17Z","updated_at":"2015-11-18T15:23:21Z","pushed_at":"2015-11-20T20:04:28Z","git_url":"git://github.com/conda/conda-env.git","ssh_url":"git@github.com:conda/conda-env.git","clone_url":"https://github.com/conda/conda-env.git","svn_url":"https://github.com/conda/conda-env","homepage":"","size":354,"stargazers_count":36,"watchers_count":36,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":55,"forks":27,"open_issues":55,"watchers":36,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/conda/conda-env/pulls/205"},"html":{"href":"https://github.com/conda/conda-env/pull/205"},"issue":{"href":"https://api.github.com/repos/conda/conda-env/issues/205"},"comments":{"href":"https://api.github.com/repos/conda/conda-env/issues/205/comments"},"review_comments":{"href":"https://api.github.com/repos/conda/conda-env/pulls/205/comments"},"review_comment":{"href":"https://api.github.com/repos/conda/conda-env/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conda/conda-env/pulls/205/commits"},"statuses":{"href":"https://api.github.com/repos/conda/conda-env/statuses/797725aeaa31dc4c2686737888de804a09dd295d"}}}}