Difference between revisions of "Arcanist setup"

From Software Heritage Wiki
Jump to navigation Jump to search
m (1 revision: import public pages from the intranet wiki)
(Redirect to swhdocs)
Tag: New redirect
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[https://secure.phabricator.com/book/phabricator/article/arcanist/ Arcanist] is a command line interface to [[Phabricator]].
+
#REDIRECT [[swhdocs:devel/contributing/phabricator.html#arcanist-configuration]]
This page details how to configure it for use with the [[Software Heritage]] forge.
 
 
 
== Installation ==
 
 
 
<pre>
 
# apt-get install arcanist
 
</pre>
 
 
 
== Configuration ==
 
 
 
<pre>
 
$ arc set-config default https://USERNAME:PASSWORD@forge.softwareheritage.org/
 
</pre>
 
 
 
where USERNAME/PASSWORD are the general credentials used to access the various Software Heritage websites.
 
(No username/password will be needed for this step in the future, once Software Heritage goes public.)
 
 
 
<pre>
 
$ arc install-certificate
 
</pre>
 
 
 
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.
 
 
 
'''All done!''' Now have a look at ''arc help'' and start hacking.
 
 
 
=== Configuration file ===
 
 
 
Arcanist configuration is stored in ''~/.arcrc''.
 
 
 
== Links ==
 
 
 
* [https://www.mediawiki.org/wiki/Phabricator/Arcanist#Setup Wikimedia guide to Arcanist setup]
 
  
  
 
[[Category:Software development]]
 
[[Category:Software development]]

Latest revision as of 11:12, 22 March 2021