How do I Export Phabricator Diff HTML for history and logs

时间:2016-08-31 16:48:24

标签: export phabricator

I'm going to be transitioning to another diff tool and no longer use Phabricator, however, my organization wants to keep a history of all the Diffs and the approvals processes that happened in Phabricator. Does anyone know how to export it into HTML, or a format that is good for reading like a log?

1 个答案:

答案 0 :(得分:0)

  1. 您可以使用differential.querydiffs等管道调用来获取Diffs。
  2. 然后提取HTML部分并按Diff构建单个文件。
  3. 管道示例:

    $ echo '{
      "ids": [
        "362"
      ]
    }' | arc call-conduit --conduit-uri <phabricator-uri> --conduit-token <conduit-token> differential.querydiffs