Page 1 of 1

Version control – which system?

Posted: Mon Sep 30, 2019 9:55 am
by kaveh1000
I have a stack where almost all the code is in the script of the main stack. I am looking for some kind of version control. To keep things simple, I am happy to have it just for that script (some 6000 lines) to be on a version control system. So what are my choices? I have tried to use Levure in the past but wonder if that is overcomplicating, considering I just need one script to keep track of.

Re: Version control – which system?

Posted: Mon Sep 30, 2019 2:17 pm
by Mikey
You can export that script as a behavior, and then use any VCS that you like.
This is only applicable at newer versions of v. 9, and earlier versions of 9 have some issues with this.
The totally manual way is
bring up the properties pane for the stack
choose the advanced tab
tap the behavior button (looks like a bullseye)
choose "create behavior from script only stack"
choose "create stack using existing control script"

Less manual:
Find "scriptifier" in the LC bundle. That's a little stack Monte wrote to convert all the scripts in a stack to behaviors.

Less manual:
Use Navigator to convert your scripts to behaviors

Re: Version control – which system?

Posted: Mon Sep 30, 2019 3:55 pm
by FourthWorld
How many people are on your team, and which VCS do they have the most familiarity with?

Re: Version control – which system?

Posted: Mon Sep 30, 2019 4:25 pm
by kaveh1000
Thanks Mike for the info. Richard, just two people, mainly myself, but another to put in comments mostly.

I am not very familiar with any but have used bitbucket. Colleague used Github and also set up Levure once.

Re: Version control – which system?

Posted: Mon Sep 30, 2019 4:39 pm
by FourthWorld
GitHub is pretty popular, though free accounts are limited to open source, if memory serves. Got (the underlying engine of GitHub) is open source and can be installed on nearly any server, but without the conveniences of GitHub.

If it's comments, maybe those become technical documentation and could be managed via Google Docs maybe?

Re: Version control – which system?

Posted: Mon Sep 30, 2019 5:03 pm
by Mikey
github now allows private repos as well on free accounts.

Re: Version control – which system?

Posted: Mon Sep 30, 2019 5:11 pm
by FourthWorld
Mikey wrote:
Mon Sep 30, 2019 5:03 pm
github now allows private repos as well on free accounts.
Thanks, Mikey. That could be useful on some things I have coming up. I'll go look into what restrictions may apply....

Re: Version control – which system?

Posted: Thu Oct 03, 2019 1:01 am
by bwmilby
ScriptTracker is an option that I created. Ideal for a single developer that wants to keep track of changes to scripts in a binary stack without converting everything to behaviors.