Generate weekly report from phabricator for SRE
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
config.ini.example
gs.theyan.phawrsre.plist.example
phawrsre.php

README.md

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