Page MenuHomePhabricator

Would be nice if .arcconfig supported prepopulation of the reviewers and ccs fields
Closed, WontfixPublic

Description

Arc is great in that it lets you specify the list of reviewers and ccs in the diff submittal process. But if a team has a consistent set of developers, typical of a company setting, it is a burden to retype each developer ID in for each review. Requested change is for arc to support setting a default list of reviewers and ccs in the .arcconfig file.

Event Timeline

ScopiCisco raised the priority of this task from to Normal.
ScopiCisco updated the task description. (Show Details)
ScopiCisco added a project: Arcanist.
ScopiCisco added a subscriber: ScopiCisco.

Proposed changes would be to the files

src/configuration/ArcanistSettings.php
src/workflow/ArcanistDiffWorkflow.php
src/workingcopyidentity/ArcanistWorkingCopyIdentity.php

reviewers are passable via the command line, make an alias?

Can you provide a demonstration of the proper syntax? I did try several forms of passing in reviewers on the command line and "arc" didn't like the format.

Otherwise, yes I was going to have our team create an alias for diff.

I am not a command-line master, but I did get this to trigger:

arc diff --reviewers 'epriestley, btrahan'

chad raised the priority of this task from Normal to Needs Triage.Jan 10 2015, 11:15 PM

You could also create a Herald rule to add reviewers to a diff.

epriestley claimed this task.
epriestley added a subscriber: epriestley.

We don't plan to support this. Herald or the CLI flags might be good alternatives.