{"action":"opened","number":1354,"pull_request":{"url":"https://api.github.com/repos/LLNL/spack/pulls/1354","id":78646256,"html_url":"https://github.com/LLNL/spack/pull/1354","diff_url":"https://github.com/LLNL/spack/pull/1354.diff","patch_url":"https://github.com/LLNL/spack/pull/1354.patch","issue_url":"https://api.github.com/repos/LLNL/spack/issues/1354","number":1354,"state":"open","locked":false,"title":"Bugfix/preferred variants do not recognise  -variant","user":{"login":"paulhopkins","id":3026691,"avatar_url":"https://avatars.githubusercontent.com/u/3026691?v=3","gravatar_id":"","url":"https://api.github.com/users/paulhopkins","html_url":"https://github.com/paulhopkins","followers_url":"https://api.github.com/users/paulhopkins/followers","following_url":"https://api.github.com/users/paulhopkins/following{/other_user}","gists_url":"https://api.github.com/users/paulhopkins/gists{/gist_id}","starred_url":"https://api.github.com/users/paulhopkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulhopkins/subscriptions","organizations_url":"https://api.github.com/users/paulhopkins/orgs","repos_url":"https://api.github.com/users/paulhopkins/repos","events_url":"https://api.github.com/users/paulhopkins/events{/privacy}","received_events_url":"https://api.github.com/users/paulhopkins/received_events","type":"User","site_admin":false},"body":"This fixes the issue that preferred variants do not recognise the  \"-variant\" notation. It also adds some tests to check that compiler, version and variant preferences are applied directly.\r\n\r\nThere is a problem that these new tests must be run before the \"cmd.test_compiler_cmd\" tests which remove the gcc compiler from the compiler list.","created_at":"2016-07-25T08:53:49Z","updated_at":"2016-07-25T08:53:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/LLNL/spack/pulls/1354/commits","review_comments_url":"https://api.github.com/repos/LLNL/spack/pulls/1354/comments","review_comment_url":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/1354/comments","statuses_url":"https://api.github.com/repos/LLNL/spack/statuses/3e6b6b5d12a275b4c4abb4cc089071bd354cb52c","head":{"label":"paulhopkins:bugfix/preferred_variants_do_not_recognise_-variant","ref":"bugfix/preferred_variants_do_not_recognise_-variant","sha":"3e6b6b5d12a275b4c4abb4cc089071bd354cb52c","user":{"login":"paulhopkins","id":3026691,"avatar_url":"https://avatars.githubusercontent.com/u/3026691?v=3","gravatar_id":"","url":"https://api.github.com/users/paulhopkins","html_url":"https://github.com/paulhopkins","followers_url":"https://api.github.com/users/paulhopkins/followers","following_url":"https://api.github.com/users/paulhopkins/following{/other_user}","gists_url":"https://api.github.com/users/paulhopkins/gists{/gist_id}","starred_url":"https://api.github.com/users/paulhopkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulhopkins/subscriptions","organizations_url":"https://api.github.com/users/paulhopkins/orgs","repos_url":"https://api.github.com/users/paulhopkins/repos","events_url":"https://api.github.com/users/paulhopkins/events{/privacy}","received_events_url":"https://api.github.com/users/paulhopkins/received_events","type":"User","site_admin":false},"repo":{"id":62227635,"name":"spack","full_name":"paulhopkins/spack","owner":{"login":"paulhopkins","id":3026691,"avatar_url":"https://avatars.githubusercontent.com/u/3026691?v=3","gravatar_id":"","url":"https://api.github.com/users/paulhopkins","html_url":"https://github.com/paulhopkins","followers_url":"https://api.github.com/users/paulhopkins/followers","following_url":"https://api.github.com/users/paulhopkins/following{/other_user}","gists_url":"https://api.github.com/users/paulhopkins/gists{/gist_id}","starred_url":"https://api.github.com/users/paulhopkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulhopkins/subscriptions","organizations_url":"https://api.github.com/users/paulhopkins/orgs","repos_url":"https://api.github.com/users/paulhopkins/repos","events_url":"https://api.github.com/users/paulhopkins/events{/privacy}","received_events_url":"https://api.github.com/users/paulhopkins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulhopkins/spack","description":"A flexible package manager designed to support multiple versions, configurations, platforms, and compilers.","fork":true,"url":"https://api.github.com/repos/paulhopkins/spack","forks_url":"https://api.github.com/repos/paulhopkins/spack/forks","keys_url":"https://api.github.com/repos/paulhopkins/spack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulhopkins/spack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulhopkins/spack/teams","hooks_url":"https://api.github.com/repos/paulhopkins/spack/hooks","issue_events_url":"https://api.github.com/repos/paulhopkins/spack/issues/events{/number}","events_url":"https://api.github.com/repos/paulhopkins/spack/events","assignees_url":"https://api.github.com/repos/paulhopkins/spack/assignees{/user}","branches_url":"https://api.github.com/repos/paulhopkins/spack/branches{/branch}","tags_url":"https://api.github.com/repos/paulhopkins/spack/tags","blobs_url":"https://api.github.com/repos/paulhopkins/spack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulhopkins/spack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulhopkins/spack/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulhopkins/spack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulhopkins/spack/statuses/{sha}","languages_url":"https://api.github.com/repos/paulhopkins/spack/languages","stargazers_url":"https://api.github.com/repos/paulhopkins/spack/stargazers","contributors_url":"https://api.github.com/repos/paulhopkins/spack/contributors","subscribers_url":"https://api.github.com/repos/paulhopkins/spack/subscribers","subscription_url":"https://api.github.com/repos/paulhopkins/spack/subscription","commits_url":"https://api.github.com/repos/paulhopkins/spack/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulhopkins/spack/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulhopkins/spack/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulhopkins/spack/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulhopkins/spack/contents/{+path}","compare_url":"https://api.github.com/repos/paulhopkins/spack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulhopkins/spack/merges","archive_url":"https://api.github.com/repos/paulhopkins/spack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulhopkins/spack/downloads","issues_url":"https://api.github.com/repos/paulhopkins/spack/issues{/number}","pulls_url":"https://api.github.com/repos/paulhopkins/spack/pulls{/number}","milestones_url":"https://api.github.com/repos/paulhopkins/spack/milestones{/number}","notifications_url":"https://api.github.com/repos/paulhopkins/spack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulhopkins/spack/labels{/name}","releases_url":"https://api.github.com/repos/paulhopkins/spack/releases{/id}","deployments_url":"https://api.github.com/repos/paulhopkins/spack/deployments","created_at":"2016-06-29T13:23:21Z","updated_at":"2016-06-29T13:23:23Z","pushed_at":"2016-07-25T08:52:16Z","git_url":"git://github.com/paulhopkins/spack.git","ssh_url":"git@github.com:paulhopkins/spack.git","clone_url":"https://github.com/paulhopkins/spack.git","svn_url":"https://github.com/paulhopkins/spack","homepage":"http://software.llnl.gov/spack","size":8847,"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":"develop"}},"base":{"label":"LLNL:develop","ref":"develop","sha":"7220bc1766a7c76e53464b009a5816c40f606575","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-07-21T10:59:04Z","pushed_at":"2016-07-25T08:53:49Z","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":16444,"stargazers_count":138,"watchers_count":138,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":121,"mirror_url":null,"open_issues_count":234,"forks":121,"open_issues":234,"watchers":138,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/LLNL/spack/pulls/1354"},"html":{"href":"https://github.com/LLNL/spack/pull/1354"},"issue":{"href":"https://api.github.com/repos/LLNL/spack/issues/1354"},"comments":{"href":"https://api.github.com/repos/LLNL/spack/issues/1354/comments"},"review_comments":{"href":"https://api.github.com/repos/LLNL/spack/pulls/1354/comments"},"review_comment":{"href":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LLNL/spack/pulls/1354/commits"},"statuses":{"href":"https://api.github.com/repos/LLNL/spack/statuses/3e6b6b5d12a275b4c4abb4cc089071bd354cb52c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":143,"deletions":5,"changed_files":4}}
{"actor":{"display_login":"paulhopkins"}}