Phabricator

Phabricator first time 'arc land' fails

匿名 (未验证) 提交于 2019-12-03 09:05:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 a full exception trace.) If I run with '--trace',

Automatically running PHPUnit tests with Arcanist (Phabricator)

匿名 (未验证) 提交于 2019-12-03 08:52:47
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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

Gerrit & Phabricator review [closed]

匿名 (未验证) 提交于 2019-12-03 02:49:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Has anyone done a review between Phabricator and Gerrit ? I am looking out for a review tool and want to settle on one based on: Ease of use Comprehensiveness in features Activity by the community and adoption Edit: I use Git 回答1: I've tried to compare them and these are the most prominent differences I've found Gerrit +Acts as a repository so you push to it and it creates a review issue of your commit +No commit ever gets through with out review as it is impossible to forget to create review issue -Works only with git -Can't handle post

phabricator LDAP connection failed

匿名 (未验证) 提交于 2019-12-03 01:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to configure LDAP authentification in Phabricator. the setup on /config/group/ldap/have been done. However, when trying to login using LDAP, phabricator is answering tby the following error: Is there any configuration trick for ldap authentification for phabricator ? 回答1: If you have another DN for your Anonymous Username, you have to check Search First and give all ldap "characteristics" for it. Example : LDAP Hostname : yourLdapHostname.com Base Distinguished Name : OU=UsersEmea,DC=emea,DC=msad,DC=mycorp Search Attribute :

How do you change a user's email address in Phabricator

你。 提交于 2019-12-01 15:14:00
I've set up phabricator and added several users. I noticed that I can change a user's real name or username, but I am unable to change their email address. Is there some reason why this is not exposed to admins? Is there a server setting that allows admins to change email addresses. Administrators can not change email addresses because it would let them change a user's email address to their own, reset the user's password, and then log in as the user. Administrators are not all-powerful in Phabricator's permission model, and can not compromise accounts, act as other users, or violate policies.

How do you change a user's email address in Phabricator

雨燕双飞 提交于 2019-12-01 14:51:20
问题 I've set up phabricator and added several users. I noticed that I can change a user's real name or username, but I am unable to change their email address. Is there some reason why this is not exposed to admins? Is there a server setting that allows admins to change email addresses. 回答1: Administrators can not change email addresses because it would let them change a user's email address to their own, reset the user's password, and then log in as the user. Administrators are not all-powerful

Facebook代码审核工具Phabricator使用指南

左心房为你撑大大i 提交于 2019-11-29 02:29:36
Phabricator支持两种代码审查工作流:“review”(提交前审查)和 “audit”(提交后审查)。 模式review:提交前审查的使用说明 一、Arcanist 安装 注意: 此文档仅仅针对Linux用户 对于Mac OS X用户,请参照 Arcanist使用手册: Mac OS X 对于Windows用户,请参照 Arcanist使用手册: Windows 1.1 安装如下软件包 sudo yum install php git 1.2 安装Arcanist $ mkdir somewhere/ $ cd somewhere/ somewhere/ $ git clone https://github.com/phacility/libphutil.git somewhere/ $ git clone https://github.com/phacility/arcanist.git 1.3 修改环境变量 $ export PATH="$PATH:/somewhere/arcanist/bin/" $ export EDITOR="/usr/bin/vim" 二、配置项目 注意:配置项目的详情,请参照 Arcanist使用手册: 配置新项目 在项目工作目录下创建配置文件 .arcconfig $ cd yourproject/ yourproject/ $

phabricator安装配置

最后都变了- 提交于 2019-11-29 02:29:26
安装phabricator 1、git clone https://github.com/phacility/phabricator.git git clone https://github.com/facebook/libphutil.git git clone https://github.com/facebook/arcanist.git 注意他们第三个放在同一级目录如 /www 2、cd phabricator/ 3、git pull 注:项目使用Apache服务器,如果阁下为nginx服务器,请自行参考官方文档配置。 vim http.conf 添加 <Directory "/www/phabricator/webroot"> Order Deny,Allow Allow from all </Directory> vim httpd-vhost.conf 添加虚拟机 <VirtualHost *:80> ServerName phabricator.henosteven.com DocumentRoot /www/phabricator/webroot RewriteEngine on RewriteRule ^/rsrc/(.*) - [L,QSA] RewriteRule ^/favicon.ico - [L,QSA] RewriteRule ^(.*)$

Phabricator restrict git push

血红的双手。 提交于 2019-11-28 06:33:08
I want my team including myself to review commits of each other. None of commits should be pushed including mine into repo until it's not audited by other team member. I kind of lost in phabricator documentation, so i'm asking here, is there any way to setup that kind of workflow? You can only restrict pushes to repositories hosted by Phabricator. If your repository is hosted elsewhere (like GitHub), Phabricator obviously can't prevent users from pushing to it. To restrict pushes, create a new Herald rule (in the Herald application), like this: Create a new "Commit Hook: Commit Content" rule.

Arcanist 安装及使用

旧城冷巷雨未停 提交于 2019-11-27 18:26:30
Arcanist是Phabricator的命令行接口. 安装: # sudo apt-get install php5 php5-curl # ubuntu 系统 # sudo yum install php5 # centos 系统 # cd /usr/local/bin # 安装目标路径, 如目录不在PATH, 则将 export PATH=$PATH:/usr/local/bin 加入 .bashrc # git clone https://github.com/phacility/libphutil.git # git clone https://github.com/phacility/arcanist.git # ln -s arcanist/bin/arc arc # 创建软链接, 使arc命令位于PATH中 在.bashrc加入下面一行, 使arc命令可以自动补全: source /usr/local/bin/arcanist/resources/shell/bash-completion (或用 npm 安装: npm install -g arcanist , 无需配置, 参见 https://www.npmjs.com/package/arcanist ) 配置: 在git库目录创建 .arcconfig, 内容如下: { "phabricator.uri"