{"action":"created","comment":{"url":"https://api.github.com/repos/sjtug/mirror-docker/pulls/comments/58552237","id":58552237,"diff_hunk":"@@ -0,0 +1,44 @@\n+#!/bin/sh\n+\n+# generate `.tar.gz` packages from git repos\n+\n+# set PACKAGEURL\n+set_pack_url() {\n+\tcase \"$1\" in\n+\ttunasync)\tPACKAGEURL=https://github.com/sjtug/tunasync.git ;;","path":"genpack.sh","position":8,"original_position":8,"commit_id":"2301398a52305d6b64bf8ea6070aa973df7c9d6c","original_commit_id":"3eb64baabed587966d2de9e445a5779aa201303a","user":{"login":"htfy96","id":8121231,"avatar_url":"https://avatars.githubusercontent.com/u/8121231?v=3","gravatar_id":"","url":"https://api.github.com/users/htfy96","html_url":"https://github.com/htfy96","followers_url":"https://api.github.com/users/htfy96/followers","following_url":"https://api.github.com/users/htfy96/following{/other_user}","gists_url":"https://api.github.com/users/htfy96/gists{/gist_id}","starred_url":"https://api.github.com/users/htfy96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htfy96/subscriptions","organizations_url":"https://api.github.com/users/htfy96/orgs","repos_url":"https://api.github.com/users/htfy96/repos","events_url":"https://api.github.com/users/htfy96/events{/privacy}","received_events_url":"https://api.github.com/users/htfy96/received_events","type":"User","site_admin":false},"body":"Consider `wget https://github.com/sjtug/tunasync/archive/master.zip`?","created_at":"2016-04-05T14:53:22Z","updated_at":"2016-04-05T14:53:22Z","html_url":"https://github.com/sjtug/mirror-docker/pull/8#discussion_r58552237","pull_request_url":"https://api.github.com/repos/sjtug/mirror-docker/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/sjtug/mirror-docker/pulls/comments/58552237"},"html":{"href":"https://github.com/sjtug/mirror-docker/pull/8#discussion_r58552237"},"pull_request":{"href":"https://api.github.com/repos/sjtug/mirror-docker/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/sjtug/mirror-docker/pulls/8","id":65316759,"html_url":"https://github.com/sjtug/mirror-docker/pull/8","diff_url":"https://github.com/sjtug/mirror-docker/pull/8.diff","patch_url":"https://github.com/sjtug/mirror-docker/pull/8.patch","issue_url":"https://api.github.com/repos/sjtug/mirror-docker/issues/8","number":8,"state":"open","locked":false,"title":"avoid installing or using git in container","user":{"login":"lv-zheng","id":7455711,"avatar_url":"https://avatars.githubusercontent.com/u/7455711?v=3","gravatar_id":"","url":"https://api.github.com/users/lv-zheng","html_url":"https://github.com/lv-zheng","followers_url":"https://api.github.com/users/lv-zheng/followers","following_url":"https://api.github.com/users/lv-zheng/following{/other_user}","gists_url":"https://api.github.com/users/lv-zheng/gists{/gist_id}","starred_url":"https://api.github.com/users/lv-zheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lv-zheng/subscriptions","organizations_url":"https://api.github.com/users/lv-zheng/orgs","repos_url":"https://api.github.com/users/lv-zheng/repos","events_url":"https://api.github.com/users/lv-zheng/events{/privacy}","received_events_url":"https://api.github.com/users/lv-zheng/received_events","type":"User","site_admin":false},"body":"Please review the commits.\r\nIssue #4 can be closed if merged.","created_at":"2016-04-05T14:43:17Z","updated_at":"2016-04-05T14:53:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a2e1bf2878221f2e606860814bd0f55b0b5e2e7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sjtug/mirror-docker/pulls/8/commits","review_comments_url":"https://api.github.com/repos/sjtug/mirror-docker/pulls/8/comments","review_comment_url":"https://api.github.com/repos/sjtug/mirror-docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sjtug/mirror-docker/issues/8/comments","statuses_url":"https://api.github.com/repos/sjtug/mirror-docker/statuses/2301398a52305d6b64bf8ea6070aa973df7c9d6c","head":{"label":"lv-zheng:topic_issue_4","ref":"topic_issue_4","sha":"2301398a52305d6b64bf8ea6070aa973df7c9d6c","user":{"login":"lv-zheng","id":7455711,"avatar_url":"https://avatars.githubusercontent.com/u/7455711?v=3","gravatar_id":"","url":"https://api.github.com/users/lv-zheng","html_url":"https://github.com/lv-zheng","followers_url":"https://api.github.com/users/lv-zheng/followers","following_url":"https://api.github.com/users/lv-zheng/following{/other_user}","gists_url":"https://api.github.com/users/lv-zheng/gists{/gist_id}","starred_url":"https://api.github.com/users/lv-zheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lv-zheng/subscriptions","organizations_url":"https://api.github.com/users/lv-zheng/orgs","repos_url":"https://api.github.com/users/lv-zheng/repos","events_url":"https://api.github.com/users/lv-zheng/events{/privacy}","received_events_url":"https://api.github.com/users/lv-zheng/received_events","type":"User","site_admin":false},"repo":{"id":55471606,"name":"mirror-docker","full_name":"lv-zheng/mirror-docker","owner":{"login":"lv-zheng","id":7455711,"avatar_url":"https://avatars.githubusercontent.com/u/7455711?v=3","gravatar_id":"","url":"https://api.github.com/users/lv-zheng","html_url":"https://github.com/lv-zheng","followers_url":"https://api.github.com/users/lv-zheng/followers","following_url":"https://api.github.com/users/lv-zheng/following{/other_user}","gists_url":"https://api.github.com/users/lv-zheng/gists{/gist_id}","starred_url":"https://api.github.com/users/lv-zheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lv-zheng/subscriptions","organizations_url":"https://api.github.com/users/lv-zheng/orgs","repos_url":"https://api.github.com/users/lv-zheng/repos","events_url":"https://api.github.com/users/lv-zheng/events{/privacy}","received_events_url":"https://api.github.com/users/lv-zheng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lv-zheng/mirror-docker","description":"Dockerfile for SJTUG mirror","fork":true,"url":"https://api.github.com/repos/lv-zheng/mirror-docker","forks_url":"https://api.github.com/repos/lv-zheng/mirror-docker/forks","keys_url":"https://api.github.com/repos/lv-zheng/mirror-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lv-zheng/mirror-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lv-zheng/mirror-docker/teams","hooks_url":"https://api.github.com/repos/lv-zheng/mirror-docker/hooks","issue_events_url":"https://api.github.com/repos/lv-zheng/mirror-docker/issues/events{/number}","events_url":"https://api.github.com/repos/lv-zheng/mirror-docker/events","assignees_url":"https://api.github.com/repos/lv-zheng/mirror-docker/assignees{/user}","branches_url":"https://api.github.com/repos/lv-zheng/mirror-docker/branches{/branch}","tags_url":"https://api.github.com/repos/lv-zheng/mirror-docker/tags","blobs_url":"https://api.github.com/repos/lv-zheng/mirror-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lv-zheng/mirror-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lv-zheng/mirror-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/lv-zheng/mirror-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lv-zheng/mirror-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/lv-zheng/mirror-docker/languages","stargazers_url":"https://api.github.com/repos/lv-zheng/mirror-docker/stargazers","contributors_url":"https://api.github.com/repos/lv-zheng/mirror-docker/contributors","subscribers_url":"https://api.github.com/repos/lv-zheng/mirror-docker/subscribers","subscription_url":"https://api.github.com/repos/lv-zheng/mirror-docker/subscription","commits_url":"https://api.github.com/repos/lv-zheng/mirror-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/lv-zheng/mirror-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/lv-zheng/mirror-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/lv-zheng/mirror-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/lv-zheng/mirror-docker/contents/{+path}","compare_url":"https://api.github.com/repos/lv-zheng/mirror-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lv-zheng/mirror-docker/merges","archive_url":"https://api.github.com/repos/lv-zheng/mirror-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lv-zheng/mirror-docker/downloads","issues_url":"https://api.github.com/repos/lv-zheng/mirror-docker/issues{/number}","pulls_url":"https://api.github.com/repos/lv-zheng/mirror-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/lv-zheng/mirror-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/lv-zheng/mirror-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lv-zheng/mirror-docker/labels{/name}","releases_url":"https://api.github.com/repos/lv-zheng/mirror-docker/releases{/id}","deployments_url":"https://api.github.com/repos/lv-zheng/mirror-docker/deployments","created_at":"2016-04-05T05:57:33Z","updated_at":"2016-04-05T05:57:34Z","pushed_at":"2016-04-05T14:51:47Z","git_url":"git://github.com/lv-zheng/mirror-docker.git","ssh_url":"git@github.com:lv-zheng/mirror-docker.git","clone_url":"https://github.com/lv-zheng/mirror-docker.git","svn_url":"https://github.com/lv-zheng/mirror-docker","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Nginx","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":"sjtug:master","ref":"master","sha":"7d9a6886646d4434458dfb96bfaf07ba8e2eb8ec","user":{"login":"sjtug","id":7022515,"avatar_url":"https://avatars.githubusercontent.com/u/7022515?v=3","gravatar_id":"","url":"https://api.github.com/users/sjtug","html_url":"https://github.com/sjtug","followers_url":"https://api.github.com/users/sjtug/followers","following_url":"https://api.github.com/users/sjtug/following{/other_user}","gists_url":"https://api.github.com/users/sjtug/gists{/gist_id}","starred_url":"https://api.github.com/users/sjtug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjtug/subscriptions","organizations_url":"https://api.github.com/users/sjtug/orgs","repos_url":"https://api.github.com/users/sjtug/repos","events_url":"https://api.github.com/users/sjtug/events{/privacy}","received_events_url":"https://api.github.com/users/sjtug/received_events","type":"Organization","site_admin":false},"repo":{"id":55354316,"name":"mirror-docker","full_name":"sjtug/mirror-docker","owner":{"login":"sjtug","id":7022515,"avatar_url":"https://avatars.githubusercontent.com/u/7022515?v=3","gravatar_id":"","url":"https://api.github.com/users/sjtug","html_url":"https://github.com/sjtug","followers_url":"https://api.github.com/users/sjtug/followers","following_url":"https://api.github.com/users/sjtug/following{/other_user}","gists_url":"https://api.github.com/users/sjtug/gists{/gist_id}","starred_url":"https://api.github.com/users/sjtug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjtug/subscriptions","organizations_url":"https://api.github.com/users/sjtug/orgs","repos_url":"https://api.github.com/users/sjtug/repos","events_url":"https://api.github.com/users/sjtug/events{/privacy}","received_events_url":"https://api.github.com/users/sjtug/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sjtug/mirror-docker","description":"Dockerfile for SJTUG mirror","fork":false,"url":"https://api.github.com/repos/sjtug/mirror-docker","forks_url":"https://api.github.com/repos/sjtug/mirror-docker/forks","keys_url":"https://api.github.com/repos/sjtug/mirror-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sjtug/mirror-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sjtug/mirror-docker/teams","hooks_url":"https://api.github.com/repos/sjtug/mirror-docker/hooks","issue_events_url":"https://api.github.com/repos/sjtug/mirror-docker/issues/events{/number}","events_url":"https://api.github.com/repos/sjtug/mirror-docker/events","assignees_url":"https://api.github.com/repos/sjtug/mirror-docker/assignees{/user}","branches_url":"https://api.github.com/repos/sjtug/mirror-docker/branches{/branch}","tags_url":"https://api.github.com/repos/sjtug/mirror-docker/tags","blobs_url":"https://api.github.com/repos/sjtug/mirror-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sjtug/mirror-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sjtug/mirror-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/sjtug/mirror-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sjtug/mirror-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/sjtug/mirror-docker/languages","stargazers_url":"https://api.github.com/repos/sjtug/mirror-docker/stargazers","contributors_url":"https://api.github.com/repos/sjtug/mirror-docker/contributors","subscribers_url":"https://api.github.com/repos/sjtug/mirror-docker/subscribers","subscription_url":"https://api.github.com/repos/sjtug/mirror-docker/subscription","commits_url":"https://api.github.com/repos/sjtug/mirror-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/sjtug/mirror-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/sjtug/mirror-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/sjtug/mirror-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/sjtug/mirror-docker/contents/{+path}","compare_url":"https://api.github.com/repos/sjtug/mirror-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sjtug/mirror-docker/merges","archive_url":"https://api.github.com/repos/sjtug/mirror-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sjtug/mirror-docker/downloads","issues_url":"https://api.github.com/repos/sjtug/mirror-docker/issues{/number}","pulls_url":"https://api.github.com/repos/sjtug/mirror-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/sjtug/mirror-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/sjtug/mirror-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sjtug/mirror-docker/labels{/name}","releases_url":"https://api.github.com/repos/sjtug/mirror-docker/releases{/id}","deployments_url":"https://api.github.com/repos/sjtug/mirror-docker/deployments","created_at":"2016-04-03T15:45:24Z","updated_at":"2016-04-05T10:49:18Z","pushed_at":"2016-04-05T14:43:17Z","git_url":"git://github.com/sjtug/mirror-docker.git","ssh_url":"git@github.com:sjtug/mirror-docker.git","clone_url":"https://github.com/sjtug/mirror-docker.git","svn_url":"https://github.com/sjtug/mirror-docker","homepage":null,"size":18,"stargazers_count":3,"watchers_count":3,"language":"Nginx","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sjtug/mirror-docker/pulls/8"},"html":{"href":"https://github.com/sjtug/mirror-docker/pull/8"},"issue":{"href":"https://api.github.com/repos/sjtug/mirror-docker/issues/8"},"comments":{"href":"https://api.github.com/repos/sjtug/mirror-docker/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/sjtug/mirror-docker/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/sjtug/mirror-docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sjtug/mirror-docker/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/sjtug/mirror-docker/statuses/2301398a52305d6b64bf8ea6070aa973df7c9d6c"}}}}