How do I invoke it?  I don't see any new admin options, and it doesn't run when 
I do a google code import from `/p/import_project/google-code/`  Does it need a 
`[allura.importers]` entry?

We can't add a hard dependency on ForgeHg.  Could ForgeHg have its own 
importer?  Something good (not hacky) would be best here, since other importers 
may need to dynamically select the right SCM tool too.  (Yet another entry 
point?)  Somewhat similarly, we also need to gracefully not support svn & git 
imports if those tools are not set up.


---

** [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:31 AM 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.

Reply via email to