Arcanist is an interface to Phabricator, and provides command-line access to many of its tools
Questions tagged [arcanist]
121 questions
2
votes
1 answer
Phabricator review only specific files
I want to create some diff's out of some specific files, discarding the git history on them
Is that possible?
Something like
arc diff -- file1.{h,cpp} file2.{h,cpp}
I know it might sound counter productive, but I have a big batch of code, with…

Sam
- 19,708
- 4
- 59
- 82
2
votes
0 answers
Arcanist - doing an "arc diff" after a git push
Arcanist noob here.
I want to run "arc diff" but the problem is that I already did a "git push" to our remote git repository. Perhaps there is another arc command to see the diff even after a push? Couldn't find such a command in the Arcanist files.

Alexander Mills
- 90,741
- 139
- 482
- 817
2
votes
2 answers
arc land "Not possible to fast-forward, aborting."
i am trying to land my arc patch. I am up-to-date with origin/master, my patch was reviewed and accepted. On teh phabricator site is says: Next Step arc land 'arcpatch-D37'.
But if i use arc patch D37 and then arc land i run into problems.
It breaks…

Andresch Serj
- 35,217
- 15
- 59
- 101
2
votes
1 answer
arcanist editor exception in git-bash on windows
Has anyone ever seen behavior like this:
<<< [34] 139,398 us
>>> [35] $ vim "C:\Users\JMORDE~1\AppData\Local\Temp\edit.aannm9clj1kosok4\new-commit"
<<< [35] 1,489 us
PHP Fatal error: Uncaught exception 'Exception' with message…

j03m
- 5,195
- 4
- 46
- 50
1
vote
1 answer
How to disable the "autoland" when running "arc diff"?
When I run arc diff, it asks Autoland after builds pass and reviewers approve (Default Y)? [Y/n].
Can we change the setting to disable the autoland by default and avoid getting this question?

Shannon
- 985
- 3
- 11
- 25
1
vote
0 answers
Arcanist: Arc Land Exception
I'm trying to arc land with arcanist but I'm getting the following exception:
[2021-07-23 08:44:49] EXCEPTION: (ConduitClientException) ERR-CONDUIT-CALL: Conduit API method "harbormaster.buildable.search" does not…

patrick_star
- 63
- 6
1
vote
0 answers
How to use arc land with a git-svn repository?
There is a svn repository located in https://host:port/codebase/project, without tags or branches subdirectories. Normally using with SVN, people svn checkout https://host:port/codebase/project to get working copy, and using arc diff and arc commit…

Ch'en Meng
- 363
- 3
- 14
1
vote
1 answer
Arc diff in newly created repository throws exception ‘hg: parse error: empty query’
I’m facing an exception when using arc diff in a newly created Mercurial repository.
First, I created a new Mercurial repository via my self-hosted phabricator server. Then, I cloned the empty project to my local machine (macOS Mojave 10.14.2).…

Desmond Ding
- 103
- 7
1
vote
1 answer
How do I setup YAML linting in Arcanist?
I can't figure out how to do custom linting pre-diff in Arcanist (YAML, specifically). The instructions don't explain how to integrate a new linter into my existing .arclint configuration.

acjay
- 34,571
- 6
- 57
- 100
1
vote
1 answer
Arcanist automatically populate reviewers line based on arc cover
If you run arc cover it will show you who last edited the lines you have changed, which is good for deciding who should be reviewers.
Is there a way to have Arcanist automatically do this and then pre-populate the Reviewers: line in the commit…

Timmmm
- 88,195
- 71
- 364
- 509
1
vote
1 answer
arc lint command fails with error #1
I've configured arc lint to use pylint by defining linters in .arclint file:
{
"linters": {
"pylint": {
"type": "pylint",
"include": "(\\.py$)"
}
}
}
After exectuing arc lint command on any *.py I am getting next…

Andriy Ivaneyko
- 20,639
- 6
- 60
- 82
1
vote
0 answers
Arcanist/Phabricator How to override a linter's bin locally
Our linter is configured in a .arcconfig file in a project.
I would like to locally override it to be /usr/local/bin/php56 phpcs instead of the default phpcs.
However I do not want to alter the config file as that is in the repository, how can I…

Rafael Dohms
- 207
- 2
- 8
1
vote
1 answer
arcanist error with RocksDB on fresh install (Mac OS X)
I have installed a fresh copy of arcanist on to Mac OS X El Capitan (10.11.4) into /usr/local/phabricator/arcanist.
If I first cd into /usr/local/phabricator/arcanist and run either bin/arc or just arc (as I added /usr/local/phabricator/arcanist/bin…

adamretter
- 3,885
- 2
- 23
- 43
1
vote
1 answer
Failed to execute "arc diff": not found configuration
Here is the logging of the execution of arc diff:
$ arc diff --trace
ARGV '/Users/yangyan/Meican/arcanist/bin/../scripts/arcanist.php' 'diff' '--trace'
LOAD Loaded "phutil" from "/Users/yangyan/Meican/libphutil/src".
LOAD Loaded "arcanist"…

Yan Yang
- 1,804
- 2
- 15
- 37
1
vote
1 answer
Jenkins is unable to run arc
Here is a brief description of my current setup. We use
Git : revision control system
Phabricator : Code Review
Jenkins : for Continuous Integration and running builds.
Plugins : Phabricator differential, windows slaves…

PhD
- 35
- 10