livecode script on github
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: livecode script on github
GitHub seems better as an assessment of usage than a driver.
The market segment for which we might put a lot of effort in to try to influence there has one known common attribute: they're GitHub-savvy, which suggests deep immersion in and commitment to other languages.
And do we ignore GitLab?
I can't see altering my workflow for such a minor incremental influence.
Organic reach is the strongest reach.
Use LiveCode. Publish pages at your sites about LiveCode. Share relevant info about LiveCode in social media, web forums, classrooms, work meetings, and other useful places.
Do good work, talk about it freely, let people know how you did it.
Such organic efforts would seem at least as likely to influence adoption as focusing on one source control site, arguably more so. And it doesn't require restructuring your development workflow.
And I agree with Stam that anything the community does is only part of the picture. The primary driver of any commercial entity must be the entity itself. With that, enthusiasm grows naturally. Without it, it's an uphill battle.
The market segment for which we might put a lot of effort in to try to influence there has one known common attribute: they're GitHub-savvy, which suggests deep immersion in and commitment to other languages.
And do we ignore GitLab?
I can't see altering my workflow for such a minor incremental influence.
Organic reach is the strongest reach.
Use LiveCode. Publish pages at your sites about LiveCode. Share relevant info about LiveCode in social media, web forums, classrooms, work meetings, and other useful places.
Do good work, talk about it freely, let people know how you did it.
Such organic efforts would seem at least as likely to influence adoption as focusing on one source control site, arguably more so. And it doesn't require restructuring your development workflow.
And I agree with Stam that anything the community does is only part of the picture. The primary driver of any commercial entity must be the entity itself. With that, enthusiasm grows naturally. Without it, it's an uphill battle.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 683
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: livecode script on github
Thanks for that. I had done similar digging when I first noticed my repos were tagged with the wrong language, which it seems you can influence, blocking code files such as HTML from being counted in your repo, but you cannot add a language that isn't in the official list, via .gitattributes files. I came up with similar counts (I think I included .lc files as well).AndyP wrote: ↑Sat Aug 28, 2021 3:33 pmI did a little digging, and searching on github there are>
--- SNIP ---
As far as I can determine there are only about 30 repositories on github with .livecodescript files, which falls well below the 200 repositories required to be considered as a language listing in github.
So in conclusion what we need is a concerted push for more repositories containing livecodescript files.
--- SNIP ---
I may try to get my repos tagged as AppleScript because that's probably the most similar in the official list (there's no HyperTalk/SuperTalk on the list either), and that's probably an audience that LC should be courting anyway. But that's not why I started using LC. And I was using GitHub for maybe a year before I even noticed the language tagging system. I do think it could be influential for someone considering adopting LC or getting an institution to. In fact someone posted as much on this forum not all that long ago, noting that LC's own repos are tagged with C++, which IS actually correct (although there's also many .livecodescript files and .lcb too that parts are written in).
I agree with the sentiment that LC should themselves try to get added to that list (and perhaps GitLab and SourceForge too). A pull request explaining that the language and predecessors have been in use in one form or another (binary) for decades, from a commercial enterprise (as opposed to some "Joe Schmoe" like me) may carry more weight with the people doing the merging. And it is free advertising, so why not?
-
- Posts: 683
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: livecode script on github
Kind of a moot point now, but I just realized that LCC GitHub repos had no tags on them to help someone searching for "natural language" or "HyperCard" and the like to find LCC! That's the type of SEO thing that should've be taken advantage of as free advertising!
Re: livecode script on github
GitHub now recognizes Livecode Script as a programming language.
If LiveCode Script is not listed in your repository's programming languages and you have .livecodescript files, try creating or updating the .gitattributes file and adding:
If LiveCode Script is not listed in your repository's programming languages and you have .livecodescript files, try creating or updating the .gitattributes file and adding:
Code: Select all
# Auto detect text files and perform LF normalization
*.livecodescript linguist-detectable=true
*.livecode linguist-detectable=false
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto
# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.livecodescript text
# Declare files that will always have LF line endings on checkout.
*.livecodescript text eol=CRLF
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.jepg binary
*.rev binary
*.livecode binary
Be kind, we all have our own wars.
https://torocruzand.com/
https://torocruzand.com/
Re: livecode script on github
Genius! it shows up a s LiveCode Script now!!!andresdt wrote: ↑Mon Sep 16, 2024 6:51 pmGitHub now recognizes Livecode Script as a programming language.
If LiveCode Script is not listed in your repository's programming languages and you have .livecodescript files, try creating or updating the .gitattributes file and adding:Code: Select all
# Auto detect text files and perform LF normalization *.livecodescript linguist-detectable=true *.livecode linguist-detectable=false # Set default behaviour, in case users don't have core.autocrlf set. * text=auto # Explicitly declare text files we want to always be normalized and converted # to native line endings on checkout. *.livecodescript text # Declare files that will always have LF line endings on checkout. *.livecodescript text eol=CRLF # Denote all files that are truly binary and should not be modified. *.png binary *.jpg binary *.jepg binary *.rev binary *.livecode binary
Thank you

Only issue is that if sharing binary files with no scriptOnlyStacks, this doesn't work... is there any way to to make it recognise the binary stack as a livecode project? Will it work if I set ".livecode linguist-detectable=True" and or remove the binary references to .rev and .livecode?
Re: livecode script on github
Unless you have the stack password protected, I would use a tool to export the scripts of the stack out to files every time you make a commit on the binary. That would provide versioning of the scripts where you could easily see what changed over time.
Re: livecode script on github
Sure, but it’s just about historical stacks. Limited appetite to go round exporting scripts from them all

Even though they are binary, GitHub still serves well for version control so I have used it a bit with binary stacks…
-
- Posts: 683
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: livecode script on github
Great! Finally!stam wrote: ↑Thu Sep 19, 2024 5:32 pmGenius! it shows up a s LiveCode Script now!!!andresdt wrote: ↑Mon Sep 16, 2024 6:51 pmGitHub now recognizes Livecode Script as a programming language.
If LiveCode Script is not listed in your repository's programming languages and you have .livecodescript files, try creating or updating the .gitattributes file and adding:Code: Select all
# Auto detect text files and perform LF normalization *.livecodescript linguist-detectable=true *.livecode linguist-detectable=false # Set default behaviour, in case users don't have core.autocrlf set. * text=auto # Explicitly declare text files we want to always be normalized and converted # to native line endings on checkout. *.livecodescript text # Declare files that will always have LF line endings on checkout. *.livecodescript text eol=CRLF # Denote all files that are truly binary and should not be modified. *.png binary *.jpg binary *.jepg binary *.rev binary *.livecode binary
Thank you
Only issue is that if sharing binary files with no scriptOnlyStacks, this doesn't work... is there any way to to make it recognise the binary stack as a livecode project? Will it work if I set ".livecode linguist-detectable=True" and or remove the binary references to .rev and .livecode?
It would be helpful if we could get Github to pretend that .rev is NOT a binary file, even though it is, because most of the time the .rev file is largely human readable, with the exception of any embedded binary data like embedded (non-reference) images.