RE: e-mail notification

2002-07-16 Thread Anette van der Schyf

Hi

Thank you for your help so far. We are running cvs version 1.11 on linux
2.2. The cvs runs on a completely different server as the mail. We connect
to the cvs repository on the linux machine using WinCvs 1.2. The mail server
is a Windows 2000 machine. Now, how do I link the two?

-Original Message-
From: David Marshburn [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 7:35 PM
To: Anette van der Schyf
Cc: [EMAIL PROTECTED]
Subject: Re: e-mail notification


On Mon, 15 Jul 2002, Anette van der Schyf wrote:

 What do I need to get e-mail notification when a file in the repository is
 edited or committed by someone else?  What I have done so far is the
 following:
 
 Because many of the users' e-mail username and cvs username differs, I
 created a users administrative file like the manual said I must in the
 CVSROOT directory. The 
 contents look as follows:
 
 avaswegen:[EMAIL PROTECTED]
 lwentzel:[EMAIL PROTECTED]
 
 The notify file only has the following line:
 
 ALL mail %s -s CVS notification
 
 Then I ran the following command as a test:
 
 cvs watch add -a all Anette_test.txt
 
 One of the other users edited and committed the file, but I did not
receive
 any notification.
 
 What am I missing?

You haven't said what flavor of cvs you and your users are running, or on
what platform it runs.  Also, are you running with a server or just with a
shared repository?

If I read it correctly, the line:
ALL mail %s -s CVS notification
says that for all modules, find an executable called 'mail' and run it
with some arguments.  If you're using cvs under Windows, for instance,
there may be no executable called 'mail'.  An alternative we've used is to
write a little script named 'mail' that contacts our department's mail
server to send out the notification (but our users have to remember to put
this mail script in the right place when they set up their build
environment (and we run with just a shared repository and no server)).

Other folks can probably tell you how to do it with a server.

cheers,
-david

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



.a files problem

2002-07-16 Thread dd hh
Hi Friends,
 Help is needed for the following problem. whenever i commit my files .a files get merged ie my libmeet.a gets merged.
For obvious reasons I want to stop this merging, pl tell me what to do in this case.

Regards,
AnamikaDo You Yahoo!?
Yahoo! Autos - Get free new car price quotes

CVS NT over extranet

2002-07-16 Thread Sumit Ranjan



Hi there !

i am trying to connect to the CVS repository in India 
from Germany...over the extranet.
has anyone done so or has any idea about this 
?

Please share.

thanking in advance

Sumit


annotate ignoring sticky tags

2002-07-16 Thread Noel Yap

FYI, I'm not sure if this is a bug or a feature, but
cvs ann is ignoring sticky tags.

Noel

__
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

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



RE: e-mail notification

2002-07-16 Thread Lee Fellows

On Tue, 2002-07-16 at 03:34, Anette van der Schyf wrote:
 Hi
 
 Thank you for your help so far. We are running cvs version 1.11 on linux
 2.2. The cvs runs on a completely different server as the mail. We connect
 to the cvs repository on the linux machine using WinCvs 1.2. The mail server
 is a Windows 2000 machine. Now, how do I link the two?


  Can the linux server send mail to the Windows 2000 machine?

  Asked another way:  Assuming your script works ('mail' is in the
  PATH and accepts the message for delivery), is mail waiting in the
  send queue and sendmail (or whatever mail server you are using) is
  unable to deliver it because it cannot resolve the address?




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



Re: WinCVS 1.10 problem Logging in

2002-07-16 Thread Larry Jones

Chris Palmer writes:
 
 Your password isn't saved there, nor is the access method.

The access method is part of the root specification, so it most
certainly *is* saved in CVS/Root.  You can also specify your password as
part of the root specification (although it's generally a bad idea to do
so).  If you do, it will also be saved.

I'll note in passing that you completely misunderstood the question,
it's generally considered impolite to put your response above the quoted
material, and you should only quote enough to supply context for your
reply rather than the entire message.

-Larry Jones

Hello, local Navy recruitment office?  Yes, this is an emergency... -- Calvin

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



Re: .a files problem

2002-07-16 Thread Larry Jones

dd hh writes:

 MIME-Version: 1.0
 Content-Type: multipart/alternative; boundary=0-409901169-1026805921=:37217

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

   Help is needed for the following problem. whenever i
 commit my files .a files get merged ie my libmeet.a gets merged.

I assume from the example name that these are Unix archives?  If so,
they're not source files and probably shouldn't be stored in CVS in the
first place.  If you insist, you need to mark them as the binary files
they are (with cvs admin -kb, for example).

-Larry Jones

This sounds suspiciously like one of Dad's plots to build my character.
-- Calvin

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



Re: .a files problem

2002-07-16 Thread Kaz Kylheku

On Tue, 16 Jul 2002, dd hh wrote:

 
   Help is needed for the following problem. whenever i commit my 
files .a files get merged ie my libmeet.a gets merged.
 
 For obvious reasons I want to stop this merging, pl tell me what to do in this case.

Don't put derived objects under version control. Version only the
source files that go into making libmeet.a. If you must have libmeet.a
in the version control system, for whatever strange reason, add it as
a binary file. When you merge, merge the sources, recompile them and
commit the newly compiled binary file.

-- 
Meta-CVS: solid version control tool with directory structure versioning. 
http://users.footprints.net/~kaz/mcvs.html  http://freshmeat.net/projects/mcvs


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



Accessing the repository via Internet

2002-07-16 Thread Helmut Mucker

Hi!

Is there a way to access our corporate repository
from the Internet? Our security policy prohibits
direct connections from the Internet to the
CVS-Server.

Can it be done using a ssh-proxy in the DMZ
or something else?

Thanks in advance
Helmut
-- 
Helmut Mucker   FREQUENTIS Vienna, Austria
IT System-Management UNIX +43-1-81150-2420

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



Re: annotate ignoring sticky tags

2002-07-16 Thread Kaz Kylheku

On Tue, 16 Jul 2002, Noel Yap wrote:

 FYI, I'm not sure if this is a bug or a feature, but
 cvs ann is ignoring sticky tags.

I see what you mean; it behaves analogously to log, just
working on the RCS file. It would make a certain amount
of sense to pass in the sticky. If you are sticky at
revision 1.5, or on a branch, you probably want annotate
to dig backward starting from 1.5. On the other hand,
what if you are sticky to something that is a moving target,
i.e. a branch? Should annotate then start with the closest repository
revision, or the latest?

-- 
Meta-CVS: solid version control tool with directory structure versioning. 
http://users.footprints.net/~kaz/mcvs.html  http://freshmeat.net/projects/mcvs


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



Re: annotate ignoring sticky tags

2002-07-16 Thread Noel Yap

--- Kaz Kylheku [EMAIL PROTECTED] wrote:
 On Tue, 16 Jul 2002, Noel Yap wrote:
 
  FYI, I'm not sure if this is a bug or a feature,
 but
  cvs ann is ignoring sticky tags.
 
 I see what you mean; it behaves analogously to log,
 just
 working on the RCS file. It would make a certain
 amount
 of sense to pass in the sticky. If you are sticky at
 revision 1.5, or on a branch, you probably want
 annotate
 to dig backward starting from 1.5. On the other
 hand,
 what if you are sticky to something that is a moving
 target,
 i.e. a branch? Should annotate then start with the
 closest repository
 revision, or the latest?

My preference would be to use the latest since this
would be analogous to how checkout and update work.

Noel

__
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

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



Re: annotate ignoring sticky tags

2002-07-16 Thread Eric Siegerman

On Tue, Jul 16, 2002 at 09:27:23AM -0700, Noel Yap wrote:
 --- Kaz Kylheku [EMAIL PROTECTED] wrote:
  On Tue, 16 Jul 2002, Noel Yap wrote:
  
  [...] what if you are sticky to something that is a moving target,
  i.e. a branch? Should annotate then start with the
  closest repository revision, or the latest?
 
 My preference would be to use the latest since this
 would be analogous to how checkout and update work.

Ideally, it'd annotate the file in my sandbox, showing revision
info for unchanged lines, and some special indicator for lines
that hold my uncommitted changes.  ISSUE: How to show deletions?
Simply as N lines deleted, or should it show the lines
themselves, a la diff -u?

Failing that, I'd argue for annotating BASE -- partly by analogy
with diff, but mostly because it's closer to (my) ideal than is
HEAD.

--

|  | /\
|-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
Anyone who swims with the current will reach the big music steamship;
whoever swims against the current will perhaps reach the source.
- Paul Schneider-Esleben

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



Re: CVS NT over extranet

2002-07-16 Thread Mike Ayers

Sumit Ranjan wrote:

 i am trying to connect to the CVS repository in India from 
 Germany...over the extranet.
 has anyone done so or has any idea about this ?

If you are referring to Nortel Networks' Extranet, then you should have no 
problem - use the FQDN of your CVS server and all should be well.

If you are referring to a generic extranet, then you should have no problem 
with CVS if your extranet is set up correctly, but that's another issue 
altogether.


/|/|ike


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



Re: Accessing the repository via Internet

2002-07-16 Thread Mike Ayers


Helmut Mucker wrote:

 Is there a way to access our corporate repository
 from the Internet? Our security policy prohibits
 direct connections from the Internet to the
 CVS-Server.

ACK!  Haven't they heard of ssh?

 Can it be done using a ssh-proxy in the DMZ
 or something else?

It *can*...

However, since the stock response you will get on this issue will be use ssh, 
that's what it's for, you may find that no prewritten proxy exists.  I would 
not expect one, certainly.


/|/|ike

P.S.  Other responses, if they arrive, will probably be more authoritative 
than mine.   :-)


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



cvsroot file permissions ???

2002-07-16 Thread Michael D. Schleif


OK, I've installed cvs:

# cvs -v
Concurrent Versions System (CVS) 1.11.1p1 (client/server)

I created a repository while I was root (I know, bad) and, as root, I do
not have problems - doh!

Starting to use it as a mortal user, I'm having problems with
directory/file permissions and I cannot find my issues in man cvs, info
cvs nor a cursory search via google.

Should I have overlooked a good faq list, please point me to it ;

What group, mode and owner be for the special files in $CVSROOR/CVSROOT?

I kept seeing cannot write to history file, until I changed history to
666 ;  Of course, my user is a member of group staff.

I am also having problems understanding required group, mode and owner
permissions for directories under modules?

What are the preferred methods for dealing with these issues?

# ls -al ./CVSROOT/
total 152
drwxrwsr-x3 root staff4096 Jul 16 11:33 .
-r--r--r--1 root staff 493 Jul 15 21:00 .#checkoutlist
-r--r--r--1 root staff 760 Jul 15 21:00 .#commitinfo
-r--r--r--1 root staff 527 Jul 15 21:00 .#config
-r--r--r--1 root staff 753 Jul 15 21:00 .#cvswrappers
-r--r--r--1 root staff1025 Jul 15 21:00 .#editinfo
-r--r--r--1 root staff1141 Jul 15 21:00 .#loginfo
-r--r--r--1 root staff1151 Jul 15 21:00 .#modules
-r--r--r--1 root staff 564 Jul 15 21:00 .#notify
-r--r--r--1 root staff 649 Jul 15 21:00 .#rcsinfo
-r--r--r--1 root staff 879 Jul 15 21:00 .#taginfo
-r--r--r--1 root staff1026 Jul 15 21:00 .#verifymsg
drwxrwsr-x4 root staff4096 Jul 16 10:06 ..
drwxrwsr-x2 root staff4096 Jul 15 21:00 Emptydir
-r--r--r--1 root staff 493 Jul 16 11:33 checkoutlist
-r--r--r--1 root staff 692 Jul 15 21:00 checkoutlist,v
-r--r--r--1 root staff 760 Jul 16 11:33 commitinfo
-r--r--r--1 root staff 959 Jul 15 21:00 commitinfo,v
-r--r--r--1 root staff 529 Jul 16 11:33 config
-r--r--r--1 root staff 956 Jul 16 11:33 config,v
-r--r--r--1 root staff 753 Jul 16 11:33 cvswrappers
-r--r--r--1 root staff 952 Jul 15 21:00 cvswrappers,v
-r--r--r--1 root staff1025 Jul 16 11:33 editinfo
-r--r--r--1 root staff1224 Jul 15 21:00 editinfo,v
-rw-rw-rw-1 root staff2425 Jul 16 11:49 history
-r--r--r--1 root staff1141 Jul 16 11:33 loginfo
-r--r--r--1 root staff1340 Jul 15 21:00 loginfo,v
-r--r--r--1 root staff1151 Jul 16 11:33 modules
-r--r--r--1 root staff1350 Jul 15 21:00 modules,v
-r--r--r--1 root staff 564 Jul 16 11:33 notify
-r--r--r--1 root staff 763 Jul 15 21:00 notify,v
-r--r--r--1 root staff 649 Jul 16 11:33 rcsinfo
-r--r--r--1 root staff 848 Jul 15 21:00 rcsinfo,v
-r--r--r--1 root staff 879 Jul 16 11:33 taginfo
-r--r--r--1 root staff1078 Jul 15 21:00 taginfo,v
-rw-rw-r--1 root staff  22 Jul 16 10:32 val-tags
-r--r--r--1 root staff1026 Jul 16 11:33 verifymsg
-r--r--r--1 root staff1225 Jul 15 21:00 verifymsg,v

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .

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



Re: Accessing the repository via Internet

2002-07-16 Thread Kaz Kylheku

On Tue, 16 Jul 2002, Mike Ayers wrote:

 Helmut Mucker wrote:
 
  Is there a way to access our corporate repository
  from the Internet? Our security policy prohibits
  direct connections from the Internet to the
  CVS-Server.
 
   ACK!  Haven't they heard of ssh?

I'm sure they have; however, using ssh requires opening up a
port from the DMZ to their internal network. In the minds of the
super-paranoid, this introduces the risk of someone exploiting a
security hole in ssh.

I think that if you combine ssh with host-based access control, and
ensure that you only allow crypto authentication, you really have
nothing to worry about. 

In other words, open the ssh port only for packets that are coming from
certain IP addresses or networks.

  Can it be done using a ssh-proxy in the DMZ
  or something else?
 
   It *can*...
 
   However, since the stock response you will get on this issue will be use ssh, 
 that's what it's for, you may find that no prewritten proxy exists.  I would 
 not expect one, certainly.

What you can do is nest two ssh connections. You see, you can use ssh
to tell one machine to execute a command on a third machine using ssh.

ssh dmz-host 'ssh secure-host command'

With ssh-agent forwarding, it should work. Anyway, it's worth
investigating this ``proxy'' scheme.

-- 
Meta-CVS: solid version control tool with directory structure versioning. 
http://users.footprints.net/~kaz/mcvs.html  http://freshmeat.net/projects/mcvs


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



Re: cvsroot file permissions ???

2002-07-16 Thread Larry Jones

Michael D. Schleif writes:
 
 Starting to use it as a mortal user, I'm having problems with
 directory/file permissions and I cannot find my issues in man cvs, info
 cvs nor a cursory search via google.

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

-Larry Jones

Something COULD happen today.  And if anything DOES,
by golly, I'm going to be ready for it! -- Calvin

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



Re: Accessing the repository via Internet

2002-07-16 Thread Mike Ayers


This has gone rather OT, but...

Kaz Kylheku wrote:

  I'm sure they have; however, using ssh requires opening up a
  port from the DMZ to their internal network. In the minds of the
  super-paranoid, this introduces the risk of someone exploiting a
  security hole in ssh.

Paranoia is good, uninformed paranoia is bad.  I'll take one good secured
authentication over two bad ones and a slap-together gateway.  There's much
less likely to be a security hole in ssh (open source, constantly reviewed
code), than there is in whatever proxy gets written.

  I think that if you combine ssh with host-based access control, and
  ensure that you only allow crypto authentication, you really have
  nothing to worry about.

ssh doesn't have unauthenticated or unencrypted modes, which is one thing that
makes it really popular with the security conscious.  Host based access
control, on the other hand, is easily enough defeated to not be worth doing.
In any case, with strong encryption and authentication (if it must be, then
use password strength checkers), what bonus does host based access control give?

  What you can do is nest two ssh connections. You see, you can use ssh
  to tell one machine to execute a command on a third machine using ssh.
 
  ssh dmz-host 'ssh secure-host command'
 
  With ssh-agent forwarding, it should work. Anyway, it's worth
  investigating this ``proxy'' scheme.

This will work if the DMZ machine permits logins and supports ssh.  It is a
good way to do things if the no direct connections from the internet rule is
unwaivable.


/|/|ike



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