p4notifier is a simple python script which periodically - using original p4 client - checks newest commits in observed paths of repository depots. It runs in background and notifies user with a list of most recent commits.
It can be run on Windows as well Linux.
Configuration is done by single, self-explanatory *.ini file:
[DEFAULT] interval=10 p4path=C:\Program Files (x86)\Perforce\p4.exe [ProjectA] host=10.0.0.10:1666 workspace=foo user=bar pass=qwerty path=//devel/ProjA/... limit=10 [ProjectB] host=10.0.0.10:1666 workspace=foo user=bar pass=qwerty path=//devel/ProjB/... limit=10
Running in background
To keep the application simple and portable, daemonizing is done only for Windows (using VB script - runInBackground.vbs). Under Linux it can be done for instance by running:
$ nohup python p4notifier.py &