Re: Is there a way to Auto-Watch ?

2004-07-29 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dan White [EMAIL PROTECTED] writes:

 Is there a way to enable file watching automatically or am I going to
 have to cobble up some sort of a crufty cron script ?

That depends on what kind of watching you want.

https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_10.html#SEC89

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

iD8DBQFBCSCn3x41pRYZE/gRArOfAJ4vN0Me/C0XEuBH7L0cCVCFil52uQCdHTr2
0a1wEUvWMmSxlPBCcJ5O5Gw=
=TU/X
-END PGP SIGNATURE-


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


Re: Is there a way to Auto-Watch ?

2004-07-29 Thread Dan White
The task manager has decreed that all changes to all files will be checked
in on a daily basis.  (Despite the attempted reasoning about how CVS ain't
built that way)

So, we need to have all files watched, and set to notify the Build
Manager role account when folks edit, unedit, and commit.

I envisioned a cron script, run from the build manager account that does a
mass checkout/watch on/watch add.  But that strikes me as criminally
kludgy.

Is there a better way to do it ?

Thanks.

On Thu, 29 Jul 2004, Mark D. Baushke wrote:

 Dan White [EMAIL PROTECTED] writes:

  Is there a way to enable file watching automatically or am I going to
  have to cobble up some sort of a crufty cron script ?

 That depends on what kind of watching you want.

 https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_10.html#SEC89

   -- Mark


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


Re: Is there a way to Auto-Watch ?

2004-07-29 Thread Frederic Brehm
At 01:05 PM 7/29/2004, Dan White wrote:
The task manager has decreed that all changes to all files will be checked
in on a daily basis.  (Despite the attempted reasoning about how CVS ain't
built that way)
Give everyone a branch to work on and let them commit whenever they want. 
When they are ready to add to the baseline, have the task manager :-) 
perform the merge to the HEAD.

Fred
___
Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/

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


Re: Is there a way to Auto-Watch ?

2004-07-29 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dan White [EMAIL PROTECTED] writes:

 The task manager has decreed that all changes to all files will be checked
 in on a daily basis.  (Despite the attempted reasoning about how CVS ain't
 built that way)
 
 So, we need to have all files watched, and set to notify the Build
 Manager role account when folks edit, unedit, and commit.

Your Build Manager sounds more like a micromanager. I hope there is a
good reason for the process you have been told to follow.
 
 I envisioned a cron script, run from the build manager account that does a
 mass checkout/watch on/watch add.  But that strikes me as criminally
 kludgy.
 
 Is there a better way to do it ?

You probably only need to add new 'watch' statements as new files are
added to the system. So, something that is wired into the 'loginfo' to
look for new files and have them watched might be the way to go.

I don't understand why a cron script would be needed...

-- Mark

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

iD8DBQFBCTKP3x41pRYZE/gRAtYmAJ0Sa8OV/3i7p7MrqrptxszZXB+GhACfYuSy
MHOvWyiOPO0unYjkZd3ddUQ=
=fkMe
-END PGP SIGNATURE-


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


Re: Is there a way to Auto-Watch ?

2004-07-29 Thread Larry Jones
Mark D. Baushke writes:
 
 You probably only need to add new 'watch' statements as new files are
 added to the system. So, something that is wired into the 'loginfo' to
 look for new files and have them watched might be the way to go.

Is that necessary?  Doesn't watching a directory automatically watch any
new files in that directory?

-Larry Jones

No one can prove I did that!! -- Calvin


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


Re: Is there a way to Auto-Watch ?

2004-07-29 Thread Dan White


On Thu, 29 Jul 2004, Mark D. Baushke wrote:

 Dan White [EMAIL PROTECTED] writes:

  The task manager has decreed that all changes to all files will be checked
  in on a daily basis.  (Despite the attempted reasoning about how CVS ain't
  built that way)
 
  So, we need to have all files watched, and set to notify the Build
  Manager role account when folks edit, unedit, and commit.

 Your Build Manager sounds more like a micromanager. I hope there is a
 good reason for the process you have been told to follow.

Your perception is right on the mark.  The good reason is 'cause he is
the boss.

  I envisioned a cron script, run from the build manager account that does a
  mass checkout/watch on/watch add.  But that strikes me as criminally
  kludgy.
 
  Is there a better way to do it ?

 You probably only need to add new 'watch' statements as new files are
 added to the system. So, something that is wired into the 'loginfo' to
 look for new files and have them watched might be the way to go.

 I don't understand why a cron script would be needed...

I'll explore that.  Cron was considered as a brute-force approach.

If brute force does not work, it is only because it is being applied in
an insufficient quantity.

Thanks.


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


Re: Is there a way to Auto-Watch ?

2004-07-29 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Larry Jones [EMAIL PROTECTED] writes:

 Mark D. Baushke writes:
  
  You probably only need to add new 'watch' statements as new files are
  added to the system. So, something that is wired into the 'loginfo' to
  look for new files and have them watched might be the way to go.
 
 Is that necessary?  Doesn't watching a directory automatically watch any
 new files in that directory?

I was under the impression that only file entries are put into the
CVS/fileattr in the repository via a 'cvs watch add' command. I am also
under the impression that adding a new directory with new files will not
automagically inherit notify statements for the parent directory.

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

iD8DBQFBCTpu3x41pRYZE/gRApQKAKC/ksrGoyED9YJVxTgn64jjxzLgfACgv62D
k/YsYqbP9oYwrEz25hqeMO8=
=xQuP
-END PGP SIGNATURE-


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


Re: Is there a way to Auto-Watch ?

2004-07-29 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dan White [EMAIL PROTECTED] writes:

 On Thu, 29 Jul 2004, Mark D. Baushke wrote:
 
  Dan White [EMAIL PROTECTED] writes:
 
   The task manager has decreed that all
   changes to all files will be checked in on a
   daily basis. (Despite the attempted
   reasoning about how CVS ain't built that
   way)
  
   So, we need to have all files watched, and
   set to notify the Build Manager role
   account when folks edit, unedit, and commit.
 
  Your Build Manager sounds more like a
  micromanager. I hope there is a good reason
  for the process you have been told to follow.
 
 Your perception is right on the mark. The good
 reason is 'cause he is the boss.

There will likely be other jobs available if the
economy in your area. You may wish to consider
that not all managers are control fanatics...

   I envisioned a cron script, run from the
   build manager account that does a mass
   checkout/watch on/watch add. But that
   strikes me as criminally kludgy.
  
   Is there a better way to do it ?
 
  You probably only need to add new 'watch'
  statements as new files are added to the
  system. So, something that is wired into the
  'loginfo' to look for new files and have them
  watched might be the way to go.
 
  I don't understand why a cron script would be
  needed...
 
 I'll explore that. Cron was considered as a
 brute-force approach.

Hmmm... the point is that I do not understand what
you intended to do with your cron job.

 If brute force does not work, it is only
 because it is being applied in an insufficient
 quantity.
 
 Thanks.

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

iD8DBQFBCTs53x41pRYZE/gRAlrqAJ4uQdH/qD1OFf+RXpBHv6d5JdMPmgCfcjab
832d/3qbUgJqxf1rUwJxoBQ=
=+UYR
-END PGP SIGNATURE-


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


Re: Is there a way to Auto-Watch ?

2004-07-29 Thread Dan White


On Thu, 29 Jul 2004, Mark D. Baushke wrote:

 Larry Jones [EMAIL PROTECTED] writes:

  Mark D. Baushke writes:
  
   You probably only need to add new 'watch' statements as new files are
   added to the system. So, something that is wired into the 'loginfo' to
   look for new files and have them watched might be the way to go.
 
  Is that necessary?  Doesn't watching a directory automatically watch any
  new files in that directory?

 I was under the impression that only file entries are put into the
 CVS/fileattr in the repository via a 'cvs watch add' command. I am also
 under the impression that adding a new directory with new files will not
 automagically inherit notify statements for the parent directory.


Your impression is accurate.  I did a quick test (watch on dir) and the
fileattr file contained a list of files in that directory.


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


Re: Is there a way to Auto-Watch ?

2004-07-29 Thread Dan White


On Thu, 29 Jul 2004, Mark D. Baushke wrote:

 Dan White [EMAIL PROTECTED] writes:

  On Thu, 29 Jul 2004, Mark D. Baushke wrote:
 
   Dan White [EMAIL PROTECTED] writes:
  
The task manager has decreed that all
changes to all files will be checked in on a
daily basis. (Despite the attempted
reasoning about how CVS ain't built that
way)
   
So, we need to have all files watched, and
set to notify the Build Manager role
account when folks edit, unedit, and commit.
  
   Your Build Manager sounds more like a
   micromanager. I hope there is a good reason
   for the process you have been told to follow.
 
  Your perception is right on the mark. The good
  reason is 'cause he is the boss.

 There will likely be other jobs available if the
 economy in your area. You may wish to consider
 that not all managers are control fanatics...

Not an option at this time.

I envisioned a cron script, run from the
build manager account that does a mass
checkout/watch on/watch add. But that
strikes me as criminally kludgy.
   
Is there a better way to do it ?
  
   You probably only need to add new 'watch'
   statements as new files are added to the
   system. So, something that is wired into the
   'loginfo' to look for new files and have them
   watched might be the way to go.
  
   I don't understand why a cron script would be
   needed...
 
  I'll explore that. Cron was considered as a
  brute-force approach.

 Hmmm... the point is that I do not understand what
 you intended to do with your cron job.

Something like this:

  cd scratchdir

  foreach project-in-the-repository
cvs checkout project
cvs watch on project
cvs watch add project
  end


  If brute force does not work, it is only
  because it is being applied in an insufficient
  quantity.
 
  Thanks.

   Good luck,


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


RE: Is there a way to Auto-Watch ?

2004-07-29 Thread Jim.Hyslop
Mark D. Baushke wrote:

 Actually, it may be that 'cvs watch on' may
 be inherited, but 'cvs watch add' that is not.
'cvs watch add' is inherited. At least, it is in my current project - I
added some new files yesterday, and 'cvs watchers' shows a list of people,
including myself, and I know I haven't run 'cvs watch add' in that project
for a *very* long time.

-- 
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://lists.gnu.org/mailman/listinfo/info-cvs