Difference between revisions of "Arcanist setup"

From Software Heritage Wiki
Jump to navigation Jump to search
m (typo)
Line 16: Line 16:
  
 
arc will prompt you to login into Phabricator via web (which will ask your personal Phabricator credentials).
 
arc will prompt you to login into Phabricator via web (which will ask your personal Phabricator credentials).
You will then have to copy past the API token from the web page to arc, and hit Enter to complete the certificate installation.
+
You will then have to copy paste the API token from the web page to arc, and hit Enter to complete the certificate installation.
  
 
'''All done!''' Now have a look at ''arc help'' and start hacking.
 
'''All done!''' Now have a look at ''arc help'' and start hacking.

Revision as of 22:37, 8 January 2021

Arcanist is a command line interface to Phabricator. This page details how to configure it for use with the Software Heritage forge.

Installation

# apt-get install arcanist

Configuration

$ arc set-config default https://forge.softwareheritage.org/
$ arc install-certificate

arc will prompt you to login into Phabricator via web (which will ask your personal Phabricator credentials). You will then have to copy paste the API token from the web page to arc, and hit Enter to complete the certificate installation.

All done! Now have a look at arc help and start hacking.

Configuration file

Arcanist configuration is stored in ~/.arcrc.

Links