{"action":"created","comment":{"url":"https://api.github.com/repos/alpinelinux/aports/pulls/comments/177619476","pull_request_review_id":107522582,"id":177619476,"diff_hunk":"@@ -3,31 +3,52 @@\n pkgname=php7-ssh2\n _pkgreal=ssh2\n pkgver=1.1.2\n-pkgrel=0\n+pkgrel=1\n pkgdesc=\"PHP extension provide bindings for the libssh2 library\"\n url=\"http://pecl.php.net/package/ssh2\"\n arch=\"all\"\n license=\"PHP\"\n depends=\"\"\n pecldepends=\"php7-dev autoconf\"\n makedepends=\"$pecldepends libssh2-dev\"\n+options=\"!check\" # todo: Generate keypair and setup of user","path":"community/php7-ssh2/APKBUILD","position":13,"original_position":13,"commit_id":"6144246988844dbec9de457af15b953ceb22dbf1","original_commit_id":"6144246988844dbec9de457af15b953ceb22dbf1","user":{"login":"TBK","id":858296,"avatar_url":"https://avatars0.githubusercontent.com/u/858296?v=4","gravatar_id":"","url":"https://api.github.com/users/TBK","html_url":"https://github.com/TBK","followers_url":"https://api.github.com/users/TBK/followers","following_url":"https://api.github.com/users/TBK/following{/other_user}","gists_url":"https://api.github.com/users/TBK/gists{/gist_id}","starred_url":"https://api.github.com/users/TBK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TBK/subscriptions","organizations_url":"https://api.github.com/users/TBK/orgs","repos_url":"https://api.github.com/users/TBK/repos","events_url":"https://api.github.com/users/TBK/events{/privacy}","received_events_url":"https://api.github.com/users/TBK/received_events","type":"User","site_admin":false},"body":"I have been trying to solve it but since it requires either root priviledges or an already created user in the CI enviroment I do not know how to complete it:\r\n\r\n```\r\ncheck() {\r\n        cd \"$builddir\"\r\n\r\n        # Setup user and cert\r\n        adduser -D -g \"\" sshuser\r\n        echo \"sshuser:sshpassword\" | chpasswd\r\n        mkdir -p ~sshuser/.ssh\r\n        chown sshuser:sshuser ~sshuser/.ssh\r\n        sh -c \"cat $(pwd)/tests/testkey_rsa.pub >> ~sshuser/.ssh/authorized_keys\"\r\n        chown sshuser:sshuser ~sshuser/.ssh/authorized_keys\r\n        chmod 600 ~sshuser/.ssh/authorized_keys\r\n\r\n        # Run dropbear\r\n        dropbear\r\n\r\n        export \"TEST_SSH2_HOSTNAME=localhost\"\r\n        export \"TEST_SSH2_USER=sshuser\"\r\n        export \"TEST_SSH2_PASS=sshpassword\"\r\n\r\n        make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test\r\n\r\n        # Kill dropbear\r\n        pkill dropbear\r\n\r\n        # Cleanup\r\n        rm -rf ~sshuser\r\n        deluser sshuser\r\n}\r\n```\r\n\r\nWithout the dropbear part, 6/7 tests will succeed.","created_at":"2018-03-28T01:41:55Z","updated_at":"2018-03-28T01:41:55Z","html_url":"https://github.com/alpinelinux/aports/pull/3784#discussion_r177619476","pull_request_url":"https://api.github.com/repos/alpinelinux/aports/pulls/3784","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/comments/177619476"},"html":{"href":"https://github.com/alpinelinux/aports/pull/3784#discussion_r177619476"},"pull_request":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/3784"}},"in_reply_to_id":177427782},"pull_request":{"url":"https://api.github.com/repos/alpinelinux/aports/pulls/3784","id":177742679,"html_url":"https://github.com/alpinelinux/aports/pull/3784","diff_url":"https://github.com/alpinelinux/aports/pull/3784.diff","patch_url":"https://github.com/alpinelinux/aports/pull/3784.patch","issue_url":"https://api.github.com/repos/alpinelinux/aports/issues/3784","number":3784,"state":"open","locked":false,"title":"community/php7-* & testing/php7-*: modernize","user":{"login":"TBK","id":858296,"avatar_url":"https://avatars0.githubusercontent.com/u/858296?v=4","gravatar_id":"","url":"https://api.github.com/users/TBK","html_url":"https://github.com/TBK","followers_url":"https://api.github.com/users/TBK/followers","following_url":"https://api.github.com/users/TBK/following{/other_user}","gists_url":"https://api.github.com/users/TBK/gists{/gist_id}","starred_url":"https://api.github.com/users/TBK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TBK/subscriptions","organizations_url":"https://api.github.com/users/TBK/orgs","repos_url":"https://api.github.com/users/TBK/repos","events_url":"https://api.github.com/users/TBK/events{/privacy}","received_events_url":"https://api.github.com/users/TBK/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-27T13:37:15Z","updated_at":"2018-03-28T01:41:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e23a0010362f4d4e0a96ec55d6977940f48cf52","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":576626274,"url":"https://api.github.com/repos/alpinelinux/aports/labels/A-improve","name":"A-improve","color":"e6e6e6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/alpinelinux/aports/pulls/3784/commits","review_comments_url":"https://api.github.com/repos/alpinelinux/aports/pulls/3784/comments","review_comment_url":"https://api.github.com/repos/alpinelinux/aports/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alpinelinux/aports/issues/3784/comments","statuses_url":"https://api.github.com/repos/alpinelinux/aports/statuses/6144246988844dbec9de457af15b953ceb22dbf1","head":{"label":"TBK:php-modernize","ref":"php-modernize","sha":"6144246988844dbec9de457af15b953ceb22dbf1","user":{"login":"TBK","id":858296,"avatar_url":"https://avatars0.githubusercontent.com/u/858296?v=4","gravatar_id":"","url":"https://api.github.com/users/TBK","html_url":"https://github.com/TBK","followers_url":"https://api.github.com/users/TBK/followers","following_url":"https://api.github.com/users/TBK/following{/other_user}","gists_url":"https://api.github.com/users/TBK/gists{/gist_id}","starred_url":"https://api.github.com/users/TBK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TBK/subscriptions","organizations_url":"https://api.github.com/users/TBK/orgs","repos_url":"https://api.github.com/users/TBK/repos","events_url":"https://api.github.com/users/TBK/events{/privacy}","received_events_url":"https://api.github.com/users/TBK/received_events","type":"User","site_admin":false},"repo":{"id":90674144,"name":"aports","full_name":"TBK/aports","owner":{"login":"TBK","id":858296,"avatar_url":"https://avatars0.githubusercontent.com/u/858296?v=4","gravatar_id":"","url":"https://api.github.com/users/TBK","html_url":"https://github.com/TBK","followers_url":"https://api.github.com/users/TBK/followers","following_url":"https://api.github.com/users/TBK/following{/other_user}","gists_url":"https://api.github.com/users/TBK/gists{/gist_id}","starred_url":"https://api.github.com/users/TBK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TBK/subscriptions","organizations_url":"https://api.github.com/users/TBK/orgs","repos_url":"https://api.github.com/users/TBK/repos","events_url":"https://api.github.com/users/TBK/events{/privacy}","received_events_url":"https://api.github.com/users/TBK/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TBK/aports","description":"Mirror of aports repository","fork":true,"url":"https://api.github.com/repos/TBK/aports","forks_url":"https://api.github.com/repos/TBK/aports/forks","keys_url":"https://api.github.com/repos/TBK/aports/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TBK/aports/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TBK/aports/teams","hooks_url":"https://api.github.com/repos/TBK/aports/hooks","issue_events_url":"https://api.github.com/repos/TBK/aports/issues/events{/number}","events_url":"https://api.github.com/repos/TBK/aports/events","assignees_url":"https://api.github.com/repos/TBK/aports/assignees{/user}","branches_url":"https://api.github.com/repos/TBK/aports/branches{/branch}","tags_url":"https://api.github.com/repos/TBK/aports/tags","blobs_url":"https://api.github.com/repos/TBK/aports/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TBK/aports/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TBK/aports/git/refs{/sha}","trees_url":"https://api.github.com/repos/TBK/aports/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TBK/aports/statuses/{sha}","languages_url":"https://api.github.com/repos/TBK/aports/languages","stargazers_url":"https://api.github.com/repos/TBK/aports/stargazers","contributors_url":"https://api.github.com/repos/TBK/aports/contributors","subscribers_url":"https://api.github.com/repos/TBK/aports/subscribers","subscription_url":"https://api.github.com/repos/TBK/aports/subscription","commits_url":"https://api.github.com/repos/TBK/aports/commits{/sha}","git_commits_url":"https://api.github.com/repos/TBK/aports/git/commits{/sha}","comments_url":"https://api.github.com/repos/TBK/aports/comments{/number}","issue_comment_url":"https://api.github.com/repos/TBK/aports/issues/comments{/number}","contents_url":"https://api.github.com/repos/TBK/aports/contents/{+path}","compare_url":"https://api.github.com/repos/TBK/aports/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TBK/aports/merges","archive_url":"https://api.github.com/repos/TBK/aports/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TBK/aports/downloads","issues_url":"https://api.github.com/repos/TBK/aports/issues{/number}","pulls_url":"https://api.github.com/repos/TBK/aports/pulls{/number}","milestones_url":"https://api.github.com/repos/TBK/aports/milestones{/number}","notifications_url":"https://api.github.com/repos/TBK/aports/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TBK/aports/labels{/name}","releases_url":"https://api.github.com/repos/TBK/aports/releases{/id}","deployments_url":"https://api.github.com/repos/TBK/aports/deployments","created_at":"2017-05-08T21:29:24Z","updated_at":"2017-05-08T21:29:49Z","pushed_at":"2018-03-27T13:47:57Z","git_url":"git://github.com/TBK/aports.git","ssh_url":"git@github.com:TBK/aports.git","clone_url":"https://github.com/TBK/aports.git","svn_url":"https://github.com/TBK/aports","homepage":"http://git.alpinelinux.org/cgit/aports","size":163117,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"alpinelinux:master","ref":"master","sha":"fc2557dadf48a27feaa29261edcaa62ea4fc367e","user":{"login":"alpinelinux","id":7600810,"avatar_url":"https://avatars1.githubusercontent.com/u/7600810?v=4","gravatar_id":"","url":"https://api.github.com/users/alpinelinux","html_url":"https://github.com/alpinelinux","followers_url":"https://api.github.com/users/alpinelinux/followers","following_url":"https://api.github.com/users/alpinelinux/following{/other_user}","gists_url":"https://api.github.com/users/alpinelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/alpinelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpinelinux/subscriptions","organizations_url":"https://api.github.com/users/alpinelinux/orgs","repos_url":"https://api.github.com/users/alpinelinux/repos","events_url":"https://api.github.com/users/alpinelinux/events{/privacy}","received_events_url":"https://api.github.com/users/alpinelinux/received_events","type":"Organization","site_admin":false},"repo":{"id":19851667,"name":"aports","full_name":"alpinelinux/aports","owner":{"login":"alpinelinux","id":7600810,"avatar_url":"https://avatars1.githubusercontent.com/u/7600810?v=4","gravatar_id":"","url":"https://api.github.com/users/alpinelinux","html_url":"https://github.com/alpinelinux","followers_url":"https://api.github.com/users/alpinelinux/followers","following_url":"https://api.github.com/users/alpinelinux/following{/other_user}","gists_url":"https://api.github.com/users/alpinelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/alpinelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpinelinux/subscriptions","organizations_url":"https://api.github.com/users/alpinelinux/orgs","repos_url":"https://api.github.com/users/alpinelinux/repos","events_url":"https://api.github.com/users/alpinelinux/events{/privacy}","received_events_url":"https://api.github.com/users/alpinelinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alpinelinux/aports","description":"Mirror of aports repository","fork":false,"url":"https://api.github.com/repos/alpinelinux/aports","forks_url":"https://api.github.com/repos/alpinelinux/aports/forks","keys_url":"https://api.github.com/repos/alpinelinux/aports/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alpinelinux/aports/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alpinelinux/aports/teams","hooks_url":"https://api.github.com/repos/alpinelinux/aports/hooks","issue_events_url":"https://api.github.com/repos/alpinelinux/aports/issues/events{/number}","events_url":"https://api.github.com/repos/alpinelinux/aports/events","assignees_url":"https://api.github.com/repos/alpinelinux/aports/assignees{/user}","branches_url":"https://api.github.com/repos/alpinelinux/aports/branches{/branch}","tags_url":"https://api.github.com/repos/alpinelinux/aports/tags","blobs_url":"https://api.github.com/repos/alpinelinux/aports/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alpinelinux/aports/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alpinelinux/aports/git/refs{/sha}","trees_url":"https://api.github.com/repos/alpinelinux/aports/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alpinelinux/aports/statuses/{sha}","languages_url":"https://api.github.com/repos/alpinelinux/aports/languages","stargazers_url":"https://api.github.com/repos/alpinelinux/aports/stargazers","contributors_url":"https://api.github.com/repos/alpinelinux/aports/contributors","subscribers_url":"https://api.github.com/repos/alpinelinux/aports/subscribers","subscription_url":"https://api.github.com/repos/alpinelinux/aports/subscription","commits_url":"https://api.github.com/repos/alpinelinux/aports/commits{/sha}","git_commits_url":"https://api.github.com/repos/alpinelinux/aports/git/commits{/sha}","comments_url":"https://api.github.com/repos/alpinelinux/aports/comments{/number}","issue_comment_url":"https://api.github.com/repos/alpinelinux/aports/issues/comments{/number}","contents_url":"https://api.github.com/repos/alpinelinux/aports/contents/{+path}","compare_url":"https://api.github.com/repos/alpinelinux/aports/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alpinelinux/aports/merges","archive_url":"https://api.github.com/repos/alpinelinux/aports/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alpinelinux/aports/downloads","issues_url":"https://api.github.com/repos/alpinelinux/aports/issues{/number}","pulls_url":"https://api.github.com/repos/alpinelinux/aports/pulls{/number}","milestones_url":"https://api.github.com/repos/alpinelinux/aports/milestones{/number}","notifications_url":"https://api.github.com/repos/alpinelinux/aports/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alpinelinux/aports/labels{/name}","releases_url":"https://api.github.com/repos/alpinelinux/aports/releases{/id}","deployments_url":"https://api.github.com/repos/alpinelinux/aports/deployments","created_at":"2014-05-16T09:41:28Z","updated_at":"2018-03-28T00:40:20Z","pushed_at":"2018-03-28T00:39:31Z","git_url":"git://github.com/alpinelinux/aports.git","ssh_url":"git@github.com:alpinelinux/aports.git","clone_url":"https://github.com/alpinelinux/aports.git","svn_url":"https://github.com/alpinelinux/aports","homepage":"https://git.alpinelinux.org/cgit/aports","size":179779,"stargazers_count":221,"watchers_count":221,"language":"Shell","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":397,"mirror_url":null,"archived":false,"open_issues_count":245,"license":null,"forks":397,"open_issues":245,"watchers":221,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/3784"},"html":{"href":"https://github.com/alpinelinux/aports/pull/3784"},"issue":{"href":"https://api.github.com/repos/alpinelinux/aports/issues/3784"},"comments":{"href":"https://api.github.com/repos/alpinelinux/aports/issues/3784/comments"},"review_comments":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/3784/comments"},"review_comment":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/3784/commits"},"statuses":{"href":"https://api.github.com/repos/alpinelinux/aports/statuses/6144246988844dbec9de457af15b953ceb22dbf1"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"TBK"}}