Questions tagged [clearcase]

ClearCase is a closed-source, centralized revision control system (VCS) from IBM. Among its features: per-file versions & branches; "snapshot" copies of versioned data as well as dynamically-synched views of server contents; replication. Decentralized option: ClearCase Multi-Site, with Vobs (Version Object Base) replication Network access to versioned data: dynamic views. It is currently managed by IBM (after being run by Rational)

ClearCase (a.k.a. Rational ClearCase) is version control system (VCS), available commercially from IBM.

Defining features

  • It is centralized rather than distributed: There is a central server (possibly replicated) holding the authoritative versions of data and their histories; a developer or user employs a client to access data on the central server, and cannot rely on other clients or on itself as an alternative to the server.
  • It is network-oriented: Version histories and other meta-data is not to be found in some hidden subfolder on the local file system, and manipulated through edits to those files. Any interaction with such histories is carried out over connections to the ClearCase server.
  • Versioning happens at file-level rather than repository-level. Thus, changes happen to individual files independently of others; when "viewing" a repository, one in fact sees a collection of different versions of many independent objects.
  • It is closed-source, only available under a restrictive license.

Additional notworthy features

  • Supports two kinds of access to repositories:

    • snapshot view: A local copy of (certain versions of) all files in a repository, pulled once from the server.
    • dynamic view: A dynamically-synched form of access to a repository, where all operations actually happen on the ClearCase server, and all writes and changes impact it.

    the distinction between the two view types is somewhat similar to the POP3 vs IMAP protocols in email, or NFS vs rsync'ed filesystems. In fact, dynamic views are implemented via operating system kernel integration of the ClearCase client.

  • A complex mechanism of choosing which versions and branches of which files are used in a view, through a cascading/fall-through chain of rules called a config-spec (view configuration specification). These also determine when ClearCase is to create new versions of some files, in the same or in a new b ranch.

  • Replication of the centrally-stored versioned data, for better robustness (the "MultiSite" feature), with various supported syncrhonization/replication patterns.

History

ClearCase was initially developed in the early 1990s by Atria software; Atria later merged into Rational Software; and Rational was eventually became a division of IBM, which bought it in 2003. ClearCase development/maintenance is ongoing, albeit slowly: over the past decade revisions have been released once a year or several years.

Online resources

2218 questions
1
vote
1 answer

How to avoid clearcase to have never_merge_binary element type?

Every time I create an element, it is created with the "never_merge_binary" element type. How can I avoid this in future to have it "compressed_file" rather than "never_merge_binary"? What param in C:\Program…
user2370590
  • 837
  • 1
  • 16
  • 31
1
vote
1 answer

How to add a file to ClearCase database, but not in source control?

On my project I have some files that are generated automatically, so you'd normally don't put those in Source Control. But since this process takes a long time and they change quite periodically, I'd rather keep them in Clear Case database to not…
Pedro Witzel
  • 368
  • 3
  • 14
1
vote
2 answers

How do I list Clearcase versions without the Fully-qualified verison?

In Clearcase: I'm trying to find the names of all files in the current view without a specific label. So far I've come up with the following: cleartool find -cview -all -version '\!lbtype(LABEL_1)' -print But this ends up displaying the filenames…
Luciano
  • 1,571
  • 3
  • 17
  • 23
1
vote
1 answer

How to create Git repository on ClearCase?

I have query on moving from ClearCase to Git. Currently we have the build environment setup on ClearCase. The reason for moving to ClearCase is that the it's too slow for huge builds. At times it takes hours for the build. Build on ClearCase is done…
1
vote
1 answer

Cleartool difference between -element and -version

When searching for a way to find all files in a clearcase repo that changed since date X i found two approaches cleartool find . -type f -branch "brtype(abranch)" -element "{created_since(10-Jan)}" -print as stated here and cleartool find . -type f…
x29a
  • 1,761
  • 1
  • 24
  • 43
1
vote
1 answer

Given ClearCase stream name, how to get tag of local dynamic view?

I already know a non-elegant solution: get list of all views of stream with cleartool lsstream -l find the view with Server host: *** equal to machine name by running cleartool lsview -l for all these views It might be quite slow, because there…
1
vote
1 answer

Python ClearCase Download Vobs Popen Password BASH Program Sketchy

I coded this program yesterday and it was actually working except for when run by CRON. Today, I ran the same script and it does not work. The script will run without any Tracebacks Errors, and it will copy the top folder (vob) from the ClearCase…
user3808269
  • 1,321
  • 3
  • 21
  • 40
1
vote
1 answer

Is there anything similar to `svn info` in clearcase?

Some time ago, I worked with Subversion and I know svn info command, but now I need something similar in ClearCase. What would be the ClearCase equivalent?
Alavaros
  • 1,665
  • 7
  • 32
  • 52
1
vote
1 answer

What's stopping Jenkins ClearCase plugin from seeing baseline components?

I've upgraded Jenkins ClearCase Plugin and my build job is no longer able to determine load rules properly. Things worked before the plugin upgrade. Environment CC Plugin: org.jenkins-ci.plugins:clearcase:1.5.3 Jenkins: 1.596 I'm using UCM…
user2984213
  • 119
  • 10
1
vote
1 answer

Is it possible to execute a target based on another target result in Msbuild?

I am having a task to find whether the clearcase folder has any changes or not.
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

Restrict VOB components from checking ou/in

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…
1
vote
1 answer

Obtain change set of an activity with cleartool without active view

How can I obtain the list of changed files, given that I have an activity name (and also a project and stream name)? This is what I tried: cleartool lsact -l someActivity But it returns: cleartool: Error: Unable to determine VOB for pathname…
Bram Schoenmakers
  • 1,599
  • 14
  • 19
1
vote
1 answer

upgrading clearcase 7.0 to 8.0

I am in process of upgrading ClearCase 7.0 from old machines (windows 2003) to ClearCase8.0 new machines(with windows 2012). What would be the best way to do it so that in case we run into failures, we go back to 7.0 in old machines? Clients will…
user2636464
  • 685
  • 7
  • 17
1
vote
1 answer

How to find whether any checkin is made in clearcase for particular component since yesterday?

In our project we are having multiple components. If a component has changes [check in happened ] then that component should be taken for build. How to find whether the component is changed since yesterday or not?
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

How to construct path with clearcase view name if only the drive letter is M:?

Clearcase dynamic views can be accessed via M: drive by default. But if it is mapped in some other drive letter like Y: it will not have View name. This property is challenging when i am doing scripting . If the user trigger the script from M: drive…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1 2 3
99
100