To remove an element you should use the cleartool rmname command. The contents of a clearcase view are determined by its configuration specification config spec. Due to our companys decision for clearcase as vcs its the core plugin for us to be able to set up a scrumlike process using jenkins. For many users of a base clearcase scm installation, autogenerated config specs are more convenient than usersupplied config specs. It manages multiple variants of evolving software systems, tracks which versions were used in software builds, performs builds of individual programs or entire releases according to userdefined version specifications, and enforces sitespecific development policies. In your text editor, use the following syntax to create load rules. The following is a cheat sheet for developers that provides a short dictionary of those few common commandline operations that allow developers to make use of the power of the clearcase software configuration management system.
Before starting, make sure your environment variables are set up as detailed here. Therefore, if a client on the wrong operating system recompiles a config spec with one of these commands, the config spec becomes unusable by any client using that view. How do i understand using directory protections is not sufficient to protect the contained elements. Jan 21, 2009 this presentation develops the basics for the clearcase scm tool. A config spec is the mechanism that a clearcase view determines what versions of an element that the user accesses. Software configuration management a clear case for ibm rational clearcase and clearquest ucm december 2004 international technical support organization sg24639900. Currently only red hat enterprise linux and suse enterprise linux are supported. Git is distributed version control system dvcs where as clearcase is centralized source control system. Ccview gives the config spec of the view as a single string. Conceptually git and clearcase are very different in the way they manage data and maintain different versions. Each clearcase rule within the config spec is separated by the \n token.
The config spec of a clearcase view includes version. Software configuration management at acme widget company nj. Transitioning from clearcase to mercurial a developers accountabstract we moved away from clearcase because it was broken and picked mercurial over subversion. The config spec file consists of rules, one per line, that are interpreted from top to bottom. In addition, the repository stores detailed accounting data on the. Download the clearcase installation from ibm rational support. Create a ucm project for the clearcase ucm tutorial. Clearcase data logged to issuetask record separate recordtype for defects. Similar to placing an element under clearcase control, you must first checkout the directory containing the element to be removed, do the cleartool rmname of the element, and then checkin the new version of the. How a config spec selects versions ibm knowledge center. In convoluted syntax, it basically said show me this version, from this base.
Clearcase branching using configspec stack overflow. Thus, the meaning of a relative specification, such as today, may change over time. Clearcase is version management tool for all types of files and directories records all actions reports history accurate reproduction of every release available both in unix and windows nt environments two user interfaces command line. A configuration specification can also reference other configuration specifications by means of an include statement.
A config spec is compiled if a client executes either of these cleartool commands. Clearcase utilities how do i covers last updated 12dec12. Jenkins17865 loading config spec from file shall be. Clearcase includes revision control and forms the basis for configuration. I have the ibm rational clearcase client installed on my windows 7 machine.
Configrec in configspec some groups may also use configrecs in the configspec of a view to reproduce the configuration of all the versions used as part of a build. To determine which version, if any, of an element should be visible, clearcase traverses the configuration specification linebyline from top to bottom, stopping when a match is found and ignoring any subsequent rules. The version you checked in and, hence, the version currently in the view is not the version that the config spec selects from the vob. Load rules, which specify the path names of directories and files to load from the vob. You can provide the config spec either inline or by reading it from a file. Then it checks if the version selector field matches. Well you can, with the time rules feature of config specs. Deployment methodthe ibm setup wizard provides two deployment methods. Also included is the version selector part of the config spec rule that selects this version. Advanced config specs part 1 ever wanted to rollback the clock to see what was in the vob in the past without using an old label in your config spec. This process requires identifying all the source code that needs to be moved, agreeing on a. Sep 05, 2017 base clearcase is easy to use with just a few common operations that allow developers to quickly and easily do the things they need to do.
If you do not enter a clearcase command for a substantial period, prior to the 60 minutes expiring, then the license is released and another user can pull that license. At its heart is a permanent, secure data repository. This means that the configurationrecord is somehow preserved and checkedin to clearcase will have a baseline label applied to it when a baseline is created. Clearcase ucm tutorial pdf this module explains the project managers tasks to set up a ucm project. The installation perl scripts check the contents of etcredhatrelease or. Version selection rules, which select at most one version of each file or directory element in. Configuration management with clearcase what is clearcase. The following is a cheat sheet for developers that provides a short dictionary of those few common commandline operations that allow developers to make use of the power of the clearcase software configuration. An excellent overview of clearcase conceptsthe best single place to get started.
Removed deault enabled debug for commands sent to clearcase. Each clearcase rule within the config spec is separated by the token. Instead of being forced to provide a config spec file at an external location, the scm url contains all information that is needed to check out the code. The installation perl scripts check the contents of etcredhatrelease or etcsuserelease for the appropriate contents. The config spec of a clearcase view includes two kinds of rules. For ucm views, the setcs command verifies that the views configuration matches the configuration defined by the stream it is attached to and, if needed, reconfigures the view. The config spec will apply the rules on each update and on checkout, and on checkin but not as you think it would. Figure 1 illustrates how clearcase interprets the load rules to select the version of the file that is visible through your snapshot view. Clearcase looks into the config spec and matches the rules to the element that you want to access. Targetrelease defines config spec the targetrelease specified for a record in the tracking system is used to define or enforce the codeline andor baseline branch andor label used for development in the views config spec. Rational clearcase is a family of computer software tools that supports software configuration management scm of source code and other software development assets. Download clearcase from your ibm account passportadvantage c.
Clearcase tutorial is now noninteractive html only. Software configuration management a clear case for ibm rational clearcase and clearquest ucm december 2004 international technical support organization. The configspec is a special file that describes what view you will be presented. For more information, refer to the section, actions taken in the view, in the checkin reference page. In a snapshot view, you see the message if ls encounters errors the name of. In a snapshot or web view, users invoke an update operation to select versions from the vob. Page 6 of 16 clearcase support whitepaper there are two ways to get the.
Select this option to create and customize a network release area. System documentation for clearcase systems ccsun01 and ccsun02. A views config spec configuration specification contains an ordered set of rules for selecting versions of elements. Cm procedures scripts triggers cm plan clearcase best practices merging clearcase faq. However, if you want to create a new subbranch, you need to first create it with the mkbrtype command. Provide access to clearcase web and pdf documentation create short 1 page reference card with most common actions provide kind config spec advices so users are not scared of it. Copy the config file from the boot directory on a red hat 2. The clearcase server installation is very specific as to which versions of linux are supported. Times new roman arial wingdings ohmall40 microsoft clip gallery no slide title what is clearcase.
By restricting source code changes, spec separates the activity of porting benchmarks, which has a goal of being performance neutral, from the activity of using the. May 14, 2019 clearcase ucm tutorial pdf this module explains the project managers tasks to set up a ucm project. Entering any clearcase command renews the license and the timeout period. How do i determine the full pathname and version of. Spec has chosen not to allow source code changes for the spec accel, except under very limited circumstances. This command removes the name of the specified element from the directory in which it is contained. Transitioning from clearcase to mercurial a developers. Reevaluates config spec and reselects vob elements to show. Load rules already in the views configuration are preserved. Clearcase view configuration specifications merging to branch. You can provide a command to execute prior to read the config spec in order to refresh it. Currently the get config spec from a file feature seems to be reading the config spec always on.
The primary manual on clearcase that rational provides that might be of use to you. Clearcaseconfig contains all the environment and platformspecific configuration settings and attributes for the version of clearcase running on the host system. Base clearcase is easy to use with just a few common operations that allow developers to quickly and easily do the things they need to do. Therefore if you last performed one of the commands.
Files in a normal view window files in version tree browser window versions that match with default config spec labelling example of config spec for. It also supports designdata management of electronic design artifacts, thus enabling hardware and software codevelopment. Review the ibm rational clearcase command reference guide for more details on the cleartool subcommands discussed in this technote, or run cleartool man from command line. That new version might not be selected by the new config spec, but the branch in which it has been checked out is not changed by said new config spec. This is done usually when you create a view which will be placing new element versions on a specific branch according to the. Clearcase configuration specification highley recommended, inc.
Under base clearcase, each view is controlled by its associated configuration specification, commonly referred to as a config spec. Open the views config spec in your default editor by entering this command. Back to top refer to find command documentation in the ibm rational clearcase information center for additional examples of using the find command that include searching for. The following is an example of a config spec that isolates work from the main branch by creating a subbranch called bugfix. Software configuration management a clear case for ibm rational clearcase and clearquest ucm ueli wahli jennie brown. However, the datetime is not evaluated at run time.
Mount the versioned object base vob only done once. For clearcase on unix, if the working directory view differs from the set view established by the setview command, setcs displays a. The content of every clearcase view is determined by its configuration specification config spec. Config spec rules for elements in subbranches ibm knowledge.
Changing the config spec on unix ibm knowledge center. Ucm config specs are different from those for base clearcase in that. Clearcase is a comprehensive software configuration management system. Preparing for clearcase and release management clearcase is a sophisticated software configuration management system into which all awcnj application source code will be migrated. Software configuration management at acme widget company nj clearcase quick reference unix.
Jan 15, 2011 git is distributed version control system dvcs where as clearcase is centralized source control system. Understanding config specs i recently had a question concerning how to understand configuration specifications or config specs in clearcase views, so here goes. This presentation develops the basics for the clearcase scm tool. Software configuration management a clear case for ibm. I understand how to set up vobs, views, manipulate files and branch using the config spec for the view. The clearcase config spec mechanism is a compositionbased one. Arguments in cleartool commands specify objects, either file system objects which may or may not be in a vob or nonfilesystem vob objects. Figure 11 shows a development environment managed by clearcase. Provide kind config spec advices so users are not scared of it. This is a collection of rules stored internally in a text file, but compiled before use that specifies what element versions files or directories are to be displayed in a view. Clearcase view configuration view ibm knowledge center. Similar to placing an element under clearcase control, you must first checkout the directory containing the element to be removed, do the cleartool rmname of the element, and then checkin the new version of the dir.
588 1320 1545 1240 1378 54 850 1116 87 976 252 534 1423 692 1382 481 1112 127 640 1406 417 1374 1164 461 288 1071 604 1380 960 1379 65 482 1415 1187 301 128 1028