OpenSUSE installing arcanist
System version: leap 15.2
First, install PHP
sudo zypper in php7
Then, install arcanist
When arcanist is installed, its dependent php7 curl is automatically installed
[email protected]:~> sudo zypper in arcanist
Loading software source data
Reading installed packages
Resolving package dependencies
The following 2 new packages will be installed:
arcanist php7-curl
Two software packages will be newly installed
Total download size: 1.4 MIB. Cached: 0 B. After the operation is completed, an additional 8.7 MIB will be used.
Continue? [y / N / V /...? show all options] (y): y
Retrieving package php7-curl-7.4.6-lp152 2.15.1. x86_ 64 (1 / 2), 65.6 KIB (99.3 KIB after decompression)
Retrieving: php7-curl-7.4.6-lp152 2.15.1. x86_ 64.rpm ..................................... [done]
Retrieving package arcanist-0.0 ~ GIT 20200426T084008~b81818b2-lp152. 1.1. noarch
(2 / 2), 1.4 MIB (8.6 MIB after decompression)
Retrieving: arcanist-0.0 ~ GIT 20200426T084008~b81818b2-lp152. 1.1. noarch. RPM [done (408.7 KIB / s)]
Checking for file conflicts: [done]
(1 / 2) installing: php7-curl-7.4.6-lp152 2.15.1. x86_ 64 .................................... [done]
(2 / 2) installing: arcanist-0.0 ~ GIT 20200426T084008~b81818b2-lp152. 1.1. noarch ............. [done]
Check whether arcanist is installed successfully
[email protected]:~> arc help
NAME
arc
WORKFLOWS
alias
alias command target -- [arguments]
Create and modify command aliases.
amend [options] --
Amend the working copy, synchronizing the local commit message.
anoid
Pilot a probe from the vessel "Arcanoid".
bookmarks
Show an enhanced view of bookmarks in the working copy.
branches
Show an enhanced view of branches in the working copy.
browse [options] -- target ...
browse -- file-name
browse -- object-name
Open a file or object in a local web browser.
call-conduit -- method
Call Conduit API methods.
close-revision
close-revision [options] revision
commit
commit [--revision revision_id] [--show]
cover
cover [--rev revision] [path ...]
diff
diff [paths] (svn)
diff [commit] (git, hg)
download [options] -- file
Download a file to local disk.
export
export [paths] format (svn)
export [commit_range] format (git, hg)
export --revision revision_id format
export --diff diff_id format
get-config
get-config [options] -- [name ...]
help [command]
Show this help, or workflow help for command.
inspect [options] -- object
Show internal object information.
install-certificate
install-certificate [uri]
land [options] -- [ref ...]
Publish reviewed changes.
liberate
liberate [path]
Create or update an Arcanist library.
lint
lint [options] [paths]
lint [options] --rev [rev]
linters
linters [options] [name]
list
list
look
look [options] -- thing
You stand in the middle of a small clearing.
paste [options] --
paste [options] -- object
patch
patch D12345
patch --revision revision_id
patch --diff diff_id
patch --patch file
patch --arcbundle bundlefile
prompts workflow
set-config
set-config [options] -- name value
shell-complete
Install shell completion.
tasks
tasks [options]
todo
todo summary [options]
unit
unit [options] [paths]
unit [options] --rev [rev]
upgrade
Upgrade Arcanist to the latest version.
upload [options] -- file [file ...]
Upload files.
version
Show toolset version information.
weld [options] -- file file ...
Robustly fuse files together.
which
which [options] (svn)
which [options] [commit] (hg, git)
work [--start start] symbol
Begin or resume work.
OPTION REFERENCE
--conduit-token token
Use a specific authentication token.
--conduit-uri uri
Connect to Phabricator install specified by uri.
--config key=value
Specify a runtime configuration value.
--config-file path
Load one or more configuration files. If this flag is provided, the
system and user configuration files are ignored.
--library path
Load a library.
Use help command for a detailed command reference.
Use --show-standard-options to show additional options.
Configure arcanist
Set the editor for arcanist
[email protected]:~> arc set-config editor "vim";
Set key "editor" = "vim" in user config (was null).
Set the phabricator address of arcanist. Note that this depends on the phabricator you use.
[email protected]:~> arc set-config default http://project.pha.com/;
Set key "default" = "http://project.pha.com/" in user config (was null).
Install the certificate for arcanist. You need to go to the phabricator, find the API token, and then copy it to the place where you need to fill in the blanks.
[email protected]:~> arc install-certificate;
CONNECT Connecting to "http://project.pha.com/api/"...
LOGIN TO PHABRICATOR
Open this page in your browser and login to Phabricator if necessary:
http://project.pha.com/conduit/login/
Then paste the API Token on that page below.
Paste API Token from that page: api-fnv1k7hxixd6gbzvp34ig6tbxkdd
You are installing a standard API token, but a CLI API token was expected. If you're writing a script, consider passing the token at runtime with --conduit-token instead of installing it.
Install this token anyway? [y/N] y
Writing ~/.arcrc...
SUCCESS! API Token installed.
The installation is complete and ready for use=_+