Re: Which git service suits a LiveCoder best?

2020-04-28 Thread Trevor DeVore via use-livecode
On Tue, Apr 28, 2020 at 8:50 AM Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I wouldn't say it's using levure as intended.
> trevor, in his videos, anyway, does not export every script to an SOS, only
> ones that are a certain length.  if you do it that way, then scriptTracker
> could be valuable.
> I choose to put every script in SOS's, so scriptTracker isn't particularly
> useful for me.


To clarify, my guide wasn’t really script length. It was scripts in buttons
that only called a handler in the group, card, or stack script (which would
be SOS). So something like this:

on mouseUp pBtnNum
  if pBtnNum is 1 then
uiDoSomething
  end if
end mouseUp

It seemed counter productive to have SOS stacks for every button.

After a couple of rounds of refactoring I’ve changed my approach. I only
use SublimeText to work on code and when searching for handlers the ones
stored as part of the stack wouldn’t show up. In the above example I now
leave the button script empty and move the mouseUp to the group the button
is in. The mouseUp in the group branches based on the target.

This approach allows me to do a search and replace in all code within
SublimeText if I need to. Since I organize the UI into groups of controls
with their own behavior scripts no single mouseUp handler becomes too
unwieldy. It isn’t like there is one script that is branching for every
possible button click on the card.

Regarding the question of whether or not you would want to use Script
Tracker with Levure - Levure doesn’t really care :-) Levure has excellent
support for workflows that use script-only stacks. If you choose to it can
encrypt all of them when packing up a standalone. But it doesn’t require it
at all. Levure will happily work with any sort of stack file you add.

For example, one could add their existing stacks to a Levure app and start
leveraging the available Helpers (spell check, notary, auto update,
installer builders, etc.) without extracting any scripts to script-only
stacks.

- -
Trevor DeVore
ScreenSteps

>
___
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


Re: Which git service suits a LiveCoder best?

2020-04-28 Thread Mike Kerner via use-livecode
I wouldn't say it's using levure as intended.
trevor, in his videos, anyway, does not export every script to an SOS, only
ones that are a certain length.  if you do it that way, then scriptTracker
could be valuable.
I choose to put every script in SOS's, so scriptTracker isn't particularly
useful for me.


On Mon, Apr 27, 2020 at 4:23 PM Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> ScriptTracker isn’t necessarily incompatible with Levure, but if using
> that framework as intended then all of the scripts would be in script only
> stacks as behaviors which would make it unnecessary.
>
> I have thought about setting up a hybrid project as a test but never have
> gotten around to playing with it.
>
> Thanks,
> Brian
> On Apr 27, 2020, 3:53 PM -0400, Andreas Bergendal via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> > As to the ’how’, I planned to move into script-only stacks more anyway,
> and will also test the Levure framework, and/or Script Tracker.
> > I’m not sure if those two are compatible though? I mean, if I use Levure
> framework I can’t (needn’t?) use Script Tracker as well, right?
> >
> > Anyway, with the help of a good free tutorial I’ve set up a GitHub
> account and done the necessary local stuff, including doing basic command
> line actions (yeah, wasn’t that scary after all…), so I’m progressing one
> step at a time… :)
> >
> > Andreas
> > ___
> > 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


Re: Which git service suits a LiveCoder best?

2020-04-27 Thread Brian Milby via use-livecode
ScriptTracker isn’t necessarily incompatible with Levure, but if using that 
framework as intended then all of the scripts would be in script only stacks as 
behaviors which would make it unnecessary.

I have thought about setting up a hybrid project as a test but never have 
gotten around to playing with it.

Thanks,
Brian
On Apr 27, 2020, 3:53 PM -0400, Andreas Bergendal via use-livecode 
, wrote:
> As to the ’how’, I planned to move into script-only stacks more anyway, and 
> will also test the Levure framework, and/or Script Tracker.
> I’m not sure if those two are compatible though? I mean, if I use Levure 
> framework I can’t (needn’t?) use Script Tracker as well, right?
>
> Anyway, with the help of a good free tutorial I’ve set up a GitHub account 
> and done the necessary local stuff, including doing basic command line 
> actions (yeah, wasn’t that scary after all…), so I’m progressing one step at 
> a time… :)
>
> Andreas
> ___
> 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


Re: Which git service suits a LiveCoder best?

2020-04-27 Thread Andreas Bergendal via use-livecode
As to the ’how’, I planned to move into script-only stacks more anyway, and 
will also test the Levure framework, and/or Script Tracker.
I’m not sure if those two are compatible though? I mean, if I use Levure 
framework I can’t (needn’t?) use Script Tracker as well, right?

Anyway, with the help of a good free tutorial I’ve set up a GitHub account and 
done the necessary local stuff, including doing basic command line actions 
(yeah, wasn’t that scary after all…), so I’m progressing one step at a time… :)

Andreas
___
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


Re: Which git service suits a LiveCoder best?

2020-04-24 Thread Andre Garzia via use-livecode
I came here to recommend "script tracker" as a powerful tool for those
storing stacks in vcs. In the end it all depends on how your workflow is
going to happen. Are you going to do merges? If that is the case then you
need to plan ahead and carefully since you can't merge binary stacks.
Another potential solution is any of the old school vcs in which you
"checked out a file" and locked other people from changing it. This way, it
becomes easier to work with binary files as there is never a merge (or
there shouldn't be). There used to be a really nice tool supporting this
use case by Chipp Walters called Magic Carpet. I used to make very good use
of it for working. I wonder if Chipp still here and if he'd consider
releasing that as FOSS.

On Fri, 24 Apr 2020 at 05:11, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 4/23/20 9:04 PM, Brian Milby via use-livecode wrote:
> > New dedicated repo is located at:
> > https://github.com/bwmilby/scriptTracker
>
> Oh, cool. I'll change my git remote.
>
> --
>   Mark Wieder
>   ahsoftw...@gmail.com
>
> ___
> 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
>


-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
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


Re: Which git service suits a LiveCoder best?

2020-04-23 Thread Mark Wieder via use-livecode

On 4/23/20 9:04 PM, Brian Milby via use-livecode wrote:

New dedicated repo is located at:
https://github.com/bwmilby/scriptTracker


Oh, cool. I'll change my git remote.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
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


Re: Which git service suits a LiveCoder best?

2020-04-23 Thread Brian Milby via use-livecode
New dedicated repo is located at:
https://github.com/bwmilby/scriptTracker

Thanks,
Brian
On Apr 24, 2020, 12:02 AM -0400, Mark Wieder via use-livecode 
, wrote:
> On 4/23/20 6:58 PM, Brian Milby via use-livecode wrote:
> > My scriptTracker plugin is an easy way to get the scripts out as text files 
> > for use with git (binary stack stays the same, plugin can automatically 
> > export scripts on every save of the stack)
>
> Which, if you can deal with the sluggishness of livecodeshare, is at
> http://livecodeshare.runrev.com/stack/874/Script-Tracker
>
> or
> https://github.com/bwmilby/lc-misc
>
> --
> Mark Wieder
> ahsoftw...@gmail.com
>
> ___
> 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


Re: Which git service suits a LiveCoder best?

2020-04-23 Thread Mark Wieder via use-livecode

On 4/23/20 6:58 PM, Brian Milby via use-livecode wrote:

My scriptTracker plugin is an easy way to get the scripts out as text files for 
use with git (binary stack stays the same, plugin can automatically export 
scripts on every save of the stack)


Which, if you can deal with the sluggishness of livecodeshare, is at
http://livecodeshare.runrev.com/stack/874/Script-Tracker

or
https://github.com/bwmilby/lc-misc

--
 Mark Wieder
 ahsoftw...@gmail.com

___
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


Re: Which git service suits a LiveCoder best?

2020-04-23 Thread Brian Milby via use-livecode
My scriptTracker plugin is an easy way to get the scripts out as text files for 
use with git (binary stack stays the same, plugin can automatically export 
scripts on every save of the stack)

Thanks,
Brian
On Apr 23, 2020, 9:20 PM -0400, doc hawk via use-livecode 
, wrote:
> Andreas announced,
> > Thanks everyone for your feedback and insights. Nothing speaks against 
> > GitHub, it seems, so I’ll give that a try then.
>
> I’m curious though: *how* are you gong to do this?
>
> Don’t you need to reduce the stacks to text files first?
>
>
> ___
> 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


Re: Which git service suits a LiveCoder best?

2020-04-23 Thread doc hawk via use-livecode
Andreas announced,
> Thanks everyone for your feedback and insights. Nothing speaks against 
> GitHub, it seems, so I’ll give that a try then.

I’m curious though:  *how* are you gong to do this?

Don’t you need to reduce the stacks to text files first?


___
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


Re: Which git service suits a LiveCoder best?

2020-04-23 Thread Andreas Bergendal via use-livecode
Thanks everyone for your feedback and insights. Nothing speaks against GitHub, 
it seems, so I’ll give that a try then.

Andreas
___
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


Re: Which git service suits a LiveCoder best?

2020-04-22 Thread Richard Gaskin via use-livecode

doc hawk wrote:

> It’s no substitute for GitHub and the like, but I have a rather simple
> system that intercepts saveStackRequest, checks the date, and saves a
> new version with the date as part of the name.  I also have a bmpVrsn
> routine that can be used to advance a letter during the day, so things
> like 200422b for the second version of a stack from today.

That's 1/3 of why I keep my work folders synced with my local Nextcloud 
server.


(The other 2/3 is that all those versions are safely backed up, and kept 
up to date on all the machines I use for testing.)


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
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


Re: Which git service suits a LiveCoder best?

2020-04-22 Thread doc hawk via use-livecode
It’s no substitute for GitHub and the like, but I have a rather simple system 
that intercepts saveStackRequest, checks the date, and saves a new version with 
the date as part of the name.  I also have a bmpVrsn routine that can be used 
to advance a letter during the day, so things like 200422b for the second 
version of a stack from today.

I did a simple presentation with handout code for this at last year’s developer 
conference.

I can probably find them around somewhere.

The current problem with GitHub and stuff is the lack of a text file based 
storage, although I know someone has an add-on for that.


> On Apr 22, 2020, at 1:45 AM, Andreas Bergendal via use-livecode 
>  wrote:
> 
> Hi everybody, first time posting to this list, so I hope I get it right… :)
> 
> I need your wisdom on a slightly off-topic issue, though seen in the LiveCode 
> perspective:
> I’ve never used git, but I want to start now. 
> 
> I’m working on several LC projects, some with co-developers, several with 
> commercial potential, so I need to get more professional with version control 
> and other benefits that come with git.
> 
> I’ll educate myself on how to use it, but: Step one seems to be to select a 
> git host/system.
> GitHub is the obvious giant, but is it the best for my needs?
> 
> - I use LiveCode, obviously, so is any git service in any way more suited for 
> that?
> - I’m not very familiar with using the command line, so I’d prefer a git 
> service that has software that handles that, as far as possible. (Yeah, I’m a 
> developer, I can learn, but hey, we promote the xTalk way here, no? Command 
> line seems very much in the opposite side of the spectrum of readable code…)
> - I develop on Mac, in case that is a factor when choosing git solution?
> 
> So, in short: How do I best get started with git when working with LiveCode 
> on Mac, in small teams or alone, wishing minimal use of command line?
> 
> Do I just let gravity pull me into the GitHub gas giant, or join a rebel 
> moon? :)
> 
> Best
> Andreas
> (xTalker since HyperCard days, in other forums aka SWEdeAndy or WhenInSpace)
> ___
> 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


Re: Which git service suits a LiveCoder best?

2020-04-22 Thread Mike Kerner via use-livecode
github.  pricing is getting better, especially in the last month, to
compete with gitlab.  we have projects in both github and gitlab (and I
guess one person is messing with Azure, or whatever M$'s other git thang
is), but people seem to be using github more.
gitkraken is the most popular gui our people use.  part of that is because
of its glo boards, which give you a card/kanban style view of issues,
to-do's, calendars, etc., integrates with slack, blah, blah, blah.  It also
can be integrated with issues in github, which is nice because the
interface is better and easier to organize than issues, especially if you
have a lot of them.  Our ERP project, for example, has 201 issues open
right now.  Some of them are just one feature request or bug report, but
some of them are thirty or more sub-items deep with many
comments, documents, screen shots, etc. on them.
the person messing with Azure is using Visual Studio's git interface, one
is using github's client, and one is using the Working Copy app on ios.
Even if you don't choose gitkraken as your git client, you should check out
glo.  You can access glo any number of ways, including inside GK, from GK's
website, from slack, from Atom (and I think from SublimeText) and the glo
mobile app for ios.

On Wed, Apr 22, 2020 at 9:58 AM Trevor DeVore via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On Wed, Apr 22, 2020 at 3:46 AM Andreas Bergendal via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> >
> > So, in short: How do I best get started with git when working with
> > LiveCode on Mac, in small teams or alone, wishing minimal use of command
> > line?
> >
> > Do I just let gravity pull me into the GitHub gas giant, or join a rebel
> > moon? :)
> >
>
> Hi Andreas,
>
> I use GutHub for my LiveCode projects but haven’t looked at other services.
> I enjoy using it and they recently reduced pricing and made a team account
> available for free which is great.
>
> There aren’t any special tools for LiveCode on GitHub that I’m aware of. It
> isn’t even recognized as a language by GitHub. At the moment I’m investing
> how I might get automated builds working for my Levure apps using GitHub
> and CircleCI. I’m in the very early stages of research and haven’t made any
> real progress yet.
>
> I love using Tower for my Git GUI. I’ve been very pleased with it.
>
> --
> Trevor DeVore
> ScreenSteps
> ___
> 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


Re: Which git service suits a LiveCoder best?

2020-04-22 Thread Trevor DeVore via use-livecode
On Wed, Apr 22, 2020 at 3:46 AM Andreas Bergendal via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> So, in short: How do I best get started with git when working with
> LiveCode on Mac, in small teams or alone, wishing minimal use of command
> line?
>
> Do I just let gravity pull me into the GitHub gas giant, or join a rebel
> moon? :)
>

Hi Andreas,

I use GutHub for my LiveCode projects but haven’t looked at other services.
I enjoy using it and they recently reduced pricing and made a team account
available for free which is great.

There aren’t any special tools for LiveCode on GitHub that I’m aware of. It
isn’t even recognized as a language by GitHub. At the moment I’m investing
how I might get automated builds working for my Levure apps using GitHub
and CircleCI. I’m in the very early stages of research and haven’t made any
real progress yet.

I love using Tower for my Git GUI. I’ve been very pleased with it.

-- 
Trevor DeVore
ScreenSteps
___
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


Re: Which git service suits a LiveCoder best?

2020-04-22 Thread Brian Milby via use-livecode
All of my LC stuff is on GitHub (bwmilby).  I’m primarily Mac and use 
Atlassian’s Sourcetree to interact with my repositories.  I use my own 
ScriptTracker tool to export the scripts of stacks so I can track the changes.

Thanks,
Brian
On Apr 22, 2020, 4:46 AM -0400, Andreas Bergendal via use-livecode 
, wrote:
> Hi everybody, first time posting to this list, so I hope I get it right… :)
>
> I need your wisdom on a slightly off-topic issue, though seen in the LiveCode 
> perspective:
> I’ve never used git, but I want to start now.
>
> I’m working on several LC projects, some with co-developers, several with 
> commercial potential, so I need to get more professional with version control 
> and other benefits that come with git.
>
> I’ll educate myself on how to use it, but: Step one seems to be to select a 
> git host/system.
> GitHub is the obvious giant, but is it the best for my needs?
>
> - I use LiveCode, obviously, so is any git service in any way more suited for 
> that?
> - I’m not very familiar with using the command line, so I’d prefer a git 
> service that has software that handles that, as far as possible. (Yeah, I’m a 
> developer, I can learn, but hey, we promote the xTalk way here, no? Command 
> line seems very much in the opposite side of the spectrum of readable code…)
> - I develop on Mac, in case that is a factor when choosing git solution?
>
> So, in short: How do I best get started with git when working with LiveCode 
> on Mac, in small teams or alone, wishing minimal use of command line?
>
> Do I just let gravity pull me into the GitHub gas giant, or join a rebel 
> moon? :)
>
> Best
> Andreas
> (xTalker since HyperCard days, in other forums aka SWEdeAndy or WhenInSpace)
> ___
> 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


Which git service suits a LiveCoder best?

2020-04-22 Thread Andreas Bergendal via use-livecode
Hi everybody, first time posting to this list, so I hope I get it right… :)

I need your wisdom on a slightly off-topic issue, though seen in the LiveCode 
perspective:
I’ve never used git, but I want to start now. 

I’m working on several LC projects, some with co-developers, several with 
commercial potential, so I need to get more professional with version control 
and other benefits that come with git.

I’ll educate myself on how to use it, but: Step one seems to be to select a git 
host/system.
GitHub is the obvious giant, but is it the best for my needs?

- I use LiveCode, obviously, so is any git service in any way more suited for 
that?
- I’m not very familiar with using the command line, so I’d prefer a git 
service that has software that handles that, as far as possible. (Yeah, I’m a 
developer, I can learn, but hey, we promote the xTalk way here, no? Command 
line seems very much in the opposite side of the spectrum of readable code…)
- I develop on Mac, in case that is a factor when choosing git solution?

So, in short: How do I best get started with git when working with LiveCode on 
Mac, in small teams or alone, wishing minimal use of command line?

Do I just let gravity pull me into the GitHub gas giant, or join a rebel moon? 
:)

Best
Andreas
(xTalker since HyperCard days, in other forums aka SWEdeAndy or WhenInSpace)
___
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