Phabricator

how to configure phabricator with a non root url?

倖福魔咒の 提交于 2019-12-10 04:24:36
问题 I am trying to install phabricator behind apache http server. The problem is that i would like to have an url like http://myserver.fr.xxxx/phabricator and not http://myserver.fr.xxxx/ i have tried several configuration in apache but i am not able to have phabricator working correctly (alias,redirect). Is there any solution with a tricky apache configuration or phabricator future release to handle this ? 回答1: This is not supported, and we do not plan to support it. The install documentation

How do I disable “test plan” enforcement in Phabricator?

空扰寡人 提交于 2019-12-10 03:34:41
问题 arc diff rejects the commit if no test plan is specified. Is there any way to disable this feature? 回答1: Set differential.show-test-plan-field or differential.require-test-plan-field in your configuration. 来源: https://stackoverflow.com/questions/20598026/how-do-i-disable-test-plan-enforcement-in-phabricator

phabricator get commit author from feed story for stories that are concerns , comments and audits

百般思念 提交于 2019-12-08 14:06:33
问题 I am trying to integrate phabricator with jabber chat. I have created a bot that sends messages to the commit author in jabber chat for every new feed query. My requirement is that how do I get the original author of a commit if the feed story is a concern,audit or commnet. I want to notify the author of the commit of any concerns raised with his commit. Do I need to analyse the story to get this informaiton? How do I go about doing this? Thanks in advance 回答1: The story object should have a

Phabricator first time 'arc land' fails

自作多情 提交于 2019-12-07 13:46:53
问题 I have installed and configured Phabricator so it has no warnings shown on web. Then I tried to create a repository and make a first git commit. I have get the revision accepted, however when I tried to do 'arc land' it failed with this message: -> % arc land Landing current branch 'master'. TARGET Landing onto "master", the default target under git. REMOTE Using remote "origin", the default remote under git. Exception Branch "master" does not exist in remote "origin". (Run with `--trace` for

Nginx: Override host header when using fastcgi_pass

纵然是瞬间 提交于 2019-12-05 18:34:44
问题 I'm trying to override the http host header that is passed to my php-based application (specifically Phabricator) when using fastcgi_pass. I've found a lot of examples for doing this when using proxy_pass, but I can't seem to find an example of how to do this with fastcgi_pass. Specifically, I'd like the proxied php application to see the host header as "phabricator.localhost". (The reason for this is that I want to associate several different domains with the Phabricator webapp, but it only

Automatically running PHPUnit tests with Arcanist (Phabricator)

流过昼夜 提交于 2019-12-05 13:14:00
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 dir "arc_libs" in my project and in the dir "src" I used arc liberate to generate the needed files. My config is now: { "project.name" : "arc_libs", "phabricator.uri" : "https://phabricator.xxx.xxx.net/", "unit.engine" : "PhpunitTestEngine", "load" : ["arc_libs/src"] } The libary DOES get loaded because I can run arc unit [matthijs@xx xxx]$ arc unit

how to configure phabricator with a non root url?

不问归期 提交于 2019-12-05 08:08:44
I am trying to install phabricator behind apache http server. The problem is that i would like to have an url like http://myserver.fr.xxxx/phabricator and not http://myserver.fr.xxxx/ i have tried several configuration in apache but i am not able to have phabricator working correctly (alias,redirect). Is there any solution with a tricky apache configuration or phabricator future release to handle this ? This is not supported, and we do not plan to support it. The install documentation should probably make this more clear, although it is mentioned in the Configuration Guide: You can either

Configure Git with SSH for Phabricator

谁都会走 提交于 2019-12-04 18:26:08
问题 I'm trying to configure SSH for Phabricator to get git running. I've followed this manual but when I call echo {} | ssh git@phabricator.mydomain.com conduit conduit.ping I always get an empty result or Permission denied (publickey,keyboard-interactive). . /etc/ssh-phabricator/sshd_config : AuthorizedKeysCommand /usr/libexec/ssh-phabricator-hook AuthorizedKeysCommandUser git Port 22 Protocol 2 PermitRootLogin no AllowAgentForwarding no AllowTcpForwarding no PrintMotd no PrintLastLog no

How do you find the PHID of a Phabricator object?

只谈情不闲聊 提交于 2019-12-04 01:02:07
I need to get the PHIDs for one project and several users in our Phabricator install. It seems like it should be trivial to find out how to do this, but I've searched the docs to no avail. Am I looking in the wrong place or something? CEPA Easiest way: Go to the project Click New Task Look at the URL, it will have a parameter like: ?projects=PHID-PROJ-owipizovyry4fatifwfd PHID is "PHID-PROJ-owipizovyry4fatifwfd" Option 2: Go to your Conduit [phabricator_url]\conduit Find the method project.query Enter the name in a JSON encoded array (i.e. ["project name"]) Click Call Method PHID will be one

How do you delete Phabricator project or task

主宰稳场 提交于 2019-12-03 10:38:52
I use Phabricator for code review, but I can't delete a project once it was created. The only thing I can do is change the project status from active to archived. The other problem is Task, same to project, I can't delete a task once it was created. Sometimes, people try to test Phabricator, maybe he or she creates some mock projects, it makes sense to delete them after testing. mxbrew It is possible, but only by using the command line administration tools. Remove a task? ./phabricator/bin/remove destroy TASK-ID (ie: T1, T23) Remove a project? ./phabricator/bin/remove destroy PHID-PROJ