GitHub PullRequestReviewCommentEvent at 2014-05-22 09:47:13
Repository: easybuild-framework
Actor: wpoely86
Payload: {"comment":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/comments/12942167","id":12942167,"diff_hunk":"@@ -0,0 +1,264 @@\n+#!/bin/bash\n+##\n+# Copyright 2014 Ghent University\n+#\n+# This file is part of EasyBuild,\n+# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),\n+# with support of Ghent University (http://ugent.be/hpc),\n+# the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en),\n+# the Hercules foundation (http://www.herculesstichting.be/in_English)\n+# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).\n+#\n+# http://github.com/hpcugent/easybuild\n+#\n+# EasyBuild is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation v2.\n+#\n+# EasyBuild is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with EasyBuild.  If not, see <http://www.gnu.org/licenses/>.\n+##\n+#\n+# Script to test EasyBuild in a sandbox environment.\n+#\n+# author: Kenneth Hoste (HPC-UGent)\n+#\n+\n+# exit on errors\n+set -e\n+\n+DEFAULT_USER_BRANCH='hpcugent:develop'\n+DEFAULT_SANDBOX_DIR='/tmp'\n+GITHUB_API_URL='https://api.github.com/repos/hpcugent'\n+\n+# disable debugging by default\n+debug=false\n+# don't keep sandbox by default, remove it\n+keep_sandbox=false\n+# disable fetching repositories via 'git clone' (since it's quite slow)\n+use_git=false\n+\n+#############\n+# FUNCTIONS #\n+#############\n+\n+# helper functions for printing debug information, warnings and error\n+debug() {\n+    if [ $debug = true ];\n+    then\n+        echo \"[DEBUG] $1\"\n+    fi\n+}\n+warning() {\n+    echo \"[WARNING] $1\" 1>&2\n+}\n+error() {\n+    echo \"ERROR: $1\" 1>&2","path":"easybuild/scripts/eb_sandbox.sh","position":61,"original_position":61,"commit_id":"8cee018dbb70471efda9f6e7119ac87c0bb855a3","original_commit_id":"8cee018dbb70471efda9f6e7119ac87c0bb855a3","user":{"login":"wpoely86","id":424570,"avatar_url":"https://avatars.githubusercontent.com/u/424570?","gravatar_id":"266db0ce3afd700852d3340594a9fd9a","url":"https://api.github.com/users/wpoely86","html_url":"https://github.com/wpoely86","followers_url":"https://api.github.com/users/wpoely86/followers","following_url":"https://api.github.com/users/wpoely86/following{/other_user}","gists_url":"https://api.github.com/users/wpoely86/gists{/gist_id}","starred_url":"https://api.github.com/users/wpoely86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpoely86/subscriptions","organizations_url":"https://api.github.com/users/wpoely86/orgs","repos_url":"https://api.github.com/users/wpoely86/repos","events_url":"https://api.github.com/users/wpoely86/events{/privacy}","received_events_url":"https://api.github.com/users/wpoely86/received_events","type":"User","site_admin":false},"body":"OK, I don't know what I was thinking here. But a ```>2``` is enough?","created_at":"2014-05-22T09:47:13Z","updated_at":"2014-05-22T09:47:13Z","html_url":"https://github.com/hpcugent/easybuild-framework/pull/937#discussion_r12942167","pull_request_url":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/937","_links":{"self":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/comments/12942167"},"html":{"href":"https://github.com/hpcugent/easybuild-framework/pull/937#discussion_r12942167"},"pull_request":{"href":"https://api.github.com/repos/hpcugent/easybuild-framework/pulls/937"}}}}