Planning Analytics

 View Only
  • 1.  Versioning of all project-related code in a single repository

    Posted 3 days ago

    Hello, 

    we would like to version all our data pipelines consisting of DBT, Dagster, TM1.py and TM1 objects like TI processes in a single Git repository. 

    1) Our first approach was to dump the TI processes with TM1.py and transfer and push the JSON to our repository. But the workflow is not the best.

    2) Our preferred approach is to use the TM1-Git integration. The problem is that TM1 deletes all existing files that do not belong to TM1 when we do a push. 

    Is there a solution to this problem? It would be beneficial if we could specify a folder where tm1 stores all tm1 objects so that the rest of the repository remains in its current state. 

    Im looking forward to your feedback. 



    ------------------------------
    Florian Scherzberg
    ------------------------------


  • 2.  RE: Versioning of all project-related code in a single repository

    Posted 2 days ago

    Hi Florian,

    I ran into the exact same issue recently when I was demoing the use of GitHub actions with a repository containing the TM1 model (sample repo can be found here, note that the commits in the repo are deliberate to show of the GitHub actions in action during the demo, planning to add some generic, REST Client for TM1 Developers based, test framework later).

    Whilst I was doing my work/demo in VSCode, the fact that I need additional files in that repo, the GitHub workflow descriptions and my scripts in my case, would indeed preclude TM1's GIT integration itself from interacting with such repo as that would indeed delete those file every time (and using a branch and correcting that every time, which I've done using VSCode, is very cumbersome).

    We already have an exception for the ReadMe file and we'll have to come up with a, backwards compatible, way to allow you to have additional files in such repo. I'll create an [internal] issue for this and get this improvement kicked off. 



    ------------------------------
    Hubert Heijkers
    STSM, Program Director TM1 Functional Database Technology and OData Evangelist
    ------------------------------



  • 3.  RE: Versioning of all project-related code in a single repository

    Posted 2 days ago

    Thanks Hubert for taking up this topic. I am excited and look forward to its implementation.



    ------------------------------
    Florian Scherzberg
    ------------------------------