HomePhabricator

Import Trello card JSON into Phabricator

Description

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()
  • etc.

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
https://www.mediawiki.org/wiki/Phabricator/Trello_to_Phabricator and
T821. spage is happy to help!

Bug: T821
Change-Id: Ia57b5c034bf58f8f3c502a2fa98ed779c135f1cd

Details

Provenance
SpageAuthored on
Parents
rPHTOcb46ee27b464: Add "cburroughs" file from P1407
Branches
Unknown
Tags
Unknown
References
refs/changes/57/179057/5
ChangeId
Ia57b5c034bf58f8f3c502a2fa98ed779c135f1cd