Re: A way to see who has checked out a module?

2004-01-14 Thread Todd Denniston
Could it be Phil that you have posed the question because the users that want
this have come from a version control system that either supports locking,
like rcs|sccs, or from a version control system that does locking by having a
human cm dole out files to the people who request to work on them?

If the above is where they come from and are looking for something vaguely
similar in CVS you might try `cvs watch on filename`[1].
If it is mostly to further communication when someone finds out the file they
have been modifying is changed when they do a cvs update, try `cvs watch add
-a commit` so they might be notified a little quicker.


BTW from your first email ... I do not want to give them shell access to the
box. I have not used ViewCVS, but I have a question, if people are modifying
the files how is it they don't have 'shell access to the box'?  note: I have
begun taking a perspective near Greg Woods' on pserver, ... pserver is almost
as good as a shell access with none of the accountability.  Or are the users
in question read only?


[1] http://www.cvshome.org/docs/manual/cvs-1.11.10/cvs_10.html#SEC89

Steve deRosier wrote:
 
 Again...  this isn't going to tell you much.  It basically gives you a
 log of certain activity with the system.  I can run the same command and
 I get the following results:
 * I have 21 modules checked out.  Of those 21, I only have directories
 in my sandbox for 15 of those (where did those others go?  probably rm
 -r them at some point when I didn't need to work on them anymore)  Of
 the 15, I haven't touched 6 of them in close to a year, and in the last
 two months I've only even looked at 3.
 * Someone who left the company almost 6 months ago has 8 modules checked
 out.
 * One person only has 1 module checked out -- From March last year.
 * No releases are ever done by anybody.
 
 So, what info does cvs history -ao give you?  Basically that someone
 checked out a module for some reason at some point.  Does that give you
 the info you're looking for?  Maybe.  If so, I'd just setup a simple
 cron command:
 'cvs history -ao  /var/www/html/cvscheckouts.txt'
 
 But it doesn't tell me anything useful.
 
 - Steve
 
 Phil Labonte wrote:
  But you can see who has checked out files and when via the command line
  so all I was looking for is something to add to apache... I guess I will
  have to write my own perl script for cgi
 
 
  cvs -history -a -o shows all users and all checked out modules...
 
  Greg A. Woods wrote:
 
  [ On Tuesday, January 13, 2004 at 09:25:52 (-0500), Phil Labonte wrote: ]
 
 
  Subject: Re: A way to see who has checked out a module?
 
  I use ViewCVS as well but there is no option to see a log of checked
  out files is there? If there is can you let me know where?
 
 
 
  Fundamentally there's really no such concept of checked out files in
  CVS.  There is no file locking in CVS, so checked out does not mean
  what I think you think it means.
 
  Any number of people can have any number of working directories checked
  out on any number of clients.
 
  None of it really makes any difference to how anyone would know who's
  really working on what.
 
  CVS is not a replacement for good project management.
 
 
 

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


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


Re: A way to see who has checked out a module?

2004-01-14 Thread Phil Labonte
Yes I think that is where they are comming from. One of them in 
particular is afraid that if he does some major changes to a file he 
wants to make sure nobidy else is currently working on it...

My setup is CVS on RH9 and the clients work on Windows and use Tortoise.

I think I will try to use watch because I think it is a specific set of 
files he is worried about.

I think that the cron job mnentioned above might be enough if I limit 
the time to the last month...

Thanks for all the help!

Todd Denniston wrote:

Could it be Phil that you have posed the question because the users that want
this have come from a version control system that either supports locking,
like rcs|sccs, or from a version control system that does locking by having a
human cm dole out files to the people who request to work on them?
If the above is where they come from and are looking for something vaguely
similar in CVS you might try `cvs watch on filename`[1].
If it is mostly to further communication when someone finds out the file they
have been modifying is changed when they do a cvs update, try `cvs watch add
-a commit` so they might be notified a little quicker.
BTW from your first email ... I do not want to give them shell access to the
box. I have not used ViewCVS, but I have a question, if people are modifying
the files how is it they don't have 'shell access to the box'?  note: I have
begun taking a perspective near Greg Woods' on pserver, ... pserver is almost
as good as a shell access with none of the accountability.  Or are the users
in question read only?
[1] http://www.cvshome.org/docs/manual/cvs-1.11.10/cvs_10.html#SEC89

Steve deRosier wrote:
 

Again...  this isn't going to tell you much.  It basically gives you a
log of certain activity with the system.  I can run the same command and
I get the following results:
* I have 21 modules checked out.  Of those 21, I only have directories
in my sandbox for 15 of those (where did those others go?  probably rm
-r them at some point when I didn't need to work on them anymore)  Of
the 15, I haven't touched 6 of them in close to a year, and in the last
two months I've only even looked at 3.
* Someone who left the company almost 6 months ago has 8 modules checked
out.
* One person only has 1 module checked out -- From March last year.
* No releases are ever done by anybody.
So, what info does cvs history -ao give you?  Basically that someone
checked out a module for some reason at some point.  Does that give you
the info you're looking for?  Maybe.  If so, I'd just setup a simple
cron command:
'cvs history -ao  /var/www/html/cvscheckouts.txt'
But it doesn't tell me anything useful.

- Steve

Phil Labonte wrote:
   

But you can see who has checked out files and when via the command line
so all I was looking for is something to add to apache... I guess I will
have to write my own perl script for cgi
cvs -history -a -o shows all users and all checked out modules...

Greg A. Woods wrote:

 

[ On Tuesday, January 13, 2004 at 09:25:52 (-0500), Phil Labonte wrote: ]

   

Subject: Re: A way to see who has checked out a module?

I use ViewCVS as well but there is no option to see a log of checked
out files is there? If there is can you let me know where?
 

Fundamentally there's really no such concept of checked out files in
CVS.  There is no file locking in CVS, so checked out does not mean
what I think you think it means.
Any number of people can have any number of working directories checked
out on any number of clients.
None of it really makes any difference to how anyone would know who's
really working on what.
CVS is not a replacement for good project management.



   

 



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


Re: A way to see who has checked out a module?

2004-01-14 Thread Greg A. Woods
[ On Wednesday, January 14, 2004 at 10:19:54 (-0500), Phil Labonte wrote: ]
 Subject: Re: A way to see who has checked out a module?

 Yes I think that is where they are comming from. One of them in 
 particular is afraid that if he does some major changes to a file he 
 wants to make sure nobidy else is currently working on it...

The only way that's possible in a concurrent editing systems is by using
_external_ project management techniques.

I.e. that person should contact the rest of his or her colleagues and
ask them politely whether or not they're working on some file which he
or she is going to be making some extensive changes.

Of course if he or she would simply get to work and make those changes,
but remember to keep runnning cvs update at regular intervals then he
or she might more directly learn of the benefits of a concurrent editing
and versioning system like CVS.

Knowing who has what checked out is _NOT_ going to help at all.

-- 
Greg A. Woods

+1 416 218-0098  VE3TCPRoboHack [EMAIL PROTECTED]
Planix, Inc. [EMAIL PROTECTED]  Secrets of the Weird [EMAIL PROTECTED]


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


Re: A way to see who has checked out a module?

2004-01-13 Thread Phil Labonte
I use ViewCVS as well but there is no option to see a log of checked out 
files is there? If there is can you let me know where?

Steve deRosier wrote:

viewcvs -
http://viewcvs.sourceforge.net/index.html
It's what we use and we love it.

- Steve

Phil Labonte wrote:

Is there a web add-on that we can use to see who has checked out a 
given module?

I know you can use the command line but I have some users that would 
like to see who has checked out a given module, and I do not want to 
give them shell access to the box.





___
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: A way to see who has checked out a module?

2004-01-13 Thread Chris Cameron
Am I correct in assuming that you are looking for a web based equivilent to
the 'cvs editors' command?  I don't know if there is such a tool, but I'm
sure someone will be able to tell you if we can agree on the 'command line'
option you originally referred to.

Chris

 -Original Message-
 From: Steve deRosier [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, 14 January 2004 10:25
 To: Phil Labonte
 Cc: CVS List
 Subject: Re: A way to see who has checked out a module?
 
 
 Sorry, it looks like I misread your question.  No I don't know of any 
 tool to do this.  Actually, I'm not sure it is even possible on the 
 command line...who has what checked out isn't a relevant 
 question in 
 CVS.  Using the various hooks for script running on cvs commands, you 
 might be able to put together your own tool (if there is any 
 hook run on 
 a checkout even); a script that writes the user to a file on 
 checkouts 
 and removes the name from from the file on releases and then 
 a web page 
 that includes this info might be a way to do it.
 
 But, again I don't see how it would be useful.  When I work 
 on projects, 
 I check out the module and check in any changes I make.  When 
 I'm done I 
 usually just leave the module in my sandbox directory 
 ignoring it untill 
 I need to do something with it again, at which point I just 
 issue a 'cvs 
 up' command to get current.  Right now I've got probably 15 modules 
 checked out, but have only touched about 6 of them in the 
 last 6 months 
 (and am currently only actively working with 2 of them).
 
 - Steve
 
 Phil Labonte wrote:
  I use ViewCVS as well but there is no option to see a log 
 of checked out 
  files is there? If there is can you let me know where?
  
  Steve deRosier wrote:
  
  viewcvs -
  http://viewcvs.sourceforge.net/index.html
 
  It's what we use and we love it.
 
  - Steve
 
 
  Phil Labonte wrote:
 
  Is there a web add-on that we can use to see who has 
 checked out a 
  given module?
 
  I know you can use the command line but I have some users 
 that would 
  like to see who has checked out a given module, and I do 
 not want to 
  give them shell access to the box.
 
 
 
 
 
  ___
  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
 


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


Re: A way to see who has checked out a module?

2004-01-13 Thread Steve deRosier
Again...  this isn't going to tell you much.  It basically gives you a 
log of certain activity with the system.  I can run the same command and 
I get the following results:
* I have 21 modules checked out.  Of those 21, I only have directories 
in my sandbox for 15 of those (where did those others go?  probably rm 
-r them at some point when I didn't need to work on them anymore)  Of 
the 15, I haven't touched 6 of them in close to a year, and in the last 
two months I've only even looked at 3.
* Someone who left the company almost 6 months ago has 8 modules checked 
out.
* One person only has 1 module checked out -- From March last year.
* No releases are ever done by anybody.

So, what info does cvs history -ao give you?  Basically that someone 
checked out a module for some reason at some point.  Does that give you 
the info you're looking for?  Maybe.  If so, I'd just setup a simple 
cron command:
'cvs history -ao  /var/www/html/cvscheckouts.txt'

But it doesn't tell me anything useful.

- Steve

Phil Labonte wrote:
But you can see who has checked out files and when via the command line 
so all I was looking for is something to add to apache... I guess I will 
have to write my own perl script for cgi

cvs -history -a -o shows all users and all checked out modules...

Greg A. Woods wrote:

[ On Tuesday, January 13, 2004 at 09:25:52 (-0500), Phil Labonte wrote: ]
 

Subject: Re: A way to see who has checked out a module?

I use ViewCVS as well but there is no option to see a log of checked 
out files is there? If there is can you let me know where?
  


Fundamentally there's really no such concept of checked out files in
CVS.  There is no file locking in CVS, so checked out does not mean
what I think you think it means.
Any number of people can have any number of working directories checked
out on any number of clients.
None of it really makes any difference to how anyone would know who's
really working on what.
CVS is not a replacement for good project management.

 



___
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


A way to see who has checked out a module?

2004-01-12 Thread Phil Labonte
Is there a web add-on that we can use to see who has checked out a given 
module?

I know you can use the command line but I have some users that would 
like to see who has checked out a given module, and I do not want to 
give them shell access to the box.





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


Re: A way to see who has checked out a module?

2004-01-12 Thread Steve deRosier
viewcvs -
http://viewcvs.sourceforge.net/index.html
It's what we use and we love it.

- Steve

Phil Labonte wrote:
Is there a web add-on that we can use to see who has checked out a given 
module?

I know you can use the command line but I have some users that would 
like to see who has checked out a given module, and I do not want to 
give them shell access to the box.





___
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