Page 1 of 1

Using liveCode with Git

Posted: Thu May 28, 2015 11:13 pm
by Simon
Hello,
So I've only just started using git and would like a bit more info on liveCode and git.
Do I use Monte's lcVCS with my projects? Is it the way to resolve the "binary" issue of liveCode stacks? Or is it for something completely different?
I was unable to make heads or tails from the wiki.

Thanks for any more info.

Simon
Edit; If it isn't clear I don't mean liveCode that Mark, Ben, Fraser and others work on but my own projects.

Re: Using liveCode with Git

Posted: Fri May 29, 2015 9:58 pm
by Simon
Giving this a bump.
After yesterday's searching for answers I have this.
GLX2 says it does do something but I couldn't figure out how to get any output from "Export stack" or any of the Tools > messagebox items. Are there additional "things" I need?

lcVCS --what a lot of sub-forums we have
http://forums.livecode.com/viewtopic.php?f=77&t=18724
Missed it entirely.
Went through the whole set up palaver and it seems to be installed correctly but with a simple stack with 1 btn and a couple of images for icons I get lcVCSProject.json;

Code: Select all

{
  "build path": "",
  "name": "Hello_World",
  "plugins": [
    "cRevGeneral",
    "cREVGeometryCache",
    "cRevStandaloneSettings",
    "dataviewProps",
    "dgProps",
    "GLX2"
  ],
  "resource paths": ""
}
Not really sure if this is the correct tool or I'm using it wrong.
OK I'm using Windows so that might be the problem.

Any tips or tricks to using either of these two would be greatly appreciated.

Simon

Re: Using liveCode with Git

Posted: Sun May 31, 2015 8:29 pm
by Simon
Ok I have found this;
http://livecodeshare.runrev.com/stack/6 ... ionControl
which is the vcs part of GLX2 and I have it working. phew! At least now I can use ArchiveStack. Tip: forget the stack that shows up and just use the messagebox "ArchiveStack MyStack". That seems to be working well with Git. I haven't figured out the CurrentObject stuff yet so I'm still just using the very basics of libVersionControl.

And I have lcVCS working (Win7 LC 6+, Mac LC 7 but not in LC 6.x on Mac) but as a first run it is very messy, I'm sure after a few commits it will start to make more sense. Not sure I am using it correctly but it does show all the pink and green lines in Git :)
In one positing it is suggested that you use this lesson for installing lcVCS
http://lessons.runrev.com/m/4071/l/6347 ... ne-builder
Don't, it's just a confusing mess. Just follow the readme.md in lcVCS, easy.
There is one error in the readme;
* OS X
* Copy mergJSON.bundle into your user extensions/Externals directory
* Add mergJSON,mergJSON.bundle to your Externals.txt file in you user extensions/External directory
Pretty sure that last External should have an "s" on the end.
Helpful stuff here;
http://forums.livecode.com/viewforum.php?f=77

But all in all still very difficult to get up and running with liveCode and Git.

Simon