Discussion:
How to prevent cvs checkout for specific labels
dpshiv
2009-11-24 11:28:04 UTC
Permalink
Hi All,
Is there any trigger/hook or any other mechanism to prevent CVS
Checkout/export/update operations for specific labels.

Ex. TAG1, TAG2, TAG3, TAG4, TAG5
checkout/update/export operation for TAG1 & TAG2 should fail. (cvs co
-r TAG1 mod_dir)

Regards,
Shiv
--
View this message in context: http://old.nabble.com/How-to-prevent-cvs-checkout-for-specific-labels-tp26494316p26494316.html
Sent from the Gnu - Cvs - Info mailing list archive at Nabble.com.
Jim Hyslop
2009-11-24 12:55:39 UTC
Permalink
Post by dpshiv
Hi All,
Is there any trigger/hook or any other mechanism to prevent CVS
Checkout/export/update operations for specific labels.
Ex. TAG1, TAG2, TAG3, TAG4, TAG5
checkout/update/export operation for TAG1 & TAG2 should fail. (cvs co
-r TAG1 mod_dir)
Have a look at the cvs_acls script. It's in the source code
distribution, in the contrib/ directory. I haven't looked at it in a
while, but if memory serves it should do what you want.

- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
dpshiv
2009-11-26 11:45:59 UTC
Permalink
Hi Jim Hyslop,
Thanks for the reply. I have installed cvsacl patched version of CVS and
used racl command to prevent the checkout for specific tags, it is working
fine.

Regards,
Shiv
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by dpshiv
Hi All,
Is there any trigger/hook or any other mechanism to prevent CVS
Checkout/export/update operations for specific labels.
Ex. TAG1, TAG2, TAG3, TAG4, TAG5
checkout/update/export operation for TAG1 & TAG2 should fail. (cvs co
-r TAG1 mod_dir)
Have a look at the cvs_acls script. It's in the source code
distribution, in the contrib/ directory. I haven't looked at it in a
while, but if memory serves it should do what you want.
- --
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/
iEYEARECAAYFAksL18sACgkQLdDyDwyJw+O5gwCgwFiknt17MoIrRyXo+WZzTbI/
XY4AnAwfiMV4dF0jOMxL2Z4pnDWksbXK
=9n2x
-----END PGP SIGNATURE-----
--
View this message in context: http://old.nabble.com/How-to-prevent-cvs-checkout-for-specific-labels-tp26494316p26527414.html
Sent from the Gnu - Cvs - Info mailing list archive at Nabble.com.
Loading...