clearcase

In ClearCase, need CLI invocation to list all revisions

纵然是瞬间 提交于 2021-02-19 08:19:26
问题 I'm attempting to add support for reading ClearCase repositories to reposurgeon. I've been able to puzzle out most of what I think I need, but the documentation is a massive pile of confusing details that leaves one basic question obscure. How do I list all revisions in a CC repository? The minimum thing I need would be a time-ordered sequence of lines each containing a revision ID (path, branch, revision level) and its parent revision ID. Revisions for directories should be included because

how to create a preop trigger to prevent a new baseline in clearcase stream?

痴心易碎 提交于 2021-02-19 07:47:27
问题 I have this issue while rebasing the stream: cleartool: Error: Can't switch to baseline because the stream has made changes based on the current baseline. giraffe_pvob is a non modifiable component on tiger_011 project and there were no changes done on this component by the stream. I would like to install the preop trigger to prevent any new baseline on this stream. so how should I proceed? Will this prevent any rebasing issue like above? Thanks !! 回答1: You cannot prevent the creation of the

How to create/recommend ClearCase baseline via commands?

我只是一个虾纸丫 提交于 2021-02-19 07:45:21
问题 Jenkins allows to add a build step that executes Windows Batch Commands. What would be the commands to create and recommend a ClearCase baseline? The stream has only one component. The baseline should take all activities, so no activity selection. Commands cleartool mkbl -view myViewName "Test" // created baseline Test.150 回答1: If you can execute cleartool command, you would recommend a baseline using cleartool chstream: cleartool chstream -nc -recommend BL1@/vobs/pop_pvob Rules for

Java ClearCase Update on a HTTPS Server

我只是一个虾纸丫 提交于 2021-02-19 07:18:07
问题 I am trying to automate ClearCase, so I can do automatic building. The first step is to update a view by script. I am trying this with the following Java code: StpProvider provider = (StpProvider) ProviderFactory.createProvider( CcProvider.NETWORK_PROVIDER_CLASS, callback); provider.setServerUrl("https://..."); CcProvider m_provider = provider.ccProvider(); m_provider.registerTrustManagerCallback(callback); File viewRoot = new File("D:\\Views\\..."); StpLocation viewLocation = provider

Will there be any side effect if we delete a latest version from integration stream?

岁酱吖の 提交于 2021-02-19 05:33:24
问题 we have delivered some set of packages to testing team and they completed testing. In one of the package they report a defect and it was fixed and delivered to integration stream. But while deliver it asked for rebase and delivery contained reabase activity. In rebase activity due to merging issues one of the file was modified in a package which had no defect. As testing was already completed and the changes in the delivery is not required , our team wants to delete the latest version of a

ClearCase moving triggers scripts to another location

天大地大妈咪最大 提交于 2021-02-11 14:27:48
问题 I have to move the trigger's scripts from one server to another, on both linux and windows. As far as i know i have to use the ct mktrtype command with the -replace parameter, I've read on IBM web site that i have to use the same command that was used to create those triggers. How can i identify the command that was used. Here is part of my triggers: trigger type "REMOVE_EMPTY_BRANCH" 2007-11-27T15:29:00+02:00 by vobadm.ccusers@tlv-vob2 "Automatically remove empty branches" owner: ARRS\vobadm

Restrict VOB components from checking ou/in

帅比萌擦擦* 提交于 2021-02-08 09:45:10
问题 In my project I got to create users who are allowed to read only access to VOB. To accomplish this as per study and my understandings I have created different groups and directory wise I have changed root group to respective group. Example : Under VOB I have three directories dA, dB and dC I created 3 groups gA, gB and gC. Even after gving protecting directories by chmod 770 so that other groups could not do Checkin/Checkout - 1. Other groups users still could access directories. 2. And other

Clearcase finding a specific file on any branch

谁说胖子不能爱 提交于 2021-02-08 07:54:47
问题 Our clearcase installation has multiple branches covering many years of development. I'm trying to search for a specific file (or part file name) and it could be on a branch that has never been merged back to the integration or MAIN branch. Branch structure can be main/branch1 and also main/integration/branch2 Any thing i've seen on cleartool find needs a view but i've not be able to get a catch all config spec. Any suggestions. Thanks 回答1: The cleartool find command does not depend always on

Clearcase finding a specific file on any branch

試著忘記壹切 提交于 2021-02-08 07:54:38
问题 Our clearcase installation has multiple branches covering many years of development. I'm trying to search for a specific file (or part file name) and it could be on a branch that has never been merged back to the integration or MAIN branch. Branch structure can be main/branch1 and also main/integration/branch2 Any thing i've seen on cleartool find needs a view but i've not be able to get a catch all config spec. Any suggestions. Thanks 回答1: The cleartool find command does not depend always on

Unable to get view handle in clearcase

主宰稳场 提交于 2021-02-08 07:39:43
问题 We had a Disaster recovery(DR) exercise, as part of which we had transferred the mastership of VOB from replica in Primary server to the replica in DR server. Once this was done, the users connected through CCRC to the DR server and created views and performed some dummy file creation/labelling/checkout/checkin operations. Later we transferred the mastership of VOBs back to the replica in primary server. Users disconnected from the same view and updated their URL to point to that of Primary