{"action":"created","comment":{"url":"https://api.github.com/repos/pypiserver/pypiserver/pulls/comments/80183216","id":80183216,"diff_hunk":"@@ -235,7 +243,7 @@ def main(argv=None):\n             c.password_file = v\n         elif k in (\"-o\", \"--overwrite\"):\n             c.overwrite = True\n-        elif k in (\"--hash-algo\"):\n+        elif k == \"--hash-algo\":","path":"pypiserver/__main__.py","position":34,"original_position":34,"commit_id":"4cc343075b3abe4551f3d59d33c8b4f98b8988c6","original_commit_id":"4cc343075b3abe4551f3d59d33c8b4f98b8988c6","user":{"login":"sakurai-youhei","id":721858,"avatar_url":"https://avatars.githubusercontent.com/u/721858?v=3","gravatar_id":"","url":"https://api.github.com/users/sakurai-youhei","html_url":"https://github.com/sakurai-youhei","followers_url":"https://api.github.com/users/sakurai-youhei/followers","following_url":"https://api.github.com/users/sakurai-youhei/following{/other_user}","gists_url":"https://api.github.com/users/sakurai-youhei/gists{/gist_id}","starred_url":"https://api.github.com/users/sakurai-youhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakurai-youhei/subscriptions","organizations_url":"https://api.github.com/users/sakurai-youhei/orgs","repos_url":"https://api.github.com/users/sakurai-youhei/repos","events_url":"https://api.github.com/users/sakurai-youhei/events{/privacy}","received_events_url":"https://api.github.com/users/sakurai-youhei/received_events","type":"User","site_admin":false},"body":"The reason of this change is that `-h` was not working due to the fact that `(\"--hash-algo\")` is equivalent to `\"--hash-algo\"` which contains `\"-h\"``.","created_at":"2016-09-23T05:19:31Z","updated_at":"2016-09-23T05:19:31Z","html_url":"https://github.com/pypiserver/pypiserver/pull/162#discussion_r80183216","pull_request_url":"https://api.github.com/repos/pypiserver/pypiserver/pulls/162","_links":{"self":{"href":"https://api.github.com/repos/pypiserver/pypiserver/pulls/comments/80183216"},"html":{"href":"https://github.com/pypiserver/pypiserver/pull/162#discussion_r80183216"},"pull_request":{"href":"https://api.github.com/repos/pypiserver/pypiserver/pulls/162"}}},"pull_request":{"url":"https://api.github.com/repos/pypiserver/pypiserver/pulls/162","id":86455176,"html_url":"https://github.com/pypiserver/pypiserver/pull/162","diff_url":"https://github.com/pypiserver/pypiserver/pull/162.diff","patch_url":"https://github.com/pypiserver/pypiserver/pull/162.patch","issue_url":"https://api.github.com/repos/pypiserver/pypiserver/issues/162","number":162,"state":"open","locked":false,"title":"Feature/auther via cmd option","user":{"login":"sakurai-youhei","id":721858,"avatar_url":"https://avatars.githubusercontent.com/u/721858?v=3","gravatar_id":"","url":"https://api.github.com/users/sakurai-youhei","html_url":"https://github.com/sakurai-youhei","followers_url":"https://api.github.com/users/sakurai-youhei/followers","following_url":"https://api.github.com/users/sakurai-youhei/following{/other_user}","gists_url":"https://api.github.com/users/sakurai-youhei/gists{/gist_id}","starred_url":"https://api.github.com/users/sakurai-youhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakurai-youhei/subscriptions","organizations_url":"https://api.github.com/users/sakurai-youhei/orgs","repos_url":"https://api.github.com/users/sakurai-youhei/repos","events_url":"https://api.github.com/users/sakurai-youhei/events{/privacy}","received_events_url":"https://api.github.com/users/sakurai-youhei/received_events","type":"User","site_admin":false},"body":"Because I'd like to use pypiserver with own auth provider via `python -m pypiserver`, I had motivation to introduce new command line option named `--auther`. FYI: I also fixed small problems eventually brought to me when preparing this pull-request.","created_at":"2016-09-23T05:15:00Z","updated_at":"2016-09-23T05:19:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0af7b3f7a33a50cd7843d49f04fe1a691f9bd6c4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pypiserver/pypiserver/pulls/162/commits","review_comments_url":"https://api.github.com/repos/pypiserver/pypiserver/pulls/162/comments","review_comment_url":"https://api.github.com/repos/pypiserver/pypiserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pypiserver/pypiserver/issues/162/comments","statuses_url":"https://api.github.com/repos/pypiserver/pypiserver/statuses/4cc343075b3abe4551f3d59d33c8b4f98b8988c6","head":{"label":"sakurai-youhei:feature/auther-via-cmd-option","ref":"feature/auther-via-cmd-option","sha":"4cc343075b3abe4551f3d59d33c8b4f98b8988c6","user":{"login":"sakurai-youhei","id":721858,"avatar_url":"https://avatars.githubusercontent.com/u/721858?v=3","gravatar_id":"","url":"https://api.github.com/users/sakurai-youhei","html_url":"https://github.com/sakurai-youhei","followers_url":"https://api.github.com/users/sakurai-youhei/followers","following_url":"https://api.github.com/users/sakurai-youhei/following{/other_user}","gists_url":"https://api.github.com/users/sakurai-youhei/gists{/gist_id}","starred_url":"https://api.github.com/users/sakurai-youhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakurai-youhei/subscriptions","organizations_url":"https://api.github.com/users/sakurai-youhei/orgs","repos_url":"https://api.github.com/users/sakurai-youhei/repos","events_url":"https://api.github.com/users/sakurai-youhei/events{/privacy}","received_events_url":"https://api.github.com/users/sakurai-youhei/received_events","type":"User","site_admin":false},"repo":{"id":68986779,"name":"pypiserver","full_name":"sakurai-youhei/pypiserver","owner":{"login":"sakurai-youhei","id":721858,"avatar_url":"https://avatars.githubusercontent.com/u/721858?v=3","gravatar_id":"","url":"https://api.github.com/users/sakurai-youhei","html_url":"https://github.com/sakurai-youhei","followers_url":"https://api.github.com/users/sakurai-youhei/followers","following_url":"https://api.github.com/users/sakurai-youhei/following{/other_user}","gists_url":"https://api.github.com/users/sakurai-youhei/gists{/gist_id}","starred_url":"https://api.github.com/users/sakurai-youhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakurai-youhei/subscriptions","organizations_url":"https://api.github.com/users/sakurai-youhei/orgs","repos_url":"https://api.github.com/users/sakurai-youhei/repos","events_url":"https://api.github.com/users/sakurai-youhei/events{/privacy}","received_events_url":"https://api.github.com/users/sakurai-youhei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sakurai-youhei/pypiserver","description":"Minimal PyPI server for uploading & downloading packages with pip/easy_install","fork":true,"url":"https://api.github.com/repos/sakurai-youhei/pypiserver","forks_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/forks","keys_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/teams","hooks_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/hooks","issue_events_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/issues/events{/number}","events_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/events","assignees_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/assignees{/user}","branches_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/branches{/branch}","tags_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/tags","blobs_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/statuses/{sha}","languages_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/languages","stargazers_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/stargazers","contributors_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/contributors","subscribers_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/subscribers","subscription_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/subscription","commits_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/contents/{+path}","compare_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/merges","archive_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/downloads","issues_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/issues{/number}","pulls_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/pulls{/number}","milestones_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/milestones{/number}","notifications_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/labels{/name}","releases_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/releases{/id}","deployments_url":"https://api.github.com/repos/sakurai-youhei/pypiserver/deployments","created_at":"2016-09-23T03:50:44Z","updated_at":"2016-09-23T03:50:45Z","pushed_at":"2016-09-23T05:10:04Z","git_url":"git://github.com/sakurai-youhei/pypiserver.git","ssh_url":"git@github.com:sakurai-youhei/pypiserver.git","clone_url":"https://github.com/sakurai-youhei/pypiserver.git","svn_url":"https://github.com/sakurai-youhei/pypiserver","homepage":"","size":4205,"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":"master"}},"base":{"label":"pypiserver:master","ref":"master","sha":"6777a7866294f4fd5b2f9b32fb79121d2eaa4d43","user":{"login":"pypiserver","id":9453664,"avatar_url":"https://avatars.githubusercontent.com/u/9453664?v=3","gravatar_id":"","url":"https://api.github.com/users/pypiserver","html_url":"https://github.com/pypiserver","followers_url":"https://api.github.com/users/pypiserver/followers","following_url":"https://api.github.com/users/pypiserver/following{/other_user}","gists_url":"https://api.github.com/users/pypiserver/gists{/gist_id}","starred_url":"https://api.github.com/users/pypiserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypiserver/subscriptions","organizations_url":"https://api.github.com/users/pypiserver/orgs","repos_url":"https://api.github.com/users/pypiserver/repos","events_url":"https://api.github.com/users/pypiserver/events{/privacy}","received_events_url":"https://api.github.com/users/pypiserver/received_events","type":"Organization","site_admin":false},"repo":{"id":2121420,"name":"pypiserver","full_name":"pypiserver/pypiserver","owner":{"login":"pypiserver","id":9453664,"avatar_url":"https://avatars.githubusercontent.com/u/9453664?v=3","gravatar_id":"","url":"https://api.github.com/users/pypiserver","html_url":"https://github.com/pypiserver","followers_url":"https://api.github.com/users/pypiserver/followers","following_url":"https://api.github.com/users/pypiserver/following{/other_user}","gists_url":"https://api.github.com/users/pypiserver/gists{/gist_id}","starred_url":"https://api.github.com/users/pypiserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypiserver/subscriptions","organizations_url":"https://api.github.com/users/pypiserver/orgs","repos_url":"https://api.github.com/users/pypiserver/repos","events_url":"https://api.github.com/users/pypiserver/events{/privacy}","received_events_url":"https://api.github.com/users/pypiserver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pypiserver/pypiserver","description":"Minimal PyPI server for uploading & downloading packages with pip/easy_install","fork":false,"url":"https://api.github.com/repos/pypiserver/pypiserver","forks_url":"https://api.github.com/repos/pypiserver/pypiserver/forks","keys_url":"https://api.github.com/repos/pypiserver/pypiserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pypiserver/pypiserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pypiserver/pypiserver/teams","hooks_url":"https://api.github.com/repos/pypiserver/pypiserver/hooks","issue_events_url":"https://api.github.com/repos/pypiserver/pypiserver/issues/events{/number}","events_url":"https://api.github.com/repos/pypiserver/pypiserver/events","assignees_url":"https://api.github.com/repos/pypiserver/pypiserver/assignees{/user}","branches_url":"https://api.github.com/repos/pypiserver/pypiserver/branches{/branch}","tags_url":"https://api.github.com/repos/pypiserver/pypiserver/tags","blobs_url":"https://api.github.com/repos/pypiserver/pypiserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pypiserver/pypiserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pypiserver/pypiserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/pypiserver/pypiserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pypiserver/pypiserver/statuses/{sha}","languages_url":"https://api.github.com/repos/pypiserver/pypiserver/languages","stargazers_url":"https://api.github.com/repos/pypiserver/pypiserver/stargazers","contributors_url":"https://api.github.com/repos/pypiserver/pypiserver/contributors","subscribers_url":"https://api.github.com/repos/pypiserver/pypiserver/subscribers","subscription_url":"https://api.github.com/repos/pypiserver/pypiserver/subscription","commits_url":"https://api.github.com/repos/pypiserver/pypiserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/pypiserver/pypiserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/pypiserver/pypiserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/pypiserver/pypiserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/pypiserver/pypiserver/contents/{+path}","compare_url":"https://api.github.com/repos/pypiserver/pypiserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pypiserver/pypiserver/merges","archive_url":"https://api.github.com/repos/pypiserver/pypiserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pypiserver/pypiserver/downloads","issues_url":"https://api.github.com/repos/pypiserver/pypiserver/issues{/number}","pulls_url":"https://api.github.com/repos/pypiserver/pypiserver/pulls{/number}","milestones_url":"https://api.github.com/repos/pypiserver/pypiserver/milestones{/number}","notifications_url":"https://api.github.com/repos/pypiserver/pypiserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pypiserver/pypiserver/labels{/name}","releases_url":"https://api.github.com/repos/pypiserver/pypiserver/releases{/id}","deployments_url":"https://api.github.com/repos/pypiserver/pypiserver/deployments","created_at":"2011-07-29T00:02:35Z","updated_at":"2016-09-22T18:48:16Z","pushed_at":"2016-09-23T05:15:00Z","git_url":"git://github.com/pypiserver/pypiserver.git","ssh_url":"git@github.com:pypiserver/pypiserver.git","clone_url":"https://github.com/pypiserver/pypiserver.git","svn_url":"https://github.com/pypiserver/pypiserver","homepage":"","size":4205,"stargazers_count":309,"watchers_count":309,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":92,"mirror_url":null,"open_issues_count":14,"forks":92,"open_issues":14,"watchers":309,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pypiserver/pypiserver/pulls/162"},"html":{"href":"https://github.com/pypiserver/pypiserver/pull/162"},"issue":{"href":"https://api.github.com/repos/pypiserver/pypiserver/issues/162"},"comments":{"href":"https://api.github.com/repos/pypiserver/pypiserver/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/pypiserver/pypiserver/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/pypiserver/pypiserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pypiserver/pypiserver/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/pypiserver/pypiserver/statuses/4cc343075b3abe4551f3d59d33c8b4f98b8988c6"}}}}
{"actor":{"display_login":"sakurai-youhei"}}