CA Service Management

  • 1.  Sync form changes to a git repository

    Posted Nov 16, 2018 08:05 AM

    Good afternoon,

     

    I would like to back up form (htmpl) changes to a git repository, I have only a few constraints, the changes must be pushed each time by the developer performing them, it's not possible to have multiple user accounts in background server and connection to the git repository must be made trough ssh.

     

    I've tried running WSP in the developers' machines (hopping that'll create a local copy of the changes to be pushed) but I can't find a way to make it work, there's connectivity from the developer's machine to bg server SLUMP port but when I try to run it, it says that the services are not running.

     

    The ideal would be to push the changes directly from WSP using the logged CA SDM user.

     

    Any ideas on how to accomplish this? we are currently running CA SDM 14.1 but if there's a way in 17.1 it would also be interesting knowing since we'll be migrating shortly.

     

    Thanks in advance.



  • 2.  Re: Sync form changes to a git repository

    Broadcom Employee
    Posted Nov 16, 2018 12:25 PM

    Hey Kevin,

     

    I think we are still with the same limitation with 14.1 too, as indicated in this old thread : WSP Web Screen Painter SDM 14.1 AA 

     

    _R



  • 3.  Re: Sync form changes to a git repository

    Broadcom Employee
    Posted Nov 16, 2018 03:59 PM

    I don't think currently WSP has this feature built-in.

    You would need to write custom script. Your script will invoke pdm_wsp, push changes to GIT repository according to files in SDM-install\site\mods\wsp\project\web files, run pdm_publish. This way every form changes via WSP will be pushed to GIT repository.

    The challenge is, what happens if some administrator modifies the files DIRECTLY without going thru WSP process...You would need to consider a way prevent this.



  • 4.  Re: Sync form changes to a git repository

    Posted Nov 20, 2018 03:07 AM

    Thank you both, in that case we will analyse a workaround either by a script as suggested by Chi Chen or by manually copying the files to each developer's workstations and pushing from there.

     

    I'll check if there's an idea created for this though and if not, I'll create it since I think it'll be a very useful feature.



  • 5.  Re: Sync form changes to a git repository

    Broadcom Employee
    Posted Nov 20, 2018 09:08 AM

    If you decide to go manually copy the files make sure you do this before pdm_publish