We should send an email when each tool is done being imported. Repo clone already sends an email, so that's not needed.
On the project & individual import pages, we should say that an email will be sent (for each tool in the project) so that folks know to wait for that notice that its done.
Meh. Honestly not thrilled about this solution, although it works fine. Open to discussion of alternative solutions if anyone feels like it.
One alternative would be to rename
import_tool()
todo_import()
on all the ToolImporter subclasses. Then we could calldo_import()
fromToolImporter.import_tool()
, and keep common logic inToolImporter.import_tool()
. We'd still end up touching every repo, but maybe we'd be better off in the long run? I dunno. Couldn't decide if it was worth doing something like that for this ticket.Changes here:
I think if we make
base.import_tool
accept either the EP name or the class (name?) we could reduce the redundancy.There is now only only import_tool task, hooray!
Force-pushed new commits to:
forge:tv/6670
tracwikiimporter:tv/6670
googlecodewikiimporter:tv/6670