Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  Version control for FM models

    Posted Fri August 26, 2022 10:58 AM
    What are some of the solutions that can be used for version control of FM models?

    ------------------------------
    Vijay V
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Version control for FM models

    Posted Fri August 26, 2022 03:28 PM

    Almost anything really.  A conscious decision was made to have FM projects as open as possible for the purposes of source control and not to tie FM to any particular method or application.

    All the files in a FM project (the model.xml (the file which stores the model itself), the CPF, the log files etc.) are text files. Any system which allows you to put text files into source control should allow you to be successful in your objective. 

    In addition, you will notice that modifications to an object in a FM model will have the user name of the person who performed the modification stored into the object as one of its properties.  This helps your version control system.



    ------------------------------
    IAN HENDERSON
    ------------------------------



  • 3.  RE: Version control for FM models

    Posted Fri August 26, 2022 05:41 PM
    Thank you Ian, can you suggest any? i tried git but our models are too big and there are limitations on sizes of uploads.

    ------------------------------
    Vijay V
    ------------------------------



  • 4.  RE: Version control for FM models

    Posted Mon August 29, 2022 09:52 AM
    I'm sorry, I'm not really in a position to provide much guidance other than what I have already stated as, among other things, you are quite probably rather more in a position to evaluate what is the situation for your project than I, an outside observer, am. 

    If your models are too big to fit into git, they are rather quite big indeed.

    https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github

    If they are in fact that big then tracking changes with most any source control system would be difficult, even if you have surmounted file size limits. In addition, it could be possible that there could be bottlenecks in that, if you are using one big model, only one modeler could be working on the project at a time.

    There is functionality in FM to create segments, which are separate but linked FM projects. This allows multiple modelers to work on the project as each would be working on a separate segment. The segments automatically synchronize.

    The situation you seem to be reporting could be seen as not just a problem defined as identifying a source control system to use but that of how you are going to go about organizing how you go about working on your models. This is a fairly fundamental situation and you and your team would need to think very carefully about how to approach the problem.

    ------------------------------
    IAN HENDERSON
    ------------------------------



  • 5.  RE: Version control for FM models

    Posted Sun August 28, 2022 02:35 AM

    Hi!

    We use TortoiseSVN. Before sending, we archive the folder with the model.



    ------------------------------
    ILYAS YULYEV
    ------------------------------