Replies: 11 - Pages: 1 -
Last Post: Nov 8, 2010 1:11 AM Last Post By: Bette.Hawthorne Threads: [
Previous |
Next ]
Posts: 62
Registered: Jan 09, 2006 02:00:12 PM
Cleartool Describe Help
Posted: Jul 22, 2010 01:23:12 PM When you run the Cleartool describe command, there is a section called "VOB holds objects from the following views" (see below).
I know you can remove these old references via "cleartool rmview -uuid", to remove old checked out objects references.
We have some VOBs that have been opened for years, with many closed projects. The list of old view references (where checkouts do not exist) can number in the hundreds.
My question is... Can you remove these old references? Does removing them hurt anything? We have a PERL script that can remove them pretty easily, we just want to make sure it won't hurt anything.
cmd-context describe -
long vob:.versioned object base "\hw" created 15-Dec-98.09:34:00 by jenny.adm@oxygen"VOB dedicated to development of "hello, world" program" VOB family feature level: 2 VOB storage host:pathname "oxygen:c:\users\vb_store\tut\tut.vbs" VOB storage global pathname "\\oxygen\users\vb_store\tut\tut.vbs" VOB ownership: owner jackson group dvt VOB holds objects from the following views: oxygen:\vb_store\tut\old.vws[uuid 249356fe.d50f11cb.a3fd.00:01:56:01:0a:4f]
Posts: 464
Registered: Apr 08, 2008 11:40:52 PM
Re: Cleartool Describe Help
Posted: Jul 22, 2010 06:43:09 PM
in response to:
gdorrell's post There is no "danger" as such but there is something to consider... If some of the checkouts are for directories, and that the people who held the checkouts had added new elements into those checked out directories... its not impossible that you might end up with extra things appearing in lost+found.
Its highly likely that if there are any of these that they have never been visible to any other users of your vobs so it isn't dangerous... maybe a little disturbing :-)
Posts: 62
Registered: Jan 09, 2006 02:00:12 PM
Re: Cleartool Describe Help
Posted: Jul 22, 2010 06:54:36 PM
in response to:
gdorrell's post There are no checkouts currently in the vob so I am not worried about losing anything like that. I just don't know why the entries are there. Any other reasons they may be in there?
Posts: 464
Registered: Apr 08, 2008 11:40:52 PM
Re: Cleartool Describe Help
Posted: Jul 22, 2010 07:41:55 PM
in response to:
gdorrell's post Hmm... they would normally refer to checkouts. The only other thing that comes to mind is old derived objects. Were there (or are there) people using ClearMake?
Posts: 464
Registered: Apr 08, 2008 11:40:52 PM Actually of course that probably is it... the example you gave - it is a tutorial vob. In the training courses you use ClearMake even if it isn't part of your real regular usage.
Posts: 62
Registered: Jan 09, 2006 02:00:12 PM
Re: Cleartool Describe Help
Posted: Jul 23, 2010 09:10:05 AM
in response to:
gdorrell's post I just used the example readily available in the MAN pages, not one from our environment.
Our users do not use ClearMake. I understand that they are typically there due to checkouts, but there an no checkouts in the VOB. Many of the references point to views that no longer exist (and have long since been removed and/or corrupted).
As an example, we have one VOB with one project where there are 10 views. There are 8 references to those views in describe -l, but one other view is not in there, yet it is still a valid view.
Is it because they have an activity?Is it because they checked something into an activity (that was a work object)?
Are there any other reasons why they would be in there? I guess we need to understand the reasons the view show up before we can be sure they can be deleted.
Posts: 62
Registered: Jan 09, 2006 02:00:12 PM
Re: Cleartool Describe Help
Posted: Jul 26, 2010 09:15:36 AM
in response to:
gdorrell's post BUMP Can anyone help with this?
Posts: 877
Registered: Jun 09, 2005 09:06:53 PM
Re: Cleartool Describe Help
Posted: Jul 26, 2010 10:49:29 AM
in response to:
gdorrell's post It is my understanding that a view shows up in that list if the view has a checkout in that vob or a derived object.
Since you don't have DOs, you can test it easily by creating a new view and check the list (it won't be there) and then doing a checkout (it will be there) and then do a ci or unco and it should be gone again.
Martina
Posts: 62
Registered: Jan 09, 2006 02:00:12 PM
Re: Cleartool Describe Help
Posted: Jul 26, 2010 01:33:55 PM
in response to:
martina's post I completed that test, and as expected (by both of us), the entry was removed.
My concern is where there are no checkouts in the VOB (in find checkouts all views, all users) yet there are still many entries in the "describe -l" listing.
Is this something to be concerned about? Can the older entries be removed if they no longer point to valid (or existing) checkouts?
Posts: 62
Registered: Jan 09, 2006 02:00:12 PM
Re: Cleartool Describe Help
Posted: Aug 03, 2010 08:35:17 AM
in response to:
gdorrell's post One more dump...
Any more feedback would be appreciated. It seems that this doesn't function as everyone thinks it does (views not displayed only if they have DO objects or checkouts).
Posts: 207
Registered: Oct 31, 2006 04:24:09 PM
Re: Cleartool Describe Help
Posted: Aug 03, 2010 09:23:15 AM
in response to:
gdorrell's post Maybe those references are related to views that were not removed properly? Even though the tags are gone, there may still be an object for them.
Jozef
Posts: 2
Registered: Sep 11, 2010 07:38:17 PM
Re: Cleartool Describe Help
Posted: Nov 08, 2010 01:11:00 AM
in response to:
gdorrell's post Jozef wrote:
Maybe those references are related to views that were not removed
properly? Even though the tags are gone, there may still be an object for them.
Jozef
Could you give more details?
Use the search field to find all types of content in My developerWorks with that tag.
Use the slider bar to see more or fewer tags.
Popular tags shows the top tags for this particular type of content or application that you're viewing.
My tags shows your tags for this particular type of content or application that you're viewing.
Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.
More
Less
View the original article here