{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/1971","labels_url":"https://api.github.com/repos/gogits/gogs/issues/1971/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/1971/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/1971/events","html_url":"https://github.com/gogits/gogs/issues/1971","id":117358683,"number":1971,"title":"Wrong migration URL gives 500 error","user":{"login":"stonerl","id":2091312,"avatar_url":"https://avatars.githubusercontent.com/u/2091312?v=3","gravatar_id":"","url":"https://api.github.com/users/stonerl","html_url":"https://github.com/stonerl","followers_url":"https://api.github.com/users/stonerl/followers","following_url":"https://api.github.com/users/stonerl/following{/other_user}","gists_url":"https://api.github.com/users/stonerl/gists{/gist_id}","starred_url":"https://api.github.com/users/stonerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stonerl/subscriptions","organizations_url":"https://api.github.com/users/stonerl/orgs","repos_url":"https://api.github.com/users/stonerl/repos","events_url":"https://api.github.com/users/stonerl/events{/privacy}","received_events_url":"https://api.github.com/users/stonerl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/gogits/gogs/labels/feedback%20needed","name":"feedback needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gogits/gogs/milestones/14","html_url":"https://github.com/gogits/gogs/milestones/0.7.x","labels_url":"https://api.github.com/repos/gogits/gogs/milestones/14/labels","id":1391993,"number":14,"title":"0.7.x","description":"","creator":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":66,"state":"open","created_at":"2015-11-03T18:59:46Z","updated_at":"2015-11-19T16:40:52Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-11-17T13:54:41Z","updated_at":"2015-11-19T16:47:26Z","closed_at":null,"body":"Here is an example for a repo that does not exists ```https://rokuhara.japanologie.kultur.uni-tuebingen.de/Zenodotos.git/```\r\n\r\nWhen I do a local ```git clone```:\r\n```\r\n$ git clone https://rokuhara.japanologie.kultur.uni-tuebingen.de/Zenodotos.git/\r\nCloning into 'Zenodotos'...\r\nfatal: repository 'https://rokuhara.japanologie.kultur.uni-tuebingen.de/Zenodotos.git/' not found\r\n```\r\nWhen I use the above URL to migrate a repository to GOGS, GOGS does not notice that this is an invalid URL. It tries to clone from the URL for about <strike>two</strike> three minutes and eventually gives a 500 errorpage.\r\n\r\nInstead it should notify the user that the URL is wrong."},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/158114912","html_url":"https://github.com/gogits/gogs/issues/1971#issuecomment-158114912","issue_url":"https://api.github.com/repos/gogits/gogs/issues/1971","id":158114912,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T16:47:26Z","updated_at":"2015-11-19T16:47:26Z","body":"I have edited my last comment."}}