Add API url that drops a trigger file for updates
authorMagnus Hagander <magnus@hagander.net>
Sun, 13 Apr 2014 12:11:19 +0000 (14:11 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sun, 13 Apr 2014 12:11:19 +0000 (14:11 +0200)
commitb39a87fa5f2f60d7f26b3dab137b7a4ec1fd903d
treee7cc888b8b6b01e52d325cdf5247a0ae3052ac7f
parent86fdf3539a9a56169cd1e37ad41d51b4ebc98a1f
Add API url that drops a trigger file for updates

The idea is a git repository hook will send a POST to this URL, which
will drop a trigger file somewhere. A cronjob (or inotify listener if
we want to be really fancy sometiem in the future) will pick up that
cronjob and run the update script. The goal being to shorten the time
required to process an update.
pgweb/core/views.py
pgweb/settings.py
pgweb/urls.py