{"action":"created","comment":{"url":"https://api.github.com/repos/ome/omero-install/pulls/comments/57420138","id":57420138,"diff_hunk":"@@ -1,49 +1,18 @@\n #!/bin/bash\n \n-yum -y install epel-release\n-\n-curl -o /etc/yum.repos.d/zeroc-ice-el7.repo \\\n-\thttp://download.zeroc.com/Ice/3.5/el7/zeroc-ice-el7.repo\n-\n-yum -y install \\\n-\tunzip \\\n-\twget \\\n-\tjava-1.8.0-openjdk \\\n-\tice ice-python ice-servers\n-\n yum -y install \\\n \tpython-pip python-devel python-virtualenv \\\n \tnumpy scipy python-matplotlib python-tables\n \n-# upgrade pip to run 7.1.2\n-pip install --upgrade pip\n-\n-# install Pillow via pip\n yum -y install \\\n \tzlib-devel \\\n \tlibjpeg-devel \\\n \tgcc\n \n-# Cap Pillow version due to a limitation in OMERO.figure with v3.0.0\n-pip install 'Pillow<3.0'\n-\n-# Django\n-pip install 'Django>=1.8,<1.9'\n-\n-# Postgres, reconfigure to allow TCP connections\n-yum -y install http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-2.noarch.rpm\n-yum -y install postgresql94-server postgresql94\n-\n-PGSETUP_INITDB_OPTIONS=--encoding=UTF8 /usr/pgsql-9.4/bin/postgresql94-setup initdb\n-sed -i.bak -re 's/^(host.*)ident/\\1md5/' /var/lib/pgsql/9.4/data/pg_hba.conf\n-\n-#start-workaround to get postgresql running inside Docker\n-if [ \"${container:-}\" = docker ]; then\n-\tsed -i 's/OOMScoreAdjust/#OOMScoreAdjust/' \\\n-        \t/usr/lib/systemd/system/postgresql-9.4.service\n-\tsystemctl daemon-reload\n+if [[ ! \"${container:-}\" = docker ]]; then\n+\t#start-docker-pip\n+\tpip install --upgrade pip\n+\t#end-docker-pip\n fi\n-#end-workaround\n \n-systemctl start postgresql-9.4.service\n-systemctl enable postgresql-9.4.service\n+pip install -r requirements.txt","path":"linux/step01_centos7_deps.sh","position":54,"original_position":54,"commit_id":"7e3676888d6a3f0aeaeec2b9833964ed38692284","original_commit_id":"7e3676888d6a3f0aeaeec2b9833964ed38692284","user":{"login":"aleksandra-tarkowska","id":1065155,"avatar_url":"https://avatars.githubusercontent.com/u/1065155?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandra-tarkowska","html_url":"https://github.com/aleksandra-tarkowska","followers_url":"https://api.github.com/users/aleksandra-tarkowska/followers","following_url":"https://api.github.com/users/aleksandra-tarkowska/following{/other_user}","gists_url":"https://api.github.com/users/aleksandra-tarkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandra-tarkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandra-tarkowska/subscriptions","organizations_url":"https://api.github.com/users/aleksandra-tarkowska/orgs","repos_url":"https://api.github.com/users/aleksandra-tarkowska/repos","events_url":"https://api.github.com/users/aleksandra-tarkowska/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandra-tarkowska/received_events","type":"User","site_admin":false},"body":"would it be possible to get absolute patch here? I am guessing ``` `dirname $0` ```","created_at":"2016-03-25T05:17:42Z","updated_at":"2016-03-25T05:17:42Z","html_url":"https://github.com/ome/omero-install/pull/94#discussion_r57420138","pull_request_url":"https://api.github.com/repos/ome/omero-install/pulls/94","_links":{"self":{"href":"https://api.github.com/repos/ome/omero-install/pulls/comments/57420138"},"html":{"href":"https://github.com/ome/omero-install/pull/94#discussion_r57420138"},"pull_request":{"href":"https://api.github.com/repos/ome/omero-install/pulls/94"}}},"pull_request":{"url":"https://api.github.com/repos/ome/omero-install/pulls/94","id":62759442,"html_url":"https://github.com/ome/omero-install/pull/94","diff_url":"https://github.com/ome/omero-install/pull/94.diff","patch_url":"https://github.com/ome/omero-install/pull/94.patch","issue_url":"https://api.github.com/repos/ome/omero-install/issues/94","number":94,"state":"open","locked":false,"title":"Parameters","user":{"login":"jburel","id":1022396,"avatar_url":"https://avatars.githubusercontent.com/u/1022396?v=3","gravatar_id":"","url":"https://api.github.com/users/jburel","html_url":"https://github.com/jburel","followers_url":"https://api.github.com/users/jburel/followers","following_url":"https://api.github.com/users/jburel/following{/other_user}","gists_url":"https://api.github.com/users/jburel/gists{/gist_id}","starred_url":"https://api.github.com/users/jburel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jburel/subscriptions","organizations_url":"https://api.github.com/users/jburel/orgs","repos_url":"https://api.github.com/users/jburel/repos","events_url":"https://api.github.com/users/jburel/events{/privacy}","received_events_url":"https://api.github.com/users/jburel/received_events","type":"User","site_admin":false},"body":"Add ``JAVAVER`` parameters. Default is OpenJDK 1.8 across the various installations. This was not the case.\r\nThe first 6 commits were tested by travis in PR https://github.com/ome/omero-install/pull/83\r\nRe-organise step installation dependencies.\r\nUpdate the autogenerate script.\r\n\r\nAlso Add ```PGVER``` (for postgres) and ```ICEVER``` (for ice)\r\ncc @hflynn ","created_at":"2016-03-14T14:49:20Z","updated_at":"2016-03-25T05:17:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9266eb7b09f3488eba07077bfffd373a8dfe178","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ome/omero-install/pulls/94/commits","review_comments_url":"https://api.github.com/repos/ome/omero-install/pulls/94/comments","review_comment_url":"https://api.github.com/repos/ome/omero-install/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ome/omero-install/issues/94/comments","statuses_url":"https://api.github.com/repos/ome/omero-install/statuses/7e3676888d6a3f0aeaeec2b9833964ed38692284","head":{"label":"jburel:java-parameters","ref":"java-parameters","sha":"7e3676888d6a3f0aeaeec2b9833964ed38692284","user":{"login":"jburel","id":1022396,"avatar_url":"https://avatars.githubusercontent.com/u/1022396?v=3","gravatar_id":"","url":"https://api.github.com/users/jburel","html_url":"https://github.com/jburel","followers_url":"https://api.github.com/users/jburel/followers","following_url":"https://api.github.com/users/jburel/following{/other_user}","gists_url":"https://api.github.com/users/jburel/gists{/gist_id}","starred_url":"https://api.github.com/users/jburel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jburel/subscriptions","organizations_url":"https://api.github.com/users/jburel/orgs","repos_url":"https://api.github.com/users/jburel/repos","events_url":"https://api.github.com/users/jburel/events{/privacy}","received_events_url":"https://api.github.com/users/jburel/received_events","type":"User","site_admin":false},"repo":{"id":45977666,"name":"omero-install","full_name":"jburel/omero-install","owner":{"login":"jburel","id":1022396,"avatar_url":"https://avatars.githubusercontent.com/u/1022396?v=3","gravatar_id":"","url":"https://api.github.com/users/jburel","html_url":"https://github.com/jburel","followers_url":"https://api.github.com/users/jburel/followers","following_url":"https://api.github.com/users/jburel/following{/other_user}","gists_url":"https://api.github.com/users/jburel/gists{/gist_id}","starred_url":"https://api.github.com/users/jburel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jburel/subscriptions","organizations_url":"https://api.github.com/users/jburel/orgs","repos_url":"https://api.github.com/users/jburel/repos","events_url":"https://api.github.com/users/jburel/events{/privacy}","received_events_url":"https://api.github.com/users/jburel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jburel/omero-install","description":"OMERO installation scripts","fork":true,"url":"https://api.github.com/repos/jburel/omero-install","forks_url":"https://api.github.com/repos/jburel/omero-install/forks","keys_url":"https://api.github.com/repos/jburel/omero-install/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jburel/omero-install/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jburel/omero-install/teams","hooks_url":"https://api.github.com/repos/jburel/omero-install/hooks","issue_events_url":"https://api.github.com/repos/jburel/omero-install/issues/events{/number}","events_url":"https://api.github.com/repos/jburel/omero-install/events","assignees_url":"https://api.github.com/repos/jburel/omero-install/assignees{/user}","branches_url":"https://api.github.com/repos/jburel/omero-install/branches{/branch}","tags_url":"https://api.github.com/repos/jburel/omero-install/tags","blobs_url":"https://api.github.com/repos/jburel/omero-install/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jburel/omero-install/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jburel/omero-install/git/refs{/sha}","trees_url":"https://api.github.com/repos/jburel/omero-install/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jburel/omero-install/statuses/{sha}","languages_url":"https://api.github.com/repos/jburel/omero-install/languages","stargazers_url":"https://api.github.com/repos/jburel/omero-install/stargazers","contributors_url":"https://api.github.com/repos/jburel/omero-install/contributors","subscribers_url":"https://api.github.com/repos/jburel/omero-install/subscribers","subscription_url":"https://api.github.com/repos/jburel/omero-install/subscription","commits_url":"https://api.github.com/repos/jburel/omero-install/commits{/sha}","git_commits_url":"https://api.github.com/repos/jburel/omero-install/git/commits{/sha}","comments_url":"https://api.github.com/repos/jburel/omero-install/comments{/number}","issue_comment_url":"https://api.github.com/repos/jburel/omero-install/issues/comments{/number}","contents_url":"https://api.github.com/repos/jburel/omero-install/contents/{+path}","compare_url":"https://api.github.com/repos/jburel/omero-install/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jburel/omero-install/merges","archive_url":"https://api.github.com/repos/jburel/omero-install/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jburel/omero-install/downloads","issues_url":"https://api.github.com/repos/jburel/omero-install/issues{/number}","pulls_url":"https://api.github.com/repos/jburel/omero-install/pulls{/number}","milestones_url":"https://api.github.com/repos/jburel/omero-install/milestones{/number}","notifications_url":"https://api.github.com/repos/jburel/omero-install/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jburel/omero-install/labels{/name}","releases_url":"https://api.github.com/repos/jburel/omero-install/releases{/id}","deployments_url":"https://api.github.com/repos/jburel/omero-install/deployments","created_at":"2015-11-11T11:25:19Z","updated_at":"2015-11-11T11:25:19Z","pushed_at":"2016-03-24T20:24:55Z","git_url":"git://github.com/jburel/omero-install.git","ssh_url":"git@github.com:jburel/omero-install.git","clone_url":"https://github.com/jburel/omero-install.git","svn_url":"https://github.com/jburel/omero-install","homepage":"http://openmicroscopy.org/","size":538,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"master"}},"base":{"label":"ome:develop","ref":"develop","sha":"71802871f7591b6b69f0c051e418c3a1cab50a88","user":{"login":"ome","id":1831717,"avatar_url":"https://avatars.githubusercontent.com/u/1831717?v=3","gravatar_id":"","url":"https://api.github.com/users/ome","html_url":"https://github.com/ome","followers_url":"https://api.github.com/users/ome/followers","following_url":"https://api.github.com/users/ome/following{/other_user}","gists_url":"https://api.github.com/users/ome/gists{/gist_id}","starred_url":"https://api.github.com/users/ome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ome/subscriptions","organizations_url":"https://api.github.com/users/ome/orgs","repos_url":"https://api.github.com/users/ome/repos","events_url":"https://api.github.com/users/ome/events{/privacy}","received_events_url":"https://api.github.com/users/ome/received_events","type":"Organization","site_admin":false},"repo":{"id":19749404,"name":"omero-install","full_name":"ome/omero-install","owner":{"login":"ome","id":1831717,"avatar_url":"https://avatars.githubusercontent.com/u/1831717?v=3","gravatar_id":"","url":"https://api.github.com/users/ome","html_url":"https://github.com/ome","followers_url":"https://api.github.com/users/ome/followers","following_url":"https://api.github.com/users/ome/following{/other_user}","gists_url":"https://api.github.com/users/ome/gists{/gist_id}","starred_url":"https://api.github.com/users/ome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ome/subscriptions","organizations_url":"https://api.github.com/users/ome/orgs","repos_url":"https://api.github.com/users/ome/repos","events_url":"https://api.github.com/users/ome/events{/privacy}","received_events_url":"https://api.github.com/users/ome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ome/omero-install","description":"OMERO installation scripts","fork":false,"url":"https://api.github.com/repos/ome/omero-install","forks_url":"https://api.github.com/repos/ome/omero-install/forks","keys_url":"https://api.github.com/repos/ome/omero-install/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ome/omero-install/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ome/omero-install/teams","hooks_url":"https://api.github.com/repos/ome/omero-install/hooks","issue_events_url":"https://api.github.com/repos/ome/omero-install/issues/events{/number}","events_url":"https://api.github.com/repos/ome/omero-install/events","assignees_url":"https://api.github.com/repos/ome/omero-install/assignees{/user}","branches_url":"https://api.github.com/repos/ome/omero-install/branches{/branch}","tags_url":"https://api.github.com/repos/ome/omero-install/tags","blobs_url":"https://api.github.com/repos/ome/omero-install/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ome/omero-install/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ome/omero-install/git/refs{/sha}","trees_url":"https://api.github.com/repos/ome/omero-install/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ome/omero-install/statuses/{sha}","languages_url":"https://api.github.com/repos/ome/omero-install/languages","stargazers_url":"https://api.github.com/repos/ome/omero-install/stargazers","contributors_url":"https://api.github.com/repos/ome/omero-install/contributors","subscribers_url":"https://api.github.com/repos/ome/omero-install/subscribers","subscription_url":"https://api.github.com/repos/ome/omero-install/subscription","commits_url":"https://api.github.com/repos/ome/omero-install/commits{/sha}","git_commits_url":"https://api.github.com/repos/ome/omero-install/git/commits{/sha}","comments_url":"https://api.github.com/repos/ome/omero-install/comments{/number}","issue_comment_url":"https://api.github.com/repos/ome/omero-install/issues/comments{/number}","contents_url":"https://api.github.com/repos/ome/omero-install/contents/{+path}","compare_url":"https://api.github.com/repos/ome/omero-install/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ome/omero-install/merges","archive_url":"https://api.github.com/repos/ome/omero-install/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ome/omero-install/downloads","issues_url":"https://api.github.com/repos/ome/omero-install/issues{/number}","pulls_url":"https://api.github.com/repos/ome/omero-install/pulls{/number}","milestones_url":"https://api.github.com/repos/ome/omero-install/milestones{/number}","notifications_url":"https://api.github.com/repos/ome/omero-install/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ome/omero-install/labels{/name}","releases_url":"https://api.github.com/repos/ome/omero-install/releases{/id}","deployments_url":"https://api.github.com/repos/ome/omero-install/deployments","created_at":"2014-05-13T17:49:20Z","updated_at":"2016-01-11T10:39:08Z","pushed_at":"2016-03-24T20:24:55Z","git_url":"git://github.com/ome/omero-install.git","ssh_url":"git@github.com:ome/omero-install.git","clone_url":"https://github.com/ome/omero-install.git","svn_url":"https://github.com/ome/omero-install","homepage":"http://openmicroscopy.org/","size":550,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":3,"forks":15,"open_issues":3,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ome/omero-install/pulls/94"},"html":{"href":"https://github.com/ome/omero-install/pull/94"},"issue":{"href":"https://api.github.com/repos/ome/omero-install/issues/94"},"comments":{"href":"https://api.github.com/repos/ome/omero-install/issues/94/comments"},"review_comments":{"href":"https://api.github.com/repos/ome/omero-install/pulls/94/comments"},"review_comment":{"href":"https://api.github.com/repos/ome/omero-install/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ome/omero-install/pulls/94/commits"},"statuses":{"href":"https://api.github.com/repos/ome/omero-install/statuses/7e3676888d6a3f0aeaeec2b9833964ed38692284"}}}}