[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs-update triggers
From: |
Mark D. Baushke |
Subject: |
Re: cvs-update triggers |
Date: |
Fri, 22 Oct 2004 08:39:08 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
address@hidden writes:
> i would like to setup a trigger for when cvs-update touches a file
> (updates or merges) in checked out work areas. is there already a
> mechanism for this?
No.
The Set-update-prog feature was removed for cvs 1.11.6. It is a
potential security vulnerability to have a cvs update run commands on
your behalf that someone else has defined.
> i want it to run a script or set of commands my specific need is that
> i want to have a shell-rc file in the repository, when someone makes
> changes to it and then i do an update, i get those changes and
> therefore would like to re-source that file and update my shell. is
> this possible to set-up? thanks paul
I'd suggest creating a 'make update' command or something similar that
captures the output of the 'cvs update' and post-processes it in
whatever way makes you happy.
Good luck,
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFBeSmc3x41pRYZE/gRAru5AKCUQhOGSB2LImG2SVYTHXk57OYJ0gCfepfZ
a20KAN3gXLb9n3UiAjZ4rio=
=jWfH
-----END PGP SIGNATURE-----