Author Topic: How do you version control your scripts?  (Read 2857 times)

Hurra

  • EA User
  • **
  • Posts: 183
  • Karma: +0/-0
    • View Profile
    • Find me at LinkedIn!
How do you version control your scripts?
« on: November 08, 2023, 09:16:07 pm »
Hello!

I'm getting a lot of scripts in EA.

How do you version control your scripts?

Do you copy and paste your scripts in an external tool e.g.Visual Studio Code and have that repository version controlled, like git? Or do you have the version control in Sparx EA directly?

Also, can I create 'folders' when right-clicking -> Specialize -> Scripts? That list showing up is getting way to big.

Thank you!
always learning!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13288
  • Karma: +557/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How do you version control your scripts?
« Reply #1 on: November 08, 2023, 09:25:03 pm »
I'm using EA-Matic to automatically save my scripts to disk when updating them.

Then I use Github desktop to commit them.

Before EA-Matic I used a script to save all my scripts to disk. (and then Github Desktop)

You can't create submenus in the context menu. I try to only keep the most commonly used scripts available in the context menu.
And also make sure to use things like element or package groups instead of project browser group.

Geert

Hurra

  • EA User
  • **
  • Posts: 183
  • Karma: +0/-0
    • View Profile
    • Find me at LinkedIn!
Re: How do you version control your scripts?
« Reply #2 on: November 09, 2023, 12:14:23 am »
I'm using EA-Matic to automatically save my scripts to disk when updating them.

Then I use Github desktop to commit them.

Before EA-Matic I used a script to save all my scripts to disk. (and then Github Desktop)

You can't create submenus in the context menu. I try to only keep the most commonly used scripts available in the context menu.
And also make sure to use things like element or package groups instead of project browser group.

Geert

Thank you, will look into that!
always learning!