Page MenuHomeFreeBSD

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

Authored by akiyano_amazon.com on Mar 9 2026, 11:07 PM.
Tags
None
Referenced Files
F152460029: D55782.diff
Wed, Apr 15, 2:35 AM
Unknown Object (File)
Sat, Apr 11, 5:10 PM
Unknown Object (File)
Sat, Apr 11, 4:03 AM
Unknown Object (File)
Sun, Apr 5, 8:55 AM
Unknown Object (File)
Thu, Apr 2, 7:15 AM
Unknown Object (File)
Thu, Mar 26, 7:02 PM
Unknown Object (File)
Sun, Mar 22, 4:19 PM
Unknown Object (File)
Fri, Mar 20, 1:26 PM
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.