Page MenuHomePhabricator

Improve some messaging in `arc which` for autodetection of repositories
ClosedPublic

Authored by epriestley on Jan 28 2014, 2:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 6:56 PM
Unknown Object (File)
Fri, Apr 12, 1:47 PM
Unknown Object (File)
Fri, Apr 12, 11:48 AM
Unknown Object (File)
Fri, Apr 12, 11:48 AM
Unknown Object (File)
Fri, Apr 12, 10:55 AM
Unknown Object (File)
Mar 25 2024, 1:13 AM
Unknown Object (File)
Feb 15 2024, 2:36 AM
Unknown Object (File)
Feb 15 2024, 2:36 AM
Subscribers

Details

Summary
  • The modern name for the config is "project.name".
  • Missing parameter in a pht().
  • When the value is set, but not valid, we gave you a misleading error message.
Test Plan

Ran arc which.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

src/workflow/ArcanistBaseWorkflow.php
1661

This slightly lies though, doesn't it? getProjectID() falls back to fetching project_id

src/workflow/ArcanistBaseWorkflow.php
1661

"project_id" is a deprecated spelling of "project.name"; "project.id" (. vs _) was never correct, I just neglected to fix it after renaming project.id -> project.name mid-patch.