Useful reference code for cloning all repos of an organization.
Example 1:
[joe@localhost github-tools]$ ./get_repo_list_by_org.py openshift
Found: rhc - clone URL: [email protected]:openshift/rhc.git
Found: django-example - clone URL: [email protected]:openshift/django-example.git
Found: rails-example - clone URL: [email protected]:openshift/rails-example.git
Found: cakephp-example - clone URL: [email protected]:openshift/cakephp-example.git
Found: wordpress-example - clone URL: [email protected]:openshift/wordpress-example.git
Found: sinatra-example - clone URL: [email protected]:openshift/sinatra-example.git
Found: piwik-openshift-quickstart - clone URL: [email protected]:openshift/piwik-openshift-quickstart.git
Found: flask-example - clone URL: [email protected]:openshift/flask-example.git
Found: joomla-example - clone URL: [email protected]:openshift/joomla-example.git
Found: openshift-java-client - clone URL: [email protected]:openshift/openshift-java-client.git
Found: jboss-as7-modules - clone URL: [email protected]:openshift/jboss-as7-modules.git
Found: CodeIgniterQuickStart - clone URL: [email protected]:openshift/CodeIgniterQuickStart.git
Found: openshift.github.com - clone URL: [email protected]:openshift/openshift.github.com.git
Found: magento-example - clone URL: [email protected]:openshift/magento-example.git
Found: openshift-diy-binhello-demo - clone URL: [email protected]:openshift/openshift-diy-binhello-demo.git
Found: kitchensink-example - clone URL: [email protected]:openshift/kitchensink-example.git
Found: python-interface - clone URL: [email protected]:openshift/python-interface.git
Found: etherpad-example - clone URL: [email protected]:openshift/etherpad-example.git
Found: dokuwiki-quickstart - clone URL: [email protected]:openshift/dokuwiki-quickstart.git
Found: origin-server - clone URL: [email protected]:openshift/origin-server.git
Found: jenkins-cloud-plugin - clone URL: [email protected]:openshift/jenkins-cloud-plugin.git
Found: spring-eap6-quickstart - clone URL: [email protected]:openshift/spring-eap6-quickstart.git
Found: test-pull-requests - clone URL: [email protected]:openshift/test-pull-requests.git
Found: capedwarf-example - clone URL: [email protected]:openshift/capedwarf-example.git
Found: capedwarf-example-modules - clone URL: [email protected]:openshift/capedwarf-example-modules.git
Found: mod_vhost_choke - clone URL: [email protected]:openshift/mod_vhost_choke.git
Found: jboss-eap6-modules - clone URL: [email protected]:openshift/jboss-eap6-modules.git
Found: origin-dev-tools - clone URL: [email protected]:openshift/origin-dev-tools.git
Found: owncloud-openshift-quickstart - clone URL: [email protected]:openshift/owncloud-openshift-quickstart.git
Found: origin-community-cartridges - clone URL: [email protected]:openshift/origin-community-cartridges.git
Example 2:
[joe@localhost github-tools]$ ./get_repo_list_by_org.py masterpeace
Found: foobar - clone URL: [email protected]:MasterPeace/foobar.git