This will cause the entire commit to fail, and the user will have rm
their additions before the commit will succeed.
It would be better if CVS had an addinfo capability, though...
On Jul 14, 2009, at 9:40 PM, Rez P wrote:
> Hello everyone
>
> Is there any way to prevent users or developers from uploading and
> checking in certain files into cvs? I was reading the somewhat
> ambiguous examples on ximbiot and doesn't look I could do this. I
> would like to block Windows thumbs.db and desktop.ini files from
> uploading to the server.
>
> Thanks
>
> Rez
>
> Hotmail® has ever-growing storage! Don’t worry about storage limits.
> Check it out.
--
The cool thing about definitions is that they can be anything you
want, by definition!
Paul Sander
pa...@wakawaka.com
Hello Rez,
There are many pre-commit validations that one can think of.
One of them is banning commit of specific files. Another is checking
for unwanted content (e.g. -d debug flag for Perl CGI files).
There is more than one way you can choose for doing this:
1) Add a line in commitinfo per each banned file
2) From commitinfo call a script or application with the directory
path & name of commited file (and perhaps committed version), and let
it do the validation. This is the method we use in Jungo.
HTH,
--
Yaron Yogev
IT Software Developer
Jungo Software Technologies
Rez P wrote:
> ambiguous examples on ximbiot and doesn't look I could do this. I would
> like to block Windows thumbs.db and desktop.ini files from uploading to
> the server.
http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_18.html#SEC191
- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpdyOMACgkQLdDyDwyJw+OiqACg0MdClejpk+rQz/jHFG3yHBm9
dBgAoKrDhr1kYXXuKSp3l9+uypgWWKzU
=v9wx
-----END PGP SIGNATURE-----