{"action":"created","comment":{"url":"https://api.github.com/repos/ivanilves/lstags/pulls/comments/207903650","pull_request_review_id":143607454,"id":207903650,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzkwMzY1MA==","diff_hunk":"@@ -86,7 +86,14 @@ func NewToken(repo *repository.Repository, username, password string) (TokenResp\n \tcase \"None\":\n \t\treturn none.RequestToken()\n \tcase \"Basic\":\n-\t\treturn basic.RequestToken(url, username, password)\n+\t\tt, err := basic.RequestToken(url, username, password)\n+\t\tif err != nil {\n+\t\t\tprintln(err.Error())\n+\n+\t\t\treturn none.RequestToken()","path":"tag/remote/auth/auth.go","position":9,"original_position":9,"commit_id":"549816033b13428fa8b72fd9c1df1ffd86226f67","original_commit_id":"bbb6181061b73ae788fb11ea29c3e6c74a1ee61d","user":{"login":"vonrabbe","id":756642,"node_id":"MDQ6VXNlcjc1NjY0Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/756642?v=4","gravatar_id":"","url":"https://api.github.com/users/vonrabbe","html_url":"https://github.com/vonrabbe","followers_url":"https://api.github.com/users/vonrabbe/followers","following_url":"https://api.github.com/users/vonrabbe/following{/other_user}","gists_url":"https://api.github.com/users/vonrabbe/gists{/gist_id}","starred_url":"https://api.github.com/users/vonrabbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vonrabbe/subscriptions","organizations_url":"https://api.github.com/users/vonrabbe/orgs","repos_url":"https://api.github.com/users/vonrabbe/repos","events_url":"https://api.github.com/users/vonrabbe/events{/privacy}","received_events_url":"https://api.github.com/users/vonrabbe/received_events","type":"User","site_admin":false},"body":"ha ha hack!!! :smiling_imp: ","created_at":"2018-08-06T14:07:55Z","updated_at":"2018-08-06T14:08:02Z","html_url":"https://github.com/ivanilves/lstags/pull/168#discussion_r207903650","pull_request_url":"https://api.github.com/repos/ivanilves/lstags/pulls/168","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ivanilves/lstags/pulls/comments/207903650"},"html":{"href":"https://github.com/ivanilves/lstags/pull/168#discussion_r207903650"},"pull_request":{"href":"https://api.github.com/repos/ivanilves/lstags/pulls/168"}}},"pull_request":{"url":"https://api.github.com/repos/ivanilves/lstags/pulls/168","id":206395676,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2Mzk1Njc2","html_url":"https://github.com/ivanilves/lstags/pull/168","diff_url":"https://github.com/ivanilves/lstags/pull/168.diff","patch_url":"https://github.com/ivanilves/lstags/pull/168.patch","issue_url":"https://api.github.com/repos/ivanilves/lstags/issues/168","number":168,"state":"open","locked":false,"title":"feat(auth): Failback to \"none\" auth if \"basic\" auth fails","user":{"login":"ivanilves","id":9897741,"node_id":"MDQ6VXNlcjk4OTc3NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/9897741?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanilves","html_url":"https://github.com/ivanilves","followers_url":"https://api.github.com/users/ivanilves/followers","following_url":"https://api.github.com/users/ivanilves/following{/other_user}","gists_url":"https://api.github.com/users/ivanilves/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanilves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanilves/subscriptions","organizations_url":"https://api.github.com/users/ivanilves/orgs","repos_url":"https://api.github.com/users/ivanilves/repos","events_url":"https://api.github.com/users/ivanilves/events{/privacy}","received_events_url":"https://api.github.com/users/ivanilves/received_events","type":"User","site_admin":false},"body":"Solving https://github.com/ivanilves/lstags/issues/167\r\n\r\n`docker.bintray.io` asks for basic HTTP authentication, but really requires no authentication for public images :wink: \r\n\r\n# GIF\r\n![](https://media.giphy.com/media/XIqCQx02E1U9W/giphy.gif)","created_at":"2018-08-06T13:16:46Z","updated_at":"2018-08-06T14:08:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a2bf712f68f0da00a19db7b2be1acd56df2d079","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ivanilves/lstags/pulls/168/commits","review_comments_url":"https://api.github.com/repos/ivanilves/lstags/pulls/168/comments","review_comment_url":"https://api.github.com/repos/ivanilves/lstags/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ivanilves/lstags/issues/168/comments","statuses_url":"https://api.github.com/repos/ivanilves/lstags/statuses/549816033b13428fa8b72fd9c1df1ffd86226f67","head":{"label":"ivanilves:issues-167","ref":"issues-167","sha":"549816033b13428fa8b72fd9c1df1ffd86226f67","user":{"login":"ivanilves","id":9897741,"node_id":"MDQ6VXNlcjk4OTc3NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/9897741?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanilves","html_url":"https://github.com/ivanilves","followers_url":"https://api.github.com/users/ivanilves/followers","following_url":"https://api.github.com/users/ivanilves/following{/other_user}","gists_url":"https://api.github.com/users/ivanilves/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanilves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanilves/subscriptions","organizations_url":"https://api.github.com/users/ivanilves/orgs","repos_url":"https://api.github.com/users/ivanilves/repos","events_url":"https://api.github.com/users/ivanilves/events{/privacy}","received_events_url":"https://api.github.com/users/ivanilves/received_events","type":"User","site_admin":false},"repo":{"id":100341708,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAzNDE3MDg=","name":"lstags","full_name":"ivanilves/lstags","owner":{"login":"ivanilves","id":9897741,"node_id":"MDQ6VXNlcjk4OTc3NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/9897741?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanilves","html_url":"https://github.com/ivanilves","followers_url":"https://api.github.com/users/ivanilves/followers","following_url":"https://api.github.com/users/ivanilves/following{/other_user}","gists_url":"https://api.github.com/users/ivanilves/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanilves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanilves/subscriptions","organizations_url":"https://api.github.com/users/ivanilves/orgs","repos_url":"https://api.github.com/users/ivanilves/repos","events_url":"https://api.github.com/users/ivanilves/events{/privacy}","received_events_url":"https://api.github.com/users/ivanilves/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivanilves/lstags","description":"Manipulate Docker images across different registries","fork":false,"url":"https://api.github.com/repos/ivanilves/lstags","forks_url":"https://api.github.com/repos/ivanilves/lstags/forks","keys_url":"https://api.github.com/repos/ivanilves/lstags/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivanilves/lstags/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivanilves/lstags/teams","hooks_url":"https://api.github.com/repos/ivanilves/lstags/hooks","issue_events_url":"https://api.github.com/repos/ivanilves/lstags/issues/events{/number}","events_url":"https://api.github.com/repos/ivanilves/lstags/events","assignees_url":"https://api.github.com/repos/ivanilves/lstags/assignees{/user}","branches_url":"https://api.github.com/repos/ivanilves/lstags/branches{/branch}","tags_url":"https://api.github.com/repos/ivanilves/lstags/tags","blobs_url":"https://api.github.com/repos/ivanilves/lstags/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivanilves/lstags/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivanilves/lstags/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivanilves/lstags/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivanilves/lstags/statuses/{sha}","languages_url":"https://api.github.com/repos/ivanilves/lstags/languages","stargazers_url":"https://api.github.com/repos/ivanilves/lstags/stargazers","contributors_url":"https://api.github.com/repos/ivanilves/lstags/contributors","subscribers_url":"https://api.github.com/repos/ivanilves/lstags/subscribers","subscription_url":"https://api.github.com/repos/ivanilves/lstags/subscription","commits_url":"https://api.github.com/repos/ivanilves/lstags/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivanilves/lstags/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivanilves/lstags/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivanilves/lstags/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivanilves/lstags/contents/{+path}","compare_url":"https://api.github.com/repos/ivanilves/lstags/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivanilves/lstags/merges","archive_url":"https://api.github.com/repos/ivanilves/lstags/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivanilves/lstags/downloads","issues_url":"https://api.github.com/repos/ivanilves/lstags/issues{/number}","pulls_url":"https://api.github.com/repos/ivanilves/lstags/pulls{/number}","milestones_url":"https://api.github.com/repos/ivanilves/lstags/milestones{/number}","notifications_url":"https://api.github.com/repos/ivanilves/lstags/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivanilves/lstags/labels{/name}","releases_url":"https://api.github.com/repos/ivanilves/lstags/releases{/id}","deployments_url":"https://api.github.com/repos/ivanilves/lstags/deployments","created_at":"2017-08-15T05:25:17Z","updated_at":"2018-08-02T03:49:46Z","pushed_at":"2018-08-06T13:58:21Z","git_url":"git://github.com/ivanilves/lstags.git","ssh_url":"git@github.com:ivanilves/lstags.git","clone_url":"https://github.com/ivanilves/lstags.git","svn_url":"https://github.com/ivanilves/lstags","homepage":"","size":8491,"stargazers_count":184,"watchers_count":184,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":10,"open_issues":11,"watchers":184,"default_branch":"master"}},"base":{"label":"ivanilves:master","ref":"master","sha":"d49c45f1f7eb039245704a432353098a91d27b87","user":{"login":"ivanilves","id":9897741,"node_id":"MDQ6VXNlcjk4OTc3NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/9897741?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanilves","html_url":"https://github.com/ivanilves","followers_url":"https://api.github.com/users/ivanilves/followers","following_url":"https://api.github.com/users/ivanilves/following{/other_user}","gists_url":"https://api.github.com/users/ivanilves/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanilves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanilves/subscriptions","organizations_url":"https://api.github.com/users/ivanilves/orgs","repos_url":"https://api.github.com/users/ivanilves/repos","events_url":"https://api.github.com/users/ivanilves/events{/privacy}","received_events_url":"https://api.github.com/users/ivanilves/received_events","type":"User","site_admin":false},"repo":{"id":100341708,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAzNDE3MDg=","name":"lstags","full_name":"ivanilves/lstags","owner":{"login":"ivanilves","id":9897741,"node_id":"MDQ6VXNlcjk4OTc3NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/9897741?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanilves","html_url":"https://github.com/ivanilves","followers_url":"https://api.github.com/users/ivanilves/followers","following_url":"https://api.github.com/users/ivanilves/following{/other_user}","gists_url":"https://api.github.com/users/ivanilves/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanilves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanilves/subscriptions","organizations_url":"https://api.github.com/users/ivanilves/orgs","repos_url":"https://api.github.com/users/ivanilves/repos","events_url":"https://api.github.com/users/ivanilves/events{/privacy}","received_events_url":"https://api.github.com/users/ivanilves/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivanilves/lstags","description":"Manipulate Docker images across different registries","fork":false,"url":"https://api.github.com/repos/ivanilves/lstags","forks_url":"https://api.github.com/repos/ivanilves/lstags/forks","keys_url":"https://api.github.com/repos/ivanilves/lstags/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivanilves/lstags/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivanilves/lstags/teams","hooks_url":"https://api.github.com/repos/ivanilves/lstags/hooks","issue_events_url":"https://api.github.com/repos/ivanilves/lstags/issues/events{/number}","events_url":"https://api.github.com/repos/ivanilves/lstags/events","assignees_url":"https://api.github.com/repos/ivanilves/lstags/assignees{/user}","branches_url":"https://api.github.com/repos/ivanilves/lstags/branches{/branch}","tags_url":"https://api.github.com/repos/ivanilves/lstags/tags","blobs_url":"https://api.github.com/repos/ivanilves/lstags/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivanilves/lstags/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivanilves/lstags/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivanilves/lstags/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivanilves/lstags/statuses/{sha}","languages_url":"https://api.github.com/repos/ivanilves/lstags/languages","stargazers_url":"https://api.github.com/repos/ivanilves/lstags/stargazers","contributors_url":"https://api.github.com/repos/ivanilves/lstags/contributors","subscribers_url":"https://api.github.com/repos/ivanilves/lstags/subscribers","subscription_url":"https://api.github.com/repos/ivanilves/lstags/subscription","commits_url":"https://api.github.com/repos/ivanilves/lstags/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivanilves/lstags/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivanilves/lstags/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivanilves/lstags/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivanilves/lstags/contents/{+path}","compare_url":"https://api.github.com/repos/ivanilves/lstags/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivanilves/lstags/merges","archive_url":"https://api.github.com/repos/ivanilves/lstags/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivanilves/lstags/downloads","issues_url":"https://api.github.com/repos/ivanilves/lstags/issues{/number}","pulls_url":"https://api.github.com/repos/ivanilves/lstags/pulls{/number}","milestones_url":"https://api.github.com/repos/ivanilves/lstags/milestones{/number}","notifications_url":"https://api.github.com/repos/ivanilves/lstags/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivanilves/lstags/labels{/name}","releases_url":"https://api.github.com/repos/ivanilves/lstags/releases{/id}","deployments_url":"https://api.github.com/repos/ivanilves/lstags/deployments","created_at":"2017-08-15T05:25:17Z","updated_at":"2018-08-02T03:49:46Z","pushed_at":"2018-08-06T13:58:21Z","git_url":"git://github.com/ivanilves/lstags.git","ssh_url":"git@github.com:ivanilves/lstags.git","clone_url":"https://github.com/ivanilves/lstags.git","svn_url":"https://github.com/ivanilves/lstags","homepage":"","size":8491,"stargazers_count":184,"watchers_count":184,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":10,"open_issues":11,"watchers":184,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ivanilves/lstags/pulls/168"},"html":{"href":"https://github.com/ivanilves/lstags/pull/168"},"issue":{"href":"https://api.github.com/repos/ivanilves/lstags/issues/168"},"comments":{"href":"https://api.github.com/repos/ivanilves/lstags/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/ivanilves/lstags/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/ivanilves/lstags/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ivanilves/lstags/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/ivanilves/lstags/statuses/549816033b13428fa8b72fd9c1df1ffd86226f67"}},"author_association":"OWNER"}}
{"actor":{"display_login":"vonrabbe"}}