I would love for us to get to a place where we could have it both ways. On Sun, Aug 28, 2022 at 11:46 PM Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote:
> If you want to see what the JSON export looks like for a fairly small > stack, you can view this: > > https://github.com/bwmilby/SvgIconTool/blob/main/smartcrumbs/SvgIconTool.livecode.sc/stackFileProperties.json > > Unfortunately you will need to download and view it with something that > understands the CR line ending since GitHub doesn't. That repo has both > ScriptTracker exports and SmartCrumbs exports of the stack. The former is > designed with two things in mind: allowing changes in the scripts that are > part of a binary stack to be tracked and allowing the editing of those > scripts in an external editor (I like Atom for the linting, have not tried > the newer option). The latter looks to be a way to completely decompose a > stack into mostly text files (images being one exception) that can be > tracked (and in theory changes merged together I'm guessing). > > Since the JSON file is keyed off of the GUIDs of each object, it really > doesn't lend itself to human inspection. Assuming line endings are sane > (probably would work for Windows and definitely will work for Linux), Git > should easily be able to track the changes. Whether someone could easily > discern which object was being touched is another matter (which would be > necessary to merge changes together). > > On Sun, Aug 28, 2022 at 9:31 PM Pi Digital via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > It will be good to see, once available, how using the new SmartCrumbs add > > on will help with this. All objects in JSON form and then use stack > scripts > > (and htmlText, AudioClip and VideoClip data) in your GitHub repository. > > This is something I really want to start implementing. > > > > Sean > > > > > > > On 28 Aug 2022, at 20:29, Geoff Canyon <gcan...@gmail.com> wrote: > > > > > > > > > To be clear: if anyone wants to try Navigator's export to script > > behaviors function -- work on a copy, and I'd love feedback. > > > > > >> On Sun, Aug 28, 2022 at 10:35 AM Geoff Canyon <gcan...@gmail.com> > > wrote: > > >> The same applies to the code in Navigator. I wrote it about five years > > ago when I was preparing to transform Navigator itself to use script > > behaviors. > > >> > > >> Always work on a copy. > > >> > > >> That said, it worked fine for Navigator, and no one has ever told me > it > > broke anything. > > >> > > >> gc > > >> > > >>> On Thu, Aug 18, 2022 at 10:06 PM Pi Digital via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > >>> I tried scriptifier and it broke stuff so just be careful with it and > > check its output. > > >>> > > >>> Sean > > >>> > > >>> > > >>> > On 19 Aug 2022, at 01:39, Mike Kerner via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > >>> > > > >>> > Hey Skip, long time... > > >>> > I don't know if you were around when script-only-stack behaviors > > came into > > >>> > being, but you can now rip all of the code out of your stacks and > > happily > > >>> > use vc/git. The stacks themselves are still binary (although > several > > of us > > >>> > have been messing with dumping that paradigm completely, it's less > > >>> > practical than I would have hoped, as of today). > > >>> > Navigator will export every script in a project into behavior > > stacks, and > > >>> > Monte wrote a stack called "Scriptifier", if memory serves. It's > > embedded > > >>> > in the LC bundle, and it does the same thing, namely extracting all > > the > > >>> > scripts out of a project and putting them into .livecodescript text > > files. > > >>> > Levure is great. I have used it with every project I've worked on > for > > >>> > several years, BUT you don't have to use it to go this route. > > >>> > > > >>> >> On Thu, Aug 18, 2022 at 7:04 PM Martin Koob via use-livecode < > > >>> >> use-livecode@lists.runrev.com> wrote: > > >>> >> > > >>> >> Hi SKIP > > >>> >> > > >>> >> Welcome back to the list! > > >>> >> > > >>> >> There is Levure which I knew of as a third party application > > framework > > >>> >> created by Trevor DeVore but I just did a search for it and I see > > it now on > > >>> >> the LiveCode website described as an App Collaboration Framework. > > >>> >> https://livecode.com/products/livecode-platform/levure/ < > > >>> >> https://livecode.com/products/livecode-platform/levure/> So it > > must have > > >>> >> at some point migrated to the mother ship. > > >>> >> > > >>> >> I haven’t used it but I have considered migrating my application > to > > it. > > >>> >> It works with version control systems as long as you follow its > > >>> >> recommendations about how to organize your code into behaviours > > that are > > >>> >> stored in script only stacks which are just text files that a > > version > > >>> >> control system can read (These are somewhat new so depending on > > when you > > >>> >> last used LiveCode they may be new to you.) This was an > > enhancement that > > >>> >> has enabled the use of version control for scripts in a project. > It > > is the > > >>> >> binary stacks that versions control systems can’t track so in > > Levure those > > >>> >> are just used for user interface. > > >>> >> > > >>> >> Hope this helps. > > >>> >> > > >>> >> Martin > > >>> >> > > >>> >> > > >>> >>> On Aug 18, 2022, at 6:38 PM, Skip Kimpel via use-livecode < > > >>> >> use-livecode@lists.runrev.com> wrote: > > >>> >>> > > >>> >>> Greetings! > > >>> >>> > > >>> >>> Been a while since I have been on this list. Working on a new > > project > > >>> >> and > > >>> >>> wondering if the backing up of Livecode files to Github was ever > > >>> >>> implemented and created. I know there was talk of it at one > time. > > >>> >>> > > >>> >>> I apologize if it has been in place for a while and I am just out > > of the > > >>> >>> loop. Actually, I HOPE that is the case! > > >>> >>> > > >>> >>> Regards, > > >>> >>> > > >>> >>> SKIP > > >>> >>> _______________________________________________ > > >>> >>> use-livecode mailing list > > >>> >>> use-livecode@lists.runrev.com > > >>> >>> Please visit this url to subscribe, unsubscribe and manage your > > >>> >> subscription preferences: > > >>> >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>> >> > > >>> >> _______________________________________________ > > >>> >> use-livecode mailing list > > >>> >> use-livecode@lists.runrev.com > > >>> >> Please visit this url to subscribe, unsubscribe and manage your > > >>> >> subscription preferences: > > >>> >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>> >> > > >>> > > > >>> > > > >>> > -- > > >>> > On the first day, God created the heavens and the Earth > > >>> > On the second day, God created the oceans. > > >>> > On the third day, God put the animals on hold for a few hours, > > >>> > and did a little diving. > > >>> > And God said, "This is good." > > >>> > _______________________________________________ > > >>> > use-livecode mailing list > > >>> > use-livecode@lists.runrev.com > > >>> > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >>> > http://lists.runrev.com/mailman/listinfo/use-livecode > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode@lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode