CVS and sending a message when a file is updated (Was: NEWS for debian-boot
On Sunday 17 January 1999, at 17 h 26,
Adam Di Carlo <adam@onshore.com> wrote:
> > a) the list of pre-selected packages used in the installation can be
> > used by slink_cd to generate the list of packages it will push onto
> > disc 1. Is this posted on the debian-boot list, or if not can it be
> > mailed to me when it's updated please?
>
> I'll let Stephane Bortzmeyer take care of this manually. Technically,
> we probably could have all commits of certain file get mailed to
> certain places, it just takes some CVS setup.
I'm not a CVS expert, but it seems it is complicated:
1) The "loginfo" file which controls who receives the messages and when is in
the CVS root, not in the directory being managed. It means it is not specific
to the boot-floppies team.
2) "loginfo" accepts regular expressions but on directories names, not on
files. It means the message would be sent for every update in the master2files
directory (unless the shell script you use to receive the log message is more
intelligent).
For Steve, the simplest solution is probably to subscribe to debian-boot
(which receives the CVS updates) and to use procmail to filter:
:0
* ^Subject: Debian Boot Floppies CVS: boot-floppies
{
:0B:.master.lock
* master
Mail/master-modifications
}
--
http://www.debian.org/~bortz/
Reply to: