In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Arcanist is a code review aid created by phabricator. Its function is shown in Figure:
1. installation
Arcanist installation is very simple, pull two code libraries from github to the same local folder, and then configure the environment variables
git clone https://github.com/phacility/arcanist.git git clone https://github.com/phacility/libphutil.gitvim #Add the following #/Users/qinshixu/test/arcanist directory export PATH="$PATH:/Users/qinshixu/test/arcanist/bin"source /etc/profilearc help #View command help information
2. Add references to projects
cd your_project #Enter the project directory vim .arcconfig #Add the following { "phabricator.uri": "https://** */", #phabricator access address "editor": "vim"} installs certificate for project, certification arc install-certificate for phabricator API Token verification successful
3. Submit Differential
git add git commit -m "***"arc diff #Submit review request, open by vim, fill in the following information,wq save exit Test Plan: #Required, specify your test plan Reviewers: #Required, reviewer's account, multiple separated by ","; Subscribers: #Non-required subscribers, multiple use "," separated #After successful submission, reviewers can receive notifications in Differential #Reviewers modify status to Accept Revision means pass, after passing, use arc land ##Code push, default is master branch
4. command guide
Arcanist can do the following:· arc help: Get available instructions/tools wrapped in arc· arc diff: Send Differential function of code for review (see Arcanist User Guide: arc diff for more information on this directive)· arc list : Displays code information that has not been submitted for modification· arc cover: can find the author of a code modification· arc patch: adapt to a modification and work on it· arc export: Download/export a patch file via Differential arc amend: review Git update submitted information· arc commit: Submit SVN library modifications· arc land: Push changes to Git and Mercurial libraries to the server side· arc branch: You can see more information about Git branch commit
1. git checkout branch name
2.git add xx
3.git commit -m ""
4. arc diff branch name
5. arc land --onto branch name #push to branch
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.