{"action":"closed","issue":{"url":"https://api.github.com/repos/datalad/datalad/issues/394","repository_url":"https://api.github.com/repos/datalad/datalad","labels_url":"https://api.github.com/repos/datalad/datalad/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/datalad/datalad/issues/394/comments","events_url":"https://api.github.com/repos/datalad/datalad/issues/394/events","html_url":"https://github.com/datalad/datalad/issues/394","id":145663559,"number":394,"title":"install could be more clever with a single URL given","user":{"login":"hanke","id":136479,"avatar_url":"https://avatars.githubusercontent.com/u/136479?v=3","gravatar_id":"","url":"https://api.github.com/users/hanke","html_url":"https://github.com/hanke","followers_url":"https://api.github.com/users/hanke/followers","following_url":"https://api.github.com/users/hanke/following{/other_user}","gists_url":"https://api.github.com/users/hanke/gists{/gist_id}","starred_url":"https://api.github.com/users/hanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanke/subscriptions","organizations_url":"https://api.github.com/users/hanke/orgs","repos_url":"https://api.github.com/users/hanke/repos","events_url":"https://api.github.com/users/hanke/events{/privacy}","received_events_url":"https://api.github.com/users/hanke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"hanke","id":136479,"avatar_url":"https://avatars.githubusercontent.com/u/136479?v=3","gravatar_id":"","url":"https://api.github.com/users/hanke","html_url":"https://github.com/hanke","followers_url":"https://api.github.com/users/hanke/followers","following_url":"https://api.github.com/users/hanke/following{/other_user}","gists_url":"https://api.github.com/users/hanke/gists{/gist_id}","starred_url":"https://api.github.com/users/hanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanke/subscriptions","organizations_url":"https://api.github.com/users/hanke/orgs","repos_url":"https://api.github.com/users/hanke/repos","events_url":"https://api.github.com/users/hanke/events{/privacy}","received_events_url":"https://api.github.com/users/hanke/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/datalad/datalad/milestones/22","html_url":"https://github.com/datalad/datalad/milestones/Publication%20(tracking)","labels_url":"https://api.github.com/repos/datalad/datalad/milestones/22/labels","id":1482873,"number":22,"title":"Publication (tracking)","description":"This milestone is being abused by Michael for his education. It collects issues regarding the publication of collections and handles.","creator":{"login":"hanke","id":136479,"avatar_url":"https://avatars.githubusercontent.com/u/136479?v=3","gravatar_id":"","url":"https://api.github.com/users/hanke","html_url":"https://github.com/hanke","followers_url":"https://api.github.com/users/hanke/followers","following_url":"https://api.github.com/users/hanke/following{/other_user}","gists_url":"https://api.github.com/users/hanke/gists{/gist_id}","starred_url":"https://api.github.com/users/hanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanke/subscriptions","organizations_url":"https://api.github.com/users/hanke/orgs","repos_url":"https://api.github.com/users/hanke/repos","events_url":"https://api.github.com/users/hanke/events{/privacy}","received_events_url":"https://api.github.com/users/hanke/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":9,"state":"open","created_at":"2016-01-04T17:02:49Z","updated_at":"2016-05-11T16:07:10Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-04-04T12:01:00Z","updated_at":"2016-05-11T16:07:10Z","closed_at":"2016-05-11T16:07:10Z","body":"````\r\n% datalad install https://github.com/psychoinformatics-de/studyforrest-data-visualrois.git\r\n1 installed item is available at\r\n<Dataset path=/tmp/https:/github.com/psychoinformatics-de/studyforrest-data-visualrois.git>\r\n````\r\n\r\nThe result (an empty repo) is most likely not intended. One solution would be to special case a single argument that looks like a URL and mimic the behavior of `git clone` in this case."}}