{"action":"created","issue":{"url":"https://api.github.com/repos/drush-ops/drush/issues/1630","labels_url":"https://api.github.com/repos/drush-ops/drush/issues/1630/labels{/name}","comments_url":"https://api.github.com/repos/drush-ops/drush/issues/1630/comments","events_url":"https://api.github.com/repos/drush-ops/drush/issues/1630/events","html_url":"https://github.com/drush-ops/drush/issues/1630","id":108339972,"number":1630,"title":"Support for GitHub to checkout and update projects.","user":{"login":"kenorb","id":266306,"avatar_url":"https://avatars.githubusercontent.com/u/266306?v=3","gravatar_id":"","url":"https://api.github.com/users/kenorb","html_url":"https://github.com/kenorb","followers_url":"https://api.github.com/users/kenorb/followers","following_url":"https://api.github.com/users/kenorb/following{/other_user}","gists_url":"https://api.github.com/users/kenorb/gists{/gist_id}","starred_url":"https://api.github.com/users/kenorb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenorb/subscriptions","organizations_url":"https://api.github.com/users/kenorb/orgs","repos_url":"https://api.github.com/users/kenorb/repos","events_url":"https://api.github.com/users/kenorb/events{/privacy}","received_events_url":"https://api.github.com/users/kenorb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-25T14:44:56Z","updated_at":"2016-01-15T12:55:21Z","closed_at":"2015-09-27T02:10:33Z","body":"Is there any way of using GitHub as a handler for downloading the modules.\r\n\r\nNormally you would do:\r\n\r\n    drush -y dl views --dev\r\n\r\nWhere by default we're using `git_drupalorg` as `--package-handler` if I'm looking on the correct parameter.\r\n\r\nIs there any way to change the default repository and use GitHub instead?\r\n\r\nSo I would expect something like:\r\n\r\n    drush -y dl org/repo --dev --package-handler=github\r\n\r\nwhich I would expect to download the project from GitHub.\r\n\r\nI know I can use `yml`/`make` files, but I'm checking for possibility to do it from the command-line. So if there is the existing option (`git_drupalorg`):\r\n\r\n> Use git.drupal.org to checkout and update projects. \r\n\r\nI would expect different handlers to be present.\r\n\r\n--\r\n\r\nUpdate: Now I see there are only two package handlers in [`commands/pm/package_handler`](https://github.com/drush-ops/drush/tree/master/commands/pm/package_handler).\r\n\r\nWould it be possible/accepted to provide additional one for GitHub?"},"comment":{"url":"https://api.github.com/repos/drush-ops/drush/issues/comments/171952927","html_url":"https://github.com/drush-ops/drush/issues/1630#issuecomment-171952927","issue_url":"https://api.github.com/repos/drush-ops/drush/issues/1630","id":171952927,"user":{"login":"kenorb","id":266306,"avatar_url":"https://avatars.githubusercontent.com/u/266306?v=3","gravatar_id":"","url":"https://api.github.com/users/kenorb","html_url":"https://github.com/kenorb","followers_url":"https://api.github.com/users/kenorb/followers","following_url":"https://api.github.com/users/kenorb/following{/other_user}","gists_url":"https://api.github.com/users/kenorb/gists{/gist_id}","starred_url":"https://api.github.com/users/kenorb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenorb/subscriptions","organizations_url":"https://api.github.com/users/kenorb/orgs","repos_url":"https://api.github.com/users/kenorb/repos","events_url":"https://api.github.com/users/kenorb/events{/privacy}","received_events_url":"https://api.github.com/users/kenorb/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T12:55:21Z","updated_at":"2016-01-15T12:55:21Z","body":"Related: https://www.drupal.org/project/git_deploy and:\r\n\r\n    drush pm-download --package-handler=git_drupalorg --gitinfofile"}}