Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timj/repo-alerts
Send summary email of git or svn activity since the last time the script ran (intended to run from cron)
https://github.com/timj/repo-alerts
Last synced: about 2 months ago
JSON representation
Send summary email of git or svn activity since the last time the script ran (intended to run from cron)
- Host: GitHub
- URL: https://github.com/timj/repo-alerts
- Owner: timj
- Created: 2013-07-17T04:46:02.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-17T04:46:19.000Z (over 11 years ago)
- Last Synced: 2023-04-21T08:46:57.318Z (over 1 year ago)
- Language: Perl
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Some simple scripts that are intended to run from cron. They create a simple web page
and/or email summarizing the commits that have occurred since the last time the script
was executed. This allows a daily summary of a repository to be mailed round and is
useful given that, for example, git triggers issue alerts each time someone pushes
to the repository.There is a script for `git` and a script for `svn`. The `git` script just sends round an
email summary (repository browsers are so good a web page is not needed). The `svn` script
creates a web page and an email.Note that for the moment the configuration options are hard-coded into each script in
`%SETTINGS`. These settings could easily be shifted to a config file.The scripts create a small file in a directory indicating the most recent SHA1 or subversion
revision so that it will know where to restart.The crontab entry simply needs to indicate which repository from the settings configuration
hash should be used for this run.30 17 * * * /usr/bin/perl /path/bin/summarize-commits-svn -repos svnsoftware
00 23 * * * /usr/bin/perl /path/bin/summarize-commits-git -rep gitsoftwareThe `svn` implementation is based on work Norman Gray did for Starlink. They are here in case
anyone else finds them useful.The scripts are distributed using GPL v2.
Author: Tim Jenness