{"action":"created","comment":{"url":"https://api.github.com/repos/LLNL/spack/pulls/comments/81778040","pull_request_review_id":2732771,"id":81778040,"diff_hunk":"@@ -0,0 +1,45 @@\n+#\n+# This program is free software; you can redistribute it and/or modify\n+# it under the terms of the GNU Lesser General Public License (as\n+# published by the Free Software Foundation) version 2.1, February 1999.\n+#\n+# This program is distributed in the hope that it will be useful, but\n+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and\n+# conditions of the GNU Lesser General Public License for more details.\n+#\n+# You should have received a copy of the GNU Lesser General Public\n+# License along with this program; if not, write to the Free Software\n+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n+##############################################################################\n+from spack import *\n+\n+\n+class HpctoolkitExternals(Package):\n+\n+    \"\"\"\n+    HPCToolkit performance analysis tool has many prerequisites and\n+    HpctoolkitExternals package provides all these prerequisites.\n+    \"\"\"","path":"var/spack/repos/builtin/packages/hpctoolkit-externals/package.py","position":null,"original_position":23,"commit_id":"f196f4386e6b46776726ce32fa772e1f44f0f639","original_commit_id":"5e1740625c6dfb969e23d7f828583596b054395c","user":{"login":"adamjstewart","id":12021217,"avatar_url":"https://avatars.githubusercontent.com/u/12021217?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjstewart","html_url":"https://github.com/adamjstewart","followers_url":"https://api.github.com/users/adamjstewart/followers","following_url":"https://api.github.com/users/adamjstewart/following{/other_user}","gists_url":"https://api.github.com/users/adamjstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjstewart/subscriptions","organizations_url":"https://api.github.com/users/adamjstewart/orgs","repos_url":"https://api.github.com/users/adamjstewart/repos","events_url":"https://api.github.com/users/adamjstewart/events{/privacy}","received_events_url":"https://api.github.com/users/adamjstewart/received_events","type":"User","site_admin":false},"body":"Yeah, I still need to document that. Waiting on #1676 and #1664 to be merged before I muck around with that too much.\r\n\r\nTo run the flake8 tests, you need to install flake8. This can be done by running `spack install py-flake8`. You need flake8 in your PATH, and py-setuptools needs to be in your PYTHONPATH. Once everything is installed correctly, you can run `share/spack/qa/run-flake8-tests` to test everything.\r\n\r\nRunning the documentation tests is a similar process. It requires py-sphinx, graphviz, git, subversion, and mercurial to be installed. Sphinx requires `py-setuptools` to be in its PYTHONPATH. Once you have all the necessary dependencies installed and in your PATH, simply run `share/spack/qa/run-doc-tests`.\r\n\r\nLet me know if you have any questions or run into any problems.","created_at":"2016-10-04T15:04:31Z","updated_at":"2016-10-04T15:04:32Z","html_url":"https://github.com/LLNL/spack/pull/1892#discussion_r81778040","pull_request_url":"https://api.github.com/repos/LLNL/spack/pulls/1892","_links":{"self":{"href":"https://api.github.com/repos/LLNL/spack/pulls/comments/81778040"},"html":{"href":"https://github.com/LLNL/spack/pull/1892#discussion_r81778040"},"pull_request":{"href":"https://api.github.com/repos/LLNL/spack/pulls/1892"}}},"pull_request":{"url":"https://api.github.com/repos/LLNL/spack/pulls/1892","id":87806182,"html_url":"https://github.com/LLNL/spack/pull/1892","diff_url":"https://github.com/LLNL/spack/pull/1892.diff","patch_url":"https://github.com/LLNL/spack/pull/1892.patch","issue_url":"https://api.github.com/repos/LLNL/spack/issues/1892","number":1892,"state":"closed","locked":false,"title":"Spack package for HPCToolkit ","user":{"login":"pramodk","id":666852,"avatar_url":"https://avatars.githubusercontent.com/u/666852?v=3","gravatar_id":"","url":"https://api.github.com/users/pramodk","html_url":"https://github.com/pramodk","followers_url":"https://api.github.com/users/pramodk/followers","following_url":"https://api.github.com/users/pramodk/following{/other_user}","gists_url":"https://api.github.com/users/pramodk/gists{/gist_id}","starred_url":"https://api.github.com/users/pramodk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pramodk/subscriptions","organizations_url":"https://api.github.com/users/pramodk/orgs","repos_url":"https://api.github.com/users/pramodk/repos","events_url":"https://api.github.com/users/pramodk/events{/privacy}","received_events_url":"https://api.github.com/users/pramodk/received_events","type":"User","site_admin":false},"body":"Package for HPCToolkit performance analysis tool ","created_at":"2016-10-03T22:48:23Z","updated_at":"2016-10-04T15:04:32Z","closed_at":"2016-10-04T08:02:50Z","merged_at":"2016-10-04T08:02:50Z","merge_commit_sha":"e546d6246f2cdb14c6ae01ecf322e75de78325de","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/LLNL/spack/pulls/1892/commits","review_comments_url":"https://api.github.com/repos/LLNL/spack/pulls/1892/comments","review_comment_url":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/1892/comments","statuses_url":"https://api.github.com/repos/LLNL/spack/statuses/f196f4386e6b46776726ce32fa772e1f44f0f639","head":{"label":"pramodk:hpctoolkit_packages","ref":"hpctoolkit_packages","sha":"f196f4386e6b46776726ce32fa772e1f44f0f639","user":{"login":"pramodk","id":666852,"avatar_url":"https://avatars.githubusercontent.com/u/666852?v=3","gravatar_id":"","url":"https://api.github.com/users/pramodk","html_url":"https://github.com/pramodk","followers_url":"https://api.github.com/users/pramodk/followers","following_url":"https://api.github.com/users/pramodk/following{/other_user}","gists_url":"https://api.github.com/users/pramodk/gists{/gist_id}","starred_url":"https://api.github.com/users/pramodk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pramodk/subscriptions","organizations_url":"https://api.github.com/users/pramodk/orgs","repos_url":"https://api.github.com/users/pramodk/repos","events_url":"https://api.github.com/users/pramodk/events{/privacy}","received_events_url":"https://api.github.com/users/pramodk/received_events","type":"User","site_admin":false},"repo":{"id":65103365,"name":"spack","full_name":"pramodk/spack","owner":{"login":"pramodk","id":666852,"avatar_url":"https://avatars.githubusercontent.com/u/666852?v=3","gravatar_id":"","url":"https://api.github.com/users/pramodk","html_url":"https://github.com/pramodk","followers_url":"https://api.github.com/users/pramodk/followers","following_url":"https://api.github.com/users/pramodk/following{/other_user}","gists_url":"https://api.github.com/users/pramodk/gists{/gist_id}","starred_url":"https://api.github.com/users/pramodk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pramodk/subscriptions","organizations_url":"https://api.github.com/users/pramodk/orgs","repos_url":"https://api.github.com/users/pramodk/repos","events_url":"https://api.github.com/users/pramodk/events{/privacy}","received_events_url":"https://api.github.com/users/pramodk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pramodk/spack","description":"A flexible package manager designed to support multiple versions, configurations, platforms, and compilers.","fork":true,"url":"https://api.github.com/repos/pramodk/spack","forks_url":"https://api.github.com/repos/pramodk/spack/forks","keys_url":"https://api.github.com/repos/pramodk/spack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pramodk/spack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pramodk/spack/teams","hooks_url":"https://api.github.com/repos/pramodk/spack/hooks","issue_events_url":"https://api.github.com/repos/pramodk/spack/issues/events{/number}","events_url":"https://api.github.com/repos/pramodk/spack/events","assignees_url":"https://api.github.com/repos/pramodk/spack/assignees{/user}","branches_url":"https://api.github.com/repos/pramodk/spack/branches{/branch}","tags_url":"https://api.github.com/repos/pramodk/spack/tags","blobs_url":"https://api.github.com/repos/pramodk/spack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pramodk/spack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pramodk/spack/git/refs{/sha}","trees_url":"https://api.github.com/repos/pramodk/spack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pramodk/spack/statuses/{sha}","languages_url":"https://api.github.com/repos/pramodk/spack/languages","stargazers_url":"https://api.github.com/repos/pramodk/spack/stargazers","contributors_url":"https://api.github.com/repos/pramodk/spack/contributors","subscribers_url":"https://api.github.com/repos/pramodk/spack/subscribers","subscription_url":"https://api.github.com/repos/pramodk/spack/subscription","commits_url":"https://api.github.com/repos/pramodk/spack/commits{/sha}","git_commits_url":"https://api.github.com/repos/pramodk/spack/git/commits{/sha}","comments_url":"https://api.github.com/repos/pramodk/spack/comments{/number}","issue_comment_url":"https://api.github.com/repos/pramodk/spack/issues/comments{/number}","contents_url":"https://api.github.com/repos/pramodk/spack/contents/{+path}","compare_url":"https://api.github.com/repos/pramodk/spack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pramodk/spack/merges","archive_url":"https://api.github.com/repos/pramodk/spack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pramodk/spack/downloads","issues_url":"https://api.github.com/repos/pramodk/spack/issues{/number}","pulls_url":"https://api.github.com/repos/pramodk/spack/pulls{/number}","milestones_url":"https://api.github.com/repos/pramodk/spack/milestones{/number}","notifications_url":"https://api.github.com/repos/pramodk/spack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pramodk/spack/labels{/name}","releases_url":"https://api.github.com/repos/pramodk/spack/releases{/id}","deployments_url":"https://api.github.com/repos/pramodk/spack/deployments","created_at":"2016-08-06T21:45:31Z","updated_at":"2016-08-06T21:45:35Z","pushed_at":"2016-10-04T06:39:21Z","git_url":"git://github.com/pramodk/spack.git","ssh_url":"git@github.com:pramodk/spack.git","clone_url":"https://github.com/pramodk/spack.git","svn_url":"https://github.com/pramodk/spack","homepage":"http://software.llnl.gov/spack","size":11259,"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":"50fcade81b6e14b38ecd2f6bc53299f15e7e3c84","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-09-26T16:39:49Z","pushed_at":"2016-10-04T14:35:41Z","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":19568,"stargazers_count":159,"watchers_count":159,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":140,"mirror_url":null,"open_issues_count":336,"forks":140,"open_issues":336,"watchers":159,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/LLNL/spack/pulls/1892"},"html":{"href":"https://github.com/LLNL/spack/pull/1892"},"issue":{"href":"https://api.github.com/repos/LLNL/spack/issues/1892"},"comments":{"href":"https://api.github.com/repos/LLNL/spack/issues/1892/comments"},"review_comments":{"href":"https://api.github.com/repos/LLNL/spack/pulls/1892/comments"},"review_comment":{"href":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LLNL/spack/pulls/1892/commits"},"statuses":{"href":"https://api.github.com/repos/LLNL/spack/statuses/f196f4386e6b46776726ce32fa772e1f44f0f639"}}}}
{"actor":{"display_login":"adamjstewart"}}