Page MenuHomeFreeBSD

[Release] Add phab_review.sh for managing Phabricator reviews
AbandonedPublic

Authored by akiyano_amazon.com on Mon, Mar 9, 11:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 11, 8:02 AM
Unknown Object (File)
Wed, Mar 11, 3:01 AM
Subscribers
None

Details

Reviewers
None
Summary

Add phab_review.sh which automates the creation and management of
Phabricator revisions from git format-patch files using arcanist (arc).
The script supports three commands:

  1. create: Creates revisions and automatically adds the 'Differential Revision:' tag to each patch file, then re-uploads the updated patch to Phabricator.
  2. update-diff-tag: Adds 'Differential Revision:' tag to a patch and re-uploads it to an existing revision.
  3. update-reviewed-by: Reads the 'Differential Revision:' URL from a patch, adds 'Reviewed by:' tag, re-uploads the patch, and adds the reviewer on Phabricator.

Prerequisites: arc (arcanist) configured with reviews.freebsd.org, jq.

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Change-Id: I2e502f38e1b1afaef9937eaaa5c1c7c2d28a239b

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

akiyano_amazon.com planned changes to this revision.
akiyano_amazon.com created this revision.