Rebased to master and force-pushed. Added import guards and entry point, and moved `get_repo_type()` under the Extractor per Cory's suggestion.
--- ** [tickets:#6463] Create code importer for Google Code** **Status:** code-review **Labels:** import google-code **Created:** Mon Jul 15, 2013 04:31 PM UTC by Cory Johns **Last Updated:** Tue Jul 23, 2013 01:51 PM UTC **Owner:** Tim Van Steenburgh During project import, SCM needs to be included. Since Google Code only supports a single repository at a time, we should just have a single Code Importer that checks the project to discover the repo type and passes that information to the appropriate SCM tool's `clone_from_url` method. One way to discover the repo type would be to load `https://code.google.com/p/%s/source/browse/` and get the text of the item `id="crumb_root"`, which will be one of `" git/ "`, `" hg/ "`, or `" svn/ "`. --- Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.