{"action":"opened","number":744,"pull_request":{"url":"https://api.github.com/repos/LLNL/spack/pulls/744","id":65292726,"html_url":"https://github.com/LLNL/spack/pull/744","diff_url":"https://github.com/LLNL/spack/pull/744.diff","patch_url":"https://github.com/LLNL/spack/pull/744.patch","issue_url":"https://api.github.com/repos/LLNL/spack/issues/744","number":744,"state":"open","locked":false,"title":"[WIP] feature : customization of module files from configuration files","user":{"login":"alalazo","id":4199709,"avatar_url":"https://avatars.githubusercontent.com/u/4199709?v=3","gravatar_id":"","url":"https://api.github.com/users/alalazo","html_url":"https://github.com/alalazo","followers_url":"https://api.github.com/users/alalazo/followers","following_url":"https://api.github.com/users/alalazo/following{/other_user}","gists_url":"https://api.github.com/users/alalazo/gists{/gist_id}","starred_url":"https://api.github.com/users/alalazo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alalazo/subscriptions","organizations_url":"https://api.github.com/users/alalazo/orgs","repos_url":"https://api.github.com/users/alalazo/repos","events_url":"https://api.github.com/users/alalazo/events{/privacy}","received_events_url":"https://api.github.com/users/alalazo/received_events","type":"User","site_admin":false},"body":"##### Modifications\r\n- [x] filter modifications to variables based on environment variable name\r\n- [ ] `autoload` and/or `prereq` of direct dependencies\r\n- [ ] ...\r\n\r\n##### Example : filter out variables\r\nModifications to certain environment variables in module files are generated by default. Suppose you would like to avoid having `CPATH` and `LIBRARY_PATH` modified by your `dotkit` modules. Then a user `modules.yaml` like:\r\n```\r\nmodules:\r\n  dotkit:\r\n    filter:\r\n      environment_modifications: ['CPATH', 'LIBRARY_PATH']  # Exclude changes to any of these variables\r\n```\r\nwill generate `dotkit` module files that will not contain modifications to either `CPATH` or `LIBRARY_PATH` and `tcl` module files that instead will contain those modifications.","created_at":"2016-04-05T12:03:29Z","updated_at":"2016-04-05T12:03:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LLNL/spack/pulls/744/commits","review_comments_url":"https://api.github.com/repos/LLNL/spack/pulls/744/comments","review_comment_url":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/744/comments","statuses_url":"https://api.github.com/repos/LLNL/spack/statuses/7fc0b1ebd2218bae90ec47c0290a23ffae8b54d3","head":{"label":"epfl-scitas:custom_modulefiles_from_config","ref":"custom_modulefiles_from_config","sha":"7fc0b1ebd2218bae90ec47c0290a23ffae8b54d3","user":{"login":"epfl-scitas","id":14820957,"avatar_url":"https://avatars.githubusercontent.com/u/14820957?v=3","gravatar_id":"","url":"https://api.github.com/users/epfl-scitas","html_url":"https://github.com/epfl-scitas","followers_url":"https://api.github.com/users/epfl-scitas/followers","following_url":"https://api.github.com/users/epfl-scitas/following{/other_user}","gists_url":"https://api.github.com/users/epfl-scitas/gists{/gist_id}","starred_url":"https://api.github.com/users/epfl-scitas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epfl-scitas/subscriptions","organizations_url":"https://api.github.com/users/epfl-scitas/orgs","repos_url":"https://api.github.com/users/epfl-scitas/repos","events_url":"https://api.github.com/users/epfl-scitas/events{/privacy}","received_events_url":"https://api.github.com/users/epfl-scitas/received_events","type":"Organization","site_admin":false},"repo":{"id":43118298,"name":"spack","full_name":"epfl-scitas/spack","owner":{"login":"epfl-scitas","id":14820957,"avatar_url":"https://avatars.githubusercontent.com/u/14820957?v=3","gravatar_id":"","url":"https://api.github.com/users/epfl-scitas","html_url":"https://github.com/epfl-scitas","followers_url":"https://api.github.com/users/epfl-scitas/followers","following_url":"https://api.github.com/users/epfl-scitas/following{/other_user}","gists_url":"https://api.github.com/users/epfl-scitas/gists{/gist_id}","starred_url":"https://api.github.com/users/epfl-scitas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epfl-scitas/subscriptions","organizations_url":"https://api.github.com/users/epfl-scitas/orgs","repos_url":"https://api.github.com/users/epfl-scitas/repos","events_url":"https://api.github.com/users/epfl-scitas/events{/privacy}","received_events_url":"https://api.github.com/users/epfl-scitas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epfl-scitas/spack","description":"A flexible package manager designed to support multiple versions, configurations, platforms, and compilers.","fork":true,"url":"https://api.github.com/repos/epfl-scitas/spack","forks_url":"https://api.github.com/repos/epfl-scitas/spack/forks","keys_url":"https://api.github.com/repos/epfl-scitas/spack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epfl-scitas/spack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epfl-scitas/spack/teams","hooks_url":"https://api.github.com/repos/epfl-scitas/spack/hooks","issue_events_url":"https://api.github.com/repos/epfl-scitas/spack/issues/events{/number}","events_url":"https://api.github.com/repos/epfl-scitas/spack/events","assignees_url":"https://api.github.com/repos/epfl-scitas/spack/assignees{/user}","branches_url":"https://api.github.com/repos/epfl-scitas/spack/branches{/branch}","tags_url":"https://api.github.com/repos/epfl-scitas/spack/tags","blobs_url":"https://api.github.com/repos/epfl-scitas/spack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epfl-scitas/spack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epfl-scitas/spack/git/refs{/sha}","trees_url":"https://api.github.com/repos/epfl-scitas/spack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epfl-scitas/spack/statuses/{sha}","languages_url":"https://api.github.com/repos/epfl-scitas/spack/languages","stargazers_url":"https://api.github.com/repos/epfl-scitas/spack/stargazers","contributors_url":"https://api.github.com/repos/epfl-scitas/spack/contributors","subscribers_url":"https://api.github.com/repos/epfl-scitas/spack/subscribers","subscription_url":"https://api.github.com/repos/epfl-scitas/spack/subscription","commits_url":"https://api.github.com/repos/epfl-scitas/spack/commits{/sha}","git_commits_url":"https://api.github.com/repos/epfl-scitas/spack/git/commits{/sha}","comments_url":"https://api.github.com/repos/epfl-scitas/spack/comments{/number}","issue_comment_url":"https://api.github.com/repos/epfl-scitas/spack/issues/comments{/number}","contents_url":"https://api.github.com/repos/epfl-scitas/spack/contents/{+path}","compare_url":"https://api.github.com/repos/epfl-scitas/spack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epfl-scitas/spack/merges","archive_url":"https://api.github.com/repos/epfl-scitas/spack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epfl-scitas/spack/downloads","issues_url":"https://api.github.com/repos/epfl-scitas/spack/issues{/number}","pulls_url":"https://api.github.com/repos/epfl-scitas/spack/pulls{/number}","milestones_url":"https://api.github.com/repos/epfl-scitas/spack/milestones{/number}","notifications_url":"https://api.github.com/repos/epfl-scitas/spack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epfl-scitas/spack/labels{/name}","releases_url":"https://api.github.com/repos/epfl-scitas/spack/releases{/id}","deployments_url":"https://api.github.com/repos/epfl-scitas/spack/deployments","created_at":"2015-09-25T08:01:24Z","updated_at":"2016-01-12T20:14:40Z","pushed_at":"2016-04-05T11:33:15Z","git_url":"git://github.com/epfl-scitas/spack.git","ssh_url":"git@github.com:epfl-scitas/spack.git","clone_url":"https://github.com/epfl-scitas/spack.git","svn_url":"https://github.com/epfl-scitas/spack","homepage":"http://scalability-llnl.github.io/spack","size":5525,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"scitas-develop"}},"base":{"label":"LLNL:develop","ref":"develop","sha":"faf4a1e37044cfafe6b96f989b106c800c3f240a","user":{"login":"LLNL","id":5921419,"avatar_url":"https://avatars.githubusercontent.com/u/5921419?v=3","gravatar_id":"","url":"https://api.github.com/users/LLNL","html_url":"https://github.com/LLNL","followers_url":"https://api.github.com/users/LLNL/followers","following_url":"https://api.github.com/users/LLNL/following{/other_user}","gists_url":"https://api.github.com/users/LLNL/gists{/gist_id}","starred_url":"https://api.github.com/users/LLNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLNL/subscriptions","organizations_url":"https://api.github.com/users/LLNL/orgs","repos_url":"https://api.github.com/users/LLNL/repos","events_url":"https://api.github.com/users/LLNL/events{/privacy}","received_events_url":"https://api.github.com/users/LLNL/received_events","type":"Organization","site_admin":false},"repo":{"id":15730865,"name":"spack","full_name":"LLNL/spack","owner":{"login":"LLNL","id":5921419,"avatar_url":"https://avatars.githubusercontent.com/u/5921419?v=3","gravatar_id":"","url":"https://api.github.com/users/LLNL","html_url":"https://github.com/LLNL","followers_url":"https://api.github.com/users/LLNL/followers","following_url":"https://api.github.com/users/LLNL/following{/other_user}","gists_url":"https://api.github.com/users/LLNL/gists{/gist_id}","starred_url":"https://api.github.com/users/LLNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLNL/subscriptions","organizations_url":"https://api.github.com/users/LLNL/orgs","repos_url":"https://api.github.com/users/LLNL/repos","events_url":"https://api.github.com/users/LLNL/events{/privacy}","received_events_url":"https://api.github.com/users/LLNL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LLNL/spack","description":"A flexible package manager designed to support multiple versions, configurations, platforms, and compilers.","fork":false,"url":"https://api.github.com/repos/LLNL/spack","forks_url":"https://api.github.com/repos/LLNL/spack/forks","keys_url":"https://api.github.com/repos/LLNL/spack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LLNL/spack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LLNL/spack/teams","hooks_url":"https://api.github.com/repos/LLNL/spack/hooks","issue_events_url":"https://api.github.com/repos/LLNL/spack/issues/events{/number}","events_url":"https://api.github.com/repos/LLNL/spack/events","assignees_url":"https://api.github.com/repos/LLNL/spack/assignees{/user}","branches_url":"https://api.github.com/repos/LLNL/spack/branches{/branch}","tags_url":"https://api.github.com/repos/LLNL/spack/tags","blobs_url":"https://api.github.com/repos/LLNL/spack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LLNL/spack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LLNL/spack/git/refs{/sha}","trees_url":"https://api.github.com/repos/LLNL/spack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LLNL/spack/statuses/{sha}","languages_url":"https://api.github.com/repos/LLNL/spack/languages","stargazers_url":"https://api.github.com/repos/LLNL/spack/stargazers","contributors_url":"https://api.github.com/repos/LLNL/spack/contributors","subscribers_url":"https://api.github.com/repos/LLNL/spack/subscribers","subscription_url":"https://api.github.com/repos/LLNL/spack/subscription","commits_url":"https://api.github.com/repos/LLNL/spack/commits{/sha}","git_commits_url":"https://api.github.com/repos/LLNL/spack/git/commits{/sha}","comments_url":"https://api.github.com/repos/LLNL/spack/comments{/number}","issue_comment_url":"https://api.github.com/repos/LLNL/spack/issues/comments{/number}","contents_url":"https://api.github.com/repos/LLNL/spack/contents/{+path}","compare_url":"https://api.github.com/repos/LLNL/spack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LLNL/spack/merges","archive_url":"https://api.github.com/repos/LLNL/spack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LLNL/spack/downloads","issues_url":"https://api.github.com/repos/LLNL/spack/issues{/number}","pulls_url":"https://api.github.com/repos/LLNL/spack/pulls{/number}","milestones_url":"https://api.github.com/repos/LLNL/spack/milestones{/number}","notifications_url":"https://api.github.com/repos/LLNL/spack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LLNL/spack/labels{/name}","releases_url":"https://api.github.com/repos/LLNL/spack/releases{/id}","deployments_url":"https://api.github.com/repos/LLNL/spack/deployments","created_at":"2014-01-08T09:22:12Z","updated_at":"2016-03-23T04:27:23Z","pushed_at":"2016-04-05T11:42:25Z","git_url":"git://github.com/LLNL/spack.git","ssh_url":"git@github.com:LLNL/spack.git","clone_url":"https://github.com/LLNL/spack.git","svn_url":"https://github.com/LLNL/spack","homepage":"http://software.llnl.gov/spack","size":12427,"stargazers_count":100,"watchers_count":100,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":91,"mirror_url":null,"open_issues_count":143,"forks":91,"open_issues":143,"watchers":100,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/LLNL/spack/pulls/744"},"html":{"href":"https://github.com/LLNL/spack/pull/744"},"issue":{"href":"https://api.github.com/repos/LLNL/spack/issues/744"},"comments":{"href":"https://api.github.com/repos/LLNL/spack/issues/744/comments"},"review_comments":{"href":"https://api.github.com/repos/LLNL/spack/pulls/744/comments"},"review_comment":{"href":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LLNL/spack/pulls/744/commits"},"statuses":{"href":"https://api.github.com/repos/LLNL/spack/statuses/7fc0b1ebd2218bae90ec47c0290a23ffae8b54d3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":66,"deletions":4,"changed_files":3}}