Using liveCode with Git

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Using liveCode with Git

Post by Simon » Thu May 28, 2015 11:13 pm

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.
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Using liveCode with Git

Post by Simon » Fri May 29, 2015 9:58 pm

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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Using liveCode with Git

Post by Simon » Sun May 31, 2015 8:29 pm

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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply