Given a checked-out Git repository known to Diffusion, how do I find a unique identifier for the repository within Phabricator? Ideally, the repository's callsign, or its PHID.
I used to run arc which and look for the callsign, but recently the output of this command was changed to give the name of the repository instead.
I want this information so that I can feed it into the [[ https://secure.phabricator.com/conduit/method/diffusion.looksoon/ | diffusion.looksoon ]] API method. I would like to create an alias arc looksoon that I could occasionally use.
The trouble is that that could sometimes give the wrong answer, because querying the Git URI is not the only way that arc itself finds the repository; for example, the repository callsign can be hardcoded into .arcconfig.
As you say, machine-readable output for arc which would be helpful, here.