Details
I am trying arc diff in my git repo which is hosted by my own gitlab installation.
First I have a .arcconfig with only:
{ "phabricator.uri" : "https://phab.mydomain.com" }
And arc diff reports: Exception: Required key 'project_id' is missing from '.arcconfig' file '/myproject/.arcconfig'.
I tried to fix it with:
{ "phabricator.uri" : "https://phab.mydomain.com", "project_id": 1 }
But then I got: ERR-CONDUIT-CALL: API Method "differential.creatediff" does not define these parameters: 'arcanistProject'.
I tried to go through all the guides but could not find anything helpful to this.
Anyone could help me. Thanks a lot.
Answers
Your local version of arc is a couple of years out of date. You need to update it reinstall it. See https://secure.phabricator.com/book/phabricator/article/arcanist_quick_start/ for instructions.
If you used some other instructions, those are wrong and you should contact wherever wrote them to get them fixed.