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
11
votes
1 answer

Difference between branches and streams in ClearCase?

What is difference between branches and streams in ClearCase?
Raman
  • 1,507
  • 3
  • 15
  • 25
11
votes
1 answer

ClearCase to Git migration

We are working on converting our CC Vobs to GIT we have both base and UCM vobs, I have seen many topic with no clear steps. Is there any tool or steps that can keep history and branches?
user3544428
  • 357
  • 1
  • 3
  • 9
11
votes
2 answers

How to search files by label

As title, I'd like to list all the files with a given label under a directory. Which clearcase command can help me to do that ?
Haiyuan Zhang
  • 40,802
  • 41
  • 107
  • 134
11
votes
3 answers

Save history from Clearcase to Git?

At my company, we are transitioning (fully) from ClearCase UCM to Git. We will not be using Clearcase after some time using Git. In the transition, are there any good tools that will bring the history from ClearCase into Git somehow? Also, I have…
Rubasu
  • 379
  • 3
  • 14
10
votes
2 answers

Migrating from clearcase to mercurial

What tools are available to migrate from clearcase to mercurial? Is it possible to move history? What kind of limitations are there?
catphive
  • 3,511
  • 3
  • 31
  • 29
10
votes
4 answers

clearcase -- difference between update and rebase

I have recently been thrown into learning ClearCase (I come from a background with git and svn -- I desperately miss them both :) ) and have been chewing on this one for a while: in a snapshot view, what is the difference between an update and a…
mgalgs
  • 15,671
  • 11
  • 61
  • 74
10
votes
3 answers

Value of using Git with ClearCase, AccuRev or Perforce?

I am interested in the value (or lack thereof) of using a traditional SCM product (ClearCase, AccuRev, Perforce, etc.) along with Git for large projects with distributed teams. Is there a significant value-add in terms of increased visibility into…
jfriedmanlex
  • 109
  • 4
10
votes
8 answers

Does it make sense to permanently delete versions from a VCS as part of a normal development process?

We use ClearCase at my workplace. Part of our standard process when code is merged to the main (trunk) branch is to completely eradicate all of the versions on development and integration branches. Because this wipes out all of the check-in comments…
Mike Daniels
  • 8,582
  • 2
  • 31
  • 44
10
votes
3 answers

Why Won't Clearcase Explorer Diff My XML Files?

I have a situation in Clearcase where I right click to find checkouts and then right click any xml. When I choose "Compare with previous versions", it just pops up with an "XML Diff Merge - Comparing" window that stays minimized in my taskbar. …
Phil Cote
  • 417
  • 1
  • 5
  • 9
10
votes
10 answers

what clearcase plugin to use with eclipse

Which Clearcase plugin should I use for eclipse 3.5+? which is easiest to use? which is most reliable? can any of the plugins handle working with multiple views cleanly?
Arthur Ulfeldt
  • 90,827
  • 27
  • 201
  • 284
9
votes
2 answers

How to integtrate Clear case with Windows explorer on 64 Bit windows 7

I want to use the Clearcase with Windows 7 so that I can check-in / check-out files from windows explorer. Thanks, Ram
Ram
  • 11,404
  • 15
  • 62
  • 93
9
votes
2 answers

Java Clearcase API

Is there a Java ClearCase API?
srinannapa
  • 3,085
  • 8
  • 49
  • 66
9
votes
1 answer

What's the "proper" way to delete files from a ClearCase snapshot?

When I delete a file from my snapshot view, the next time I look at the snapshot in ClearCase Explorer, it shows the "??" checked-out-but-removed icon. When I run "Find Modified Files" on the snapshot, the deleted files aren't shown. Running "Update…
RMorrisey
  • 7,637
  • 9
  • 53
  • 71
9
votes
1 answer

ClearCase UCM - best practices using components

We are migrating a fairly large codebase from VSS to Clearcase w\ UCM and are considering organizing our source into one or more components within a single project. What best practices\potential pitfalls should we keep in mind? The source is…
zac
  • 961
  • 6
  • 11
9
votes
1 answer

Find all files that are not added to ClearCase

I have created some file, in different directories. I couldn't add them when I created, so I need to do it later. Is there a way to get the list of all the files that are in ClearCase view, that are not actually under source control?
Paolo
  • 2,461
  • 5
  • 31
  • 45