Make the source code more GitHub friendly

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
CoffeeCone
Posts: 64
Joined: Fri Apr 26, 2013 8:38 am

Make the source code more GitHub friendly

Post by CoffeeCone » Fri Apr 26, 2013 4:17 pm

I just realized that LiveCode sources are in binary format. So when I use GitHub to host my source code, it isn't viewable online. I request the option to output my project's source in text format (in separate files for each stack if necessary) for a better open-source experience.

I hope that didn't sound silly.

EDIT:
I know I can just copy the source code and paste them to text files but that would just plainly be cumbersome. :)
Learning LiveCode, one step at a time.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Make the source code more GitHub friendly

Post by BvG » Sat Apr 27, 2013 10:36 am

Some community work on this topic is being done. However it'll take a while, because some of the engine approaches need changing. Most importantly, the ID system currently used in LC stacks is not compatible with the merge-split-combine workflow.

So basically: patience.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

CoffeeCone
Posts: 64
Joined: Fri Apr 26, 2013 8:38 am

Re: Make the source code more GitHub friendly

Post by CoffeeCone » Sat Apr 27, 2013 12:01 pm

BvG wrote:Some community work on this topic is being done. However it'll take a while, because some of the engine approaches need changing. Most importantly, the ID system currently used in LC stacks is not compatible with the merge-split-combine workflow.

So basically: patience.
Good to know it's coming. :)
Learning LiveCode, one step at a time.

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: Make the source code more GitHub friendly

Post by monte » Thu Jun 27, 2013 11:40 pm

You can track progress on this at http://github.com/montegoulding/lcVCS

I don't think we will see changes to object ids any time soon... the core feature of lcVCS is that it maps object references to and from UUIDs to handle merging branches with object id conflicts.

Cheers

Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Greg O.
Posts: 21
Joined: Wed Jun 18, 2014 4:02 am

Re: Make the source code more GitHub friendly

Post by Greg O. » Wed Jun 25, 2014 12:19 am

Being new to LiveCode and github, I thought I was doing something wrong when I couldn't get LiveCode stacks to be editable on github. Has there been any substantial progress on this in the intervening year, or has it been decided that it just isn't in the plans?

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1005
Joined: Sat Apr 08, 2006 3:06 pm
Contact:

Re: Make the source code more GitHub friendly

Post by trevordevore » Wed Jun 25, 2014 1:33 pm

lcVCS is now being used by some people to manage LiveCode source code. I use it with my projects and host them on github. Here are some resources you can look at:

http://newsletters.livecode.com/october ... etter1.php

You can download the lcVCS plugin from the megext site:

http://mergext.com/mergext/

And here is the GIT repository:

https://github.com/montegoulding/lcVCS

If you have any questions, just ask.
Trevor DeVore
ScreenSteps - https://www.screensteps.com

LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder

Post Reply