configuration management Questions

You can query and get the value of systemattributes via the Java API:

Request.queryAttribute and passing the SystemAttributes.XXX

So, is there a way to query the user defined attributes of a request, i.e Target Release?

Kr
Joel

We are planning to upgrade Harvest 7.1 to CA SCM 12.1SP2.

The handling of forms changed and unfortunately the scripting language, too. Now we would like to get the users name within an change event. With VBScript we had an User-object.

Where is the CA SCM userinfo located? In the editor object?

Is there a documentation for or experiences with the editor object?

Any help welcome
-Hans-Arno

I need help with advantages of CA SCM over IBM Clearcase. If any one has a document or a presentation already prepared, please let me know.

Thanks,
Mir

I am trying to use a post script in SCM Harvest to change ownership and permission on a file that was refreshed on a agent.

Need help with how to accomplish this.

Is there any experience out there regarding "Version Management" of HP Extream entities/artifacts? (I think it used to be called Dialogue)

Basically we are currently exporting some ".pub" files from Extream (which we can load into our VM tool) for deployment to Test/Live. But it "appears" that there is no method to reload/re-import these files back into Extream.

So although we can reproduce/deliver back-dated/old .pub files into Test/Live environments we seemingly can't rewind Extream to the same level/version to modify (for bug fix etc).......

Cheers

I'm looking for a way to have separated but INDEPENDANT build_mgr on a same database to limit interaction between us. Each build_mgr will have a group of project to manage.

I want to avoid that the build manager of a project interact on a project which is not in its group....

any idea ?

By tekkie - January 24, 20122 Answers

I have a weird situation with a Cleartool find command in that it appears to 'change its mind' with time... I am running the following command:

cleartool find /vobs/gmag_public -all -type d -verion "brtype(main) && ! version(.../main/0)" -print

My changes to folders are performed on my primary Solaris server and the find command is run on a replica Linux server, which is "synced up" every 20 minutes.

When I run:

diff history 092757 history 110704

I get the following output (NOTE folder-2-name-2 becomes folder-2-name-1):

< /vobs/zzz/xxx/Source/examples/deletes-renames/folder-1@@/main/3/folder-2-name-2@@/main/1
< /vobs/zzz/xxx/Source/examples/deletes-renames/folder-1@@/main/3/folder-2-name-2@@/main/2
< /vobs/zzz/xxx/Source/examples/deletes-renames/folder-1@@/main/3/folder-2-name-2@@/main/3
---
> /vobs/zzz/xxx/Source/examples/deletes-renames/folder-1@@/main/2/folder-2-name-1@@/main/1
> /vobs/zzz/xxx/Source/examples/deletes-renames/folder-1@@/main/2/folder-2-name-1@@/main/2
> /vobs/zzz/xxx/Source/examples/deletes-renames/folder-1@@/main/2/folder-2-name-1@@/main/3[/code]

How is this possible?

I am working on a pre-op trigger for the checkin process, where I am adding a line which contains the following information in the file to be checked in:

1. Version number
2. Username
3. Date
4. Comment entered by user during checkin

The above values are being read from clearcase environment variables.

I am implementing this using Perl. The problem I am facing is in case of a failed checkin( for example, an unreserved checkout user trying to checkin the file, when another user has checked out the file in reserved mode).

Since this is a preop trigger, even if the checkin fails, the script will run and the line is getting added in the file.

Currently, I have implemented a temporary workaround for this: before adding the line in the file, I check whether a similar line (comparing until version number, username, date) already exists in the file. If it exists, I am displaying error message to the user and checkin process will fail. The user has to manually delete the line from the file and try to checkin again.

Now I am looking for a solution where I can determine a failed checkin well in advance, so that the line does not get added at all in the file.

If you have implemented a trigger similar to this one, please share your ideas and help me out.

As i need list of the file changes between two labels and diff of the versions(components) of the two labels in my view in unix ,tried the below commands . Can any one pls help better way .

ct find -avobs –nvisible -version "lbtype(label1)" -print | sort > label1.versions
ct find -avobs –nvisible -version "lbtype(label2)" -print | sort > label2.versions
comm -3 label1.versions label2.versions

By Jirong Hu - December 30, 20114 Answers

Hi

I was quite active in CMCrossroads a couple of years ago. Then I spent some time in load testing, RQM and ClearCase for zOS and now RTC.

Back to SCM in general, did I miss anything? Is there anything I need to catch up? What's the new development in SCM world?

Thanks
Jirong

Pages

CMCrossroads is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.