Page MenuHomePhabricator

Add "--browse" to "arc upload" and update behavior, particularly "--json"
ClosedPublic

Authored by epriestley on May 1 2020, 3:06 PM.
Tags
None
Referenced Files
F19083320: D21202.id50496.diff
Dec 2 2025, 12:33 PM
F18985476: D21202.id50486.diff
Nov 17 2025, 1:03 PM
F18856462: D21202.id.diff
Nov 1 2025, 9:50 AM
F18854618: D21202.diff
Nov 1 2025, 12:23 AM
F18784571: D21202.id50496.diff
Oct 13 2025, 1:05 PM
F18782809: D21202.id50486.diff
Oct 13 2025, 2:40 AM
F18734284: D21202.id.diff
Sep 30 2025, 10:51 PM
F18434415: D21202.id.diff
Aug 31 2025, 9:18 AM
Subscribers
None

Details

Summary

Ref T13528. Provide a "--browse" flag to open files after they are uploaded.

Update the code to use modern query strategies.

This impacts the output of "--json", which was just raw "file.info" output before and could not represent the same path being passed several times (arc upload X X).

Test Plan

Ran arc upload with --browse and --json.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 1 2020, 4:13 PM
This revision was automatically updated to reflect the committed changes.