ClearCase and ClearQuest

  • 1.  branch type re-names

    Posted Tue December 06, 2016 06:54 PM

    I set up a trigger on mkbrtype that only allows new branch types that have a specific format. 

    However, now I am running into the problem where anyone can simply go back in and re-name that branch type afterwards to something that doesn't follow the formatting rule. 

    So, How can I prevent the renaming of a branchtype  unless it also fits the format? 



  • 2.  RE: branch type re-names

    Posted Tue December 06, 2016 08:12 PM

    Hi Bonnie,

    You asked:

        I set up a trigger on mkbrtype that only allows new branch types that have a specific format.   However, now I am running into the problem where anyone can simply go back in and re-name that branch type afterwards to something that doesn't follow the formatting rule.  So, How can I prevent the renaming of a branchtype  unless it also fits the format?

    The answer is:

    you make a pre-op trigger on "modtype" then take advantage of env varabiles: CLEARCASE_BRTYPE  and CLEARCASE_NEW_TYPE

    Plenty of exemples for ClearCase Triggers here:

    http://abs-consulting.com/_faq/clearcase_triggers.php   (no cost, no signup required)

    Hope this helps.

    -Charles

                A Better Solution, Inc.
    IBM Rational Premier Business Partner
         providing IBM Certified Specialists
    ----------------------------------------------------
    Charles Clarke III              

    Sr. ClearCase Architect
    A Better Solution, Inc.      
                                                  
    Email: charles@abs-consulting.com
              http://www.abs-consulting.com



  • 3.  RE: branch type re-names

    Posted Wed December 07, 2016 12:10 PM

    Hi Charles, thanks so much for this resource. It looks like a very helpful site. I'll certainly check back with further questions.