Arcanist is an interface to Phabricator, and provides command-line access to many of its tools
Questions tagged [arcanist]
121 questions
4
votes
0 answers
arcanist / curl is unable to make ssl connections
I use phabricator and arcanist in my projects. This works well over a long time, but (after a long break i did) I'm now unable to use arcanis, if arcanist needs to connect to the phabricator-server.
Because arcanist uses cUrl for communication, this…

The Bndr
- 13,204
- 16
- 68
- 107
4
votes
2 answers
how to run arc diff in a script, without prompting for a message
Phabricator's arcanist command line tool allows you to add a "diff" for revision. This is useful because you can quickly generate a diff which your colleagues can review.
Normally, running arc diff master, for example, will prompt your for a diff…

alberto56
- 2,997
- 3
- 28
- 47
4
votes
1 answer
How to get a C# Arcanist linter working?
Here is what it says when I run arc linters --verbose:
AVAILABLE csharp (C#)
Configuration Options
severity (optional map)
Provide a map from lint codes to adjusted severity levels: error,
warning, advice, autofix or…

Travis Rotz
- 153
- 1
- 9
4
votes
2 answers
Restore deleted git branch from Phabricator revision
I have an opened phabricator revision and I have accidentally deleted the underlying git branch.
I can retrieve the diffs from the revision and re-create the branch.
But, Is there a way howto restore the deleted branch from the revision?

Aleš
- 8,896
- 8
- 62
- 107
4
votes
0 answers
Phabricator SSL certificate not trusted
I have problem with arc install-certificate instruction
Configuration : Linux Mint 16 (Petra)
What I did by now :
I have put my public key to phabricator web (I can now do all git instructions with no problem)
I have downloaded my custom.pem…

Ivan Longin
- 3,207
- 4
- 33
- 42
4
votes
2 answers
Automatically running PHPUnit tests with Arcanist (Phabricator)
A "simple" question: how can I automatically run PHPunit tests with Arcanist?
According to the documentation I should first load a custom library. As stated here I should create a .arcconfig file and load the appropriate library.
So: I've create a…

Matthijs
- 1,112
- 2
- 12
- 28
4
votes
2 answers
Phabricator review all commits
I have created a new git repository for a new project and added several commits. I want to request my colleague to review the entire project in Phabricator.
Is there an Arcanist command which I can issue which will cause the entire project, with…

James Brock
- 3,236
- 1
- 28
- 33
3
votes
1 answer
How to update local branch with arcanist when doing code review?
Standard workflow in git to checkout code for review:
git fetch -a && git checkout branch-to-review
Other engineer makes some changes and pushes to branch-to-review.
git pull origin branch-to-review to update your local copy to review.
Workflow…

Geuis
- 41,122
- 56
- 157
- 219
3
votes
1 answer
Equivalent of 'arc diff --preview' for Git?
In Phabricator/Arcanist, there is a command arc diff --preview which lets you see all your code changes in a nice UI before you send it off to code review (see
https://secure.phabricator.com/book/phabricator/article/arcanist_diff/ for more…

Michael
- 776
- 4
- 19
3
votes
1 answer
How to Delete a Phabricator Diff
I made a diff in Phabricator containing a config file with sensitive information. Usually I would be content with abandoning the diff, but I don't want anybody seeing my password (even after I change it)
I should have been more careful when making…

Matthew Marcos
- 31
- 1
- 2
3
votes
1 answer
Arcanist unit tests take several minutes
We have a legacy codebase which we've just started adding unit test coverage. This means that while we have a massive codebase (1.5million lines, at least 600 classes, plus support, template files), we only have one or two unit tests in the entire…

cwallenpoole
- 79,954
- 26
- 128
- 166
3
votes
1 answer
Skip Unit Tests -Arcanist
We (the royal we) have a number of unit tests (several thousand). Some are still dependent on external services because when they were written, the service dependencies were not stubbed out. VCR was used as a way to triage this.
I am spending time…

Brandt Solovij
- 2,124
- 13
- 24
3
votes
2 answers
How do I split an existing phabricator diff into two?
I've got one big diff of code up for review, but it really should be split into two separate diffs.
There are many commits associated with each diff, and I could figure out which one (mostly) splits the string of commits into the two different…

Hillary Sanders
- 5,778
- 10
- 33
- 50
3
votes
1 answer
How do I add a Task ID field in phabricator?
I am trying to have the template of Phabricator's arc diff something similar to this:
Some title
Summary:
Reviewers:
TaskID: (← missing!)
Subscribers:
By default, Phabricator doesn't come with a "TaskID field". Is there any buildin support, or…

Pandapio
- 31
- 2
3
votes
3 answers
Phabricator: how to make arc diff ignore untracked files and how to edit reviewers
I recently set up Phabricator for my team, and I have two questions regarding to "arc" behavior.
When I want to send a review, I do
git add
git commit
arc diff
now, if I have untracked files, arc will not let me do it unless I commit those…

user2002692
- 971
- 2
- 17
- 34