Re: Format for 1.11.10's contrib's loginfo, used by log_accum com mit

2003-12-10 Thread vikas arora
- (on mail)

mail is scanned with InterScan

-
I am new user of CVS, just want to incorporate it for the source code
management of FMBs and FMXs.Just wanted to know whether it is possible to
check out a single file using cvs or do i need to set up the repository
first and then only I be able to checkout the files.

Regards
Vikas


- Original Message -
From: Andy Jones [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 2:23 PM
Subject: RE: Format for 1.11.10's contrib's loginfo, used by log_accum com
mit



 Larry, Larry, Larry,...  Trust me. If you've never encountered constructs
 like @_, my, local($wd, @files); scalars, arrays... (and btw, 'local' is
 not local, 'my' is local...how cute), reading it is doable but tediously
 slow.  I'm reminded of a friend's admonition in college.  He said:
 Physics is easy, once you know it.

 Seconded.

 I think the readability of Perl is a subjective thing, not an objective
 thing.  Some people find it easy, like some people find reading upside
down
 easy.

 Personally, when I see a Perl script, I start running...





 ___
 Info-cvs mailing list
 [EMAIL PROTECTED]
 http://mail.gnu.org/mailman/listinfo/info-cvs

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Format for 1.11.10's contrib's loginfo, used by log_accum com mit

2003-12-10 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andy Jones [EMAIL PROTECTED] writes:

  Larry, Larry, Larry,...  Trust me. If you've never encountered
  constructs like @_, my, local($wd, @files); scalars, arrays... (and
  btw, 'local' is not local, 'my' is local...how cute), reading it is
  doable but tediously slow.  I'm reminded of a friend's admonition in
  college.  He said: Physics is easy, once you know it.
 
 Seconded.
 
 I think the readability of Perl is a subjective thing, not an
 objective thing.  Some people find it easy, like some people find
 reading upside down easy.
 
 Personally, when I see a Perl script, I start running...

The files in contrib are there because some folks think they are useful.

I have been programming with perl since version 3.0 was released to the
net, so I don't have any problems reading it, but I do understand what
you mean.

If you have examples for commitinfo, verifyinfo, loginfo and taginfo
scripts in some other language that you would like to contribute, by all
means feel free to do it as long as you give it some kind of copyright
license that allows it to be put into a cvs source distribution, I would
have no problems seeing examples in shell, python, tcltk, c, or whatever
other kind of language seems reasonable.

Thanks,
-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/1uR63x41pRYZE/gRAjsSAKDicXs0S7J5wz+4RPq8mx48y2AGowCgtZdX
Fwkjjx3WyTN5Z+QoVZcaLQo=
=6qqc
-END PGP SIGNATURE-


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Format for 1.11.10's contrib's loginfo,

2003-12-10 Thread Larry Jones
vikas arora writes:
 
 I am new user of CVS, just want to incorporate it for the source code
 management of FMBs and FMXs.Just wanted to know whether it is possible to
 check out a single file using cvs or do i need to set up the repository
 first and then only I be able to checkout the files.

That's like asking whether you can check out a single book or if you
have to set up a library first.  The repository is where you check out
*from*, so you have to have one before you can do a checkout.  Please
read the manual:

http://www.cvshome.org/docs/manual/

-Larry Jones

Don't you hate it when your boogers freeze? -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


How to copy the history and tag information from one branch to another ?

2003-12-10 Thread Masanori Watanabe
I'm looking for a way to copy the history and tag
information from one branch to another when I merge
the changes made in one branch into another ? 
Does anybody know how ? 

Masanori Watanabe

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


RE: How to copy the history and tag information from one branch t o another ?

2003-12-10 Thread Jim.Hyslop
Masanori Watanabe [mailto:[EMAIL PROTECTED] wrote:
 I'm looking for a way to copy the history and tag
 information from one branch to another when I merge
 the changes made in one branch into another ? 
 Does anybody know how ? 
You don't need to copy anything. The history and tags for all branches are
all stored together. Just issue a 'cvs log' command and you'll see the whole
thing.

-- 
Jim Hyslop 
Senior Software Designer 
Leitch Technology International Inc. (http://www.leitch.com/) 
Columnist, C/C++ Users Journal (http://www.cuj.com/experts) 



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum)

2003-12-10 Thread Derek Robert Price
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nathan Kidd wrote:

 It took me some time to figure out the syntax, but I've now tried
 various permutations of net use.  I mostly am causing it to generate a
 lot of system errors:

 [EMAIL PROTECTED] ~
 $ net use z: '\\empress\oberon' /user:oberon 'password'
 System error 5 has occurred.

 Access is denied.


 I didn't carefully read over this whole list of permutations, but at
 first glance, perhaps it's just the domain for oberon that's missing?

 e.g.

 net use z: \\empress\oberon /user:empress\oberon  password


Yep.  That's it, I just also have to login using a password rather than
my private/public key pair.

Thanks,

Derek

- --
*8^)

Email: [EMAIL PROTECTED]

Get CVS support at http://ximbiot.com!
- --
All those who believe in psychokinesis raise my hand.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/11CrLD1OTBfyMaQRAqUSAJ96W6t84zG34/eZJtW6PZrdICHhhgCdEO4m
0QWgWmRd5r5YvcjD09wlhAc=
=PaM1
-END PGP SIGNATURE-




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum)

2003-12-10 Thread Derek Robert Price
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nathan Kidd wrote:

 Derek Robert Price wrote:

 I didn't carefully read over this whole list of permutations, but at
 first glance, perhaps it's just the domain for oberon that's missing?

 e.g.

 net use z: \\empress\oberon /user:empress\oberon  password



 Yep.  That's it, I just also have to login using a password rather than
 my private/public key pair.


 As I revisit this, I note however, that this is not sufficient.  I'm
 trying to set up automated testing, so I couldn't enter the password if
 I wanted to - even saving to a file and attempting to echo it to ssh
 doesn't work because ssh grabs the TTY to get the password.  I really
 need to use public key authentication, but this prevents SSHD from
 grabbing the Windows authentication tokens.

 I think maybe this is a Windows (combined with SSHD?) limitation that I
 cannot get any access to network resources without authenticating with a
 password?


 I don't know if this helps in your situation, but if you are always
 testing from the same machine you could have a persistent connection
 to some share on empress using oberon's password.  Any subsequent
 access to any share on empress will automatically use this
 user/password without prompting for it.  That is, it is sufficient to
 simply run:
net use * \\empress\oberon

 But then if you do this you might as well make the original connection
 you want as persistent and never even bother with net use in your
 script.

 (On W2K, at least, it doesn't even seem possible to use a password
 from STDIN.)


That doesn't work.  As near as I can tell now based on my experiments
and reading, my problem is that I am attempting to launch the tests via
an automated ssh connection from another computer.  SSHD on Cygwin does
user-switching, but only gets Windows auth tokens if you use your
Windows password to login.  Since I can't use a password with ssh from
an automated script, I cannot get Windows auth tokens, and without
Windows auth tokens, Windows won't let me see or mount, _any_ network
share, not even a share that allows anonymous connections.

Derek

- --
*8^)

Email: [EMAIL PROTECTED]

Get CVS support at http://ximbiot.com!
- --
I will not carve gods.
I will not carve gods.
I will not carve gods...

  - Bart Simpson on chalkboard, _The Simpsons_
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/129cLD1OTBfyMaQRAufGAKDGEogiW2K/vheO9F7KeKnA3N/V8wCg3GMq
16ABCrtdg9dYiLjNChQb2lw=
=LBvf
-END PGP SIGNATURE-




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: SSHD user-switching under Cygwin/XP (was Re: Case insensitivity ad nauseum)

2003-12-10 Thread Derek Robert Price
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Wood wrote:

Now I'm really out on a limb, but, what user is sshd running as before it
switches? Does logging into sshd without a password, using a key instead,
merely mean that no switch from this default sshd user occurs? If that's
the case, can we adjust the default user that sshd runs as?


Yes, according to the email archives I have found, I could run as my cvs
test user rather than LOCAL_SYSTEM or whatever the sshd account is by
default, but it would limit me to logging into the machine via ssh as
only the cvs test user, something else I am trying to avoid.  I could
also, possibly, set up the generic SSHD on one port and the cvs test
SSHD on another.  So far I am avoiding this because according to the
mailing lists and the one time I tried it, there are some permissions
issues in the DLLs that I am both reluctant to dive into with my level
of Windows expertise.

Derek

- --
*8^)

Email: [EMAIL PROTECTED]

Get CVS support at http://ximbiot.com!
- --
My father often told me,
We have servants and machines
in order that our will may be carried out
beyond the reach of our own arms.
Machines are more powerful than servants
and more obedient and less rebellious,
but machines have no judgement
and will not remonstrate with us
when our will is foolish,
and will not disobey us
when our will is evil.
In times and places where people despise the gods,
those most in need of servants have machines,
or choose servants who will behave like machines.
I believe this will continue
until the gods stop laughing.

-Orson Scott Card, Children of the Mind
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/13ZCLD1OTBfyMaQRAuo0AJ42oYoC9l4W/nF3NOj3Oz5S81XQdgCfaeiE
oPqpe2bowZd7LFaHNJqclYo=
=8/gy
-END PGP SIGNATURE-




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: exclusive checkout

2003-12-10 Thread Paul Gelderblom \(ptok\)
 [EMAIL PROTECTED] wrote:
 
  Hi everyone,
 
  Is there a way of enforcing exclusive checkout in CVS?
 

 Todd Denniston [EMAIL PROTECTED] wrote:
 read the following message if you want more insight as to why, and if
 you are not afraid of patching your tools, there patches for you.
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg04330.html

A bit of practical experience:
I sucessfully used Noel Yaps edit -c patch (see the message mentioned by
Todd and also http://mail.gnu.org/archive/html/bug-cvs/2002-05/msg00290.html
on where to find a recent version) on a repository I recently set up.
We applied the patch without a problem to cvs-1.11.5. You need
the patch for both server and clients, but as far as I know, cvsnt (at
least the version shipped with WinCvs1.3 B) has it applied already.

On the server, we have a commitinfo script which does a cvs watch on
(or actually, it directly changes the CVS/fileattr file directly with the
same effect)
 for added files that match certain extensions. This means that we do not
enforce locking on all files, but only on a small subset (a few % of the
files)
 we think it is needed on. This gives you the versatility of CVS everywhere,
and locking only at a few places where you really want it.

Paul Gelderblom




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Original CVS Shell Scripts

2003-12-10 Thread SCMLinux for CM

I'm looking for the original CVS shell scripts that were written to interact with RCS. 
 Is there a quick link I can go to that has the archived scripts?  Mostly for 
historical reasons, I'd like to read the code and see how the developers originally 
envisioned their needs.

Regards,

Christian Avery Bryant 
Process Architect for Software
Configuration Management and
Quality Assurance

SMS:
[EMAIL PROTECTED]
Los Angeles:
310-779-0823
Northridge:
818-360-1128

SCMLinux
http://scmlinux.sourceforge.net 

Symark
http://www.symark.com

-- 
__
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Original CVS Shell Scripts

2003-12-10 Thread Paul Sander
Release 3.0 of Dick Grune's original CVS scripts were published to the
comp.sources.unix newsgroup, volume 22 issue 13.  You can find them at
the following URL:

ftp://gatekeeper.research.compaq.com/pub/usenet/comp.sources.unix/volume22/cvs3.0/

Don't expect much in the way of the kind of documentation you're seeking.
There's a man page and comments in the code.  The code comments were copied
faithfully when Brian Berliner translated it to C, but have been changed
substantially since then.

Also note that the Berliner and Grune implementations had already diverged
by this point.  Grune's historian is an alpha-quality attempt to track
actual configurations, which the Berliner implementation has never done well.

--- Forwarded mail from [EMAIL PROTECTED]

I'm looking for the original CVS shell scripts that were written to interact
with RCS.  Is there a quick link I can go to that has the archived scripts?
Mostly for historical reasons, I'd like to read the code and see how the
developers originally envisioned their needs.

--- End of forwarded message from [EMAIL PROTECTED]



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: CVS working directories on FAT

2003-12-10 Thread Ed Avis
Braden McDaniel [EMAIL PROTECTED] writes:

I was hoping to be able to share CVS working directories between
boots to Linux and Windows by putting them on a FAT
partition. However, I'm running into the problem that case is not
preserved for file names not longer than 8 characters. For instance,
a file README in the repository becomes readme in the working
directory, and cvs then becomes confused.

You could try VFAT (Win95 style long filenames).  It's still a bit
fishy but since you're talking about working directories, not the
repository, at worst your own working copy will be broken.

You could have trouble if Windows and Linux have a different idea of
file line endings - you'd probably need to use the Cygwin CVS client
or another that won't insert carriage returns when checking out text
files on Windows.

-- 
Ed Avis [EMAIL PROTECTED]



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Read only access to cvs

2003-12-10 Thread Larry Jones
Purushotham Komaravolu writes:
 
 This is a multi-part message in MIME format.

Please do not send MIME and/or HTML encrypted messages to the list.
Plain text only, PLEASE!

  I am new to CVS administration.I need help in seting up the
 following.
 1) Read only access to repository: 
 Developers ger read/write
 access but QA and others get read-only access.
 2) Multiple teams sharing different modules:
   We have multiple teams working on multiple modules.  Each
 teammember can access his/her teams module in RW(read/write) mode, where
 as he/she can access other team's module in read only fashion.

http://www.cvshome.org/docs/manual/cvs-1.11.10/cvs_2.html#SEC13

 PS: is it recommended to have individual repositories for each project??

Not usually.

-Larry Jones

It's no fun to play games with a poor sport. -- Calvin


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: CVS working directories on FAT

2003-12-10 Thread Paul Gelderblom \(ptok\)
 You could have trouble if Windows and Linux have a different idea of
 file line endings - you'd probably need to use the Cygwin CVS client
 or another that won't insert carriage returns when checking out text
 files on Windows.
Most windows clients have an option for Linux line endings - but there is
another  problem, even if you get around the line ending stuff: the local
administration of the sandbox (i.e. the contents of the CVS directories) is
slightly different for Linux and Windows clients. For example: using WinCVS
or TortoiseCvs on a linux sandbox (mounted via samba) does not work
properly.
Using the Cygwin client is probably your only option.

Why not create two sandboxes, one on your Linux partition and one on
Windows, and use the repository to keep them in sync - after all, CVS is
quite good at keeping separate sandboxes with changes in sync...

Paul Gelderblom



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Read only access to cvs

2003-12-10 Thread Steve deRosier


Purushotham Komaravolu wrote:
Hi,
 I am new to CVS administration.I need help in seting up the following.
1) Read only access to repository:
Developers ger read/write 
access but QA and others get read-only access.
As an alternative, give developers real access to the repository with 
full read/write access, but install ViewCVS and only give the QA/others 
access to that.  If they only need to take a look at the code on 
occasion with no need to edit, why give them actual CVS access at all? 
Also, the deveopers will find that ViewCVS is handy anyway.

- Steve



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


new user

2003-12-10 Thread Sajeesh
Hi,

Iam a new face to cvs and would like to know if there is option where I can lock a tag.
The scenario goes like this
When I create a tag, I add files on to it. At a later point of time I can add more 
files on to the 
tag. But I would not like others to tamper with my tag .. That is to say .. when I 
take a build I 
will tagging some files.. And I DONT WANT OTHERS TO ADD MORE FILES ON TO MY TAG
So Is there a work-around for this so that my tag remains safe ..

Thanx in advance
Sandhya


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: new user

2003-12-10 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sajeesh [EMAIL PROTECTED] writes:

 Hi,
 
 Iam a new face to cvs and would like to know if there is option where
 I can lock a tag. The scenario goes like this When I create a tag,
 I add files on to it. At a later point of time I can add more files on
 to the tag. But I would not like others to tamper with my tag .. That
 is to say .. when I take a build I will tagging some files.. And I
 DONT WANT OTHERS TO ADD MORE FILES ON TO MY TAG So Is there a
 work-around for this so that my tag remains safe ..

You will need to roll your own. See the URL
http://www.cvshome.org/docs/manual/current/cvs_8.html#SEC78
for more information.

Enjoy!
-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/2BKL3x41pRYZE/gRAi8iAJ4zhrpB4qfWgdVbvVycb19HvgQfjQCfenLn
DYohGrrrgTljlVu+72ULTT8=
=TDnb
-END PGP SIGNATURE-


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


new user

2003-12-10 Thread Sandhya
Hi,

Iam a new face to cvs and would like to know if there is option where I can lock
a tag.
The scenario goes like this
When I create a tag, I add files on to it. At a later point of time I can add
more files on to the 
tag. But I would not like others to tamper with my tag .. That is to say .. when
I take a build I 
will tagging some files.. And I DONT WANT OTHERS TO ADD MORE FILES ON TO MY
TAG
So Is there a work-around for this so that my tag remains safe ..

Thanx in advance
Sandhya


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs