Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (32 sloc) 848 Bytes

Pha_WR_SRE

Generate weekly report from phabricator for SRE.

installation

install libphutil

git clone https://github.com/phacility/libphutil.git

install Pha_WR_SRE

git clone git@github.com:haw-haw/Pha_WR_SRE.git

onenote setting(optional)

goto http://www.onenote.com/EmailSettings to setting which section to save the note and which email address can send email.

usage

cd Pha_WR_SRE;
cp config.ini.example config.ini;
vim config.ini;
# modify config.ini as your env
php phawrsre.php;

special in macos

cp gs.theyan.phawrsre.plist.example ~/Library/LaunchAgents/gs.theyan.phawrsre.plist
launchctl load gs.theyan.phawrsre.plist
# start service manually
cd ~/Library/LaunchAgents/
launchctl start GenerateReport.job

Thanks to https://github.com/DONSA/phabriport.git