Provide an easy way to build phabricator/libphutil/arcanist rpm's to deploy
with a yum repo.
The rpm builds checking out the git repos. Version of the package is "0" and
the release contains a datetime (YearMonthDayHourMinute, UTC). Latest git rev
is saved to /opt/phacility/GIT-REVS
The RPM creates a daemon user (phabricator), log (/var/log/phabricator), data
directories (/var/lib/phabricator/{files|repo}) and a init script which manages
phd. Some default-settings are set if phabricator/config/local/local.json does
not exist.
Apache HTTPD and "phabricator/bin/storage upgrade" still have to be
configured/called manually.
The packages install the applications to /opt/phacility/{phabricator|libphutil|arcanist}.
Arcanist can be installed without phabricator webapp.
Build RPM with: rpmbuild -bb resources/rhel/phabricator.spec
TODO: start/stop service on upgrade, call "storage upgrade" on rpm upgrades