[cvsnt] restricting tags privileges (bug?)

feymard at stago.fr feymard at stago.fr
Tue Jun 13 18:34:12 BST 2006


Bug or feature? I want to make a difference between tag and rtag.
For that, I try to use the %b option of taginfo, like this:
ALL c:/python24/python.exe d:/tag-limit.py $USER $CVSROOT %o %t %b

When I dont' use %b, this works fine. But, if I add %b, cvs falls : cvs.exe
[tag aborted]: reading from server: error -1 (after a long wait and an
error server side)
The script doesn't use this fith argument: the problem can't be in it.

How can I know if the tag is a 'tag' or a 'rtag'?

Best regards,
--
Franck-Sébastien Eymard



|---------+---------------------------->
|         |           feymard at stago.fr |
|         |           Envoyé par :     |
|         |           cvsnt-bounces at cvs|
|         |           nt.org           |
|         |                            |
|         |                            |
|         |           13/06/2006 15:46 |
|         |                            |
|---------+---------------------------->
  >-----------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                       |
  |       Pour :    bo.berglund at telia.com                                                                                 |
  |       cc :      cvsnt-bounces at cvsnt.org, cvsnt at cvsnt.org, (ccc : Franck-Sébastien EYMARD/GENNEVILLIERS/STAGO)         |
  |       Objet :   Réf. : Re: Réf. : RE: [cvsnt] restricting tags privileges                                             |
  >-----------------------------------------------------------------------------------------------------------------------|




Perfect! It works fine, exactly what I want.
Thanks a lots :)
--
Franck-Sébastien Eymard


On Tue, 13 Jun 2006 11:59:19 +0200, feymard at stago.fr wrote:

>Excuse me for the late of my answer :$
>
>How could you catch the user name?
>In taginfo file, it seems not possible. Are you calling the pl script with
>a standard "ALL c:/perl/bin/perl.exe tag-limit.pl" ?
>

Use this syntax in the taginfo file instead:

ALL c:/perl/bin/perl.exe tag-limit.pl $USER

This will send in the username as the first command line argument to
the perl script.

HTH

/Bo
(Bo Berglund, developer in Sweden)
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt






More information about the cvsnt mailing list