Import Trello card JSON into Phabricator
Processes Trello board exported as JSON to import its cards as
Phabricator tasks. It imports name, description, members and commenters
(as task subscribers), labels (as text in description), and checklists
(as markup in description). Doesn't handle attachments, comments,
correct timestamps and authors, etc. Phabricator user "Trellimport"
makes all the changes in the present.
Similar to bugzilla_import.py, but does much less, runs in a single
shot, and only uses the phabricator conduit API.
Uses TrelloCard, TrelloDAO, and TrelloScrubber objects from a
"cburroughs"'s export_trello.py to figure_stuff_out().
Modifies cburroughs export_trello.py to
- handle changes in the Trello JSON format of idLabels, column list, and shortUrl
- write out idLabels, generate checklists in Description
- fake out its setup_logging()
It uneasily combines two logging systems and options.
You have to first generate Trello name -> Phabricator PHID mappings, see
change Ia574d589. Detailed instructions to run this are in
trello_create.py, more info is in
T821. spage is happy to help!