Is it possible to push mojo code on GitHub?

Hi, I didn’t really understand “proprietary” license. Can I use mojo for development or not?
14 Replies
Stole
Stole10mo ago
Yes, you can, and please do. There's a goal of 2k unique Mojo files on Github, and then they'll add Mojo as a recognized language
chebu_pizza
chebu_pizza9mo ago
Cool. Thank u for the answer.
Darcy DeClute (@Scrumtuous!)
Will GitHub recognize the :mojo: extension or does it have to be .mojo?
Jimmy Smith Jr.
Jimmy Smith Jr.9mo ago
According to a discussion yesterday it has to be .mojo atm. See https://discord.com/channels/1087530497313357884/1098713601386233997/1184279797728292905
Xcur
Xcur9mo ago
I am not 100% sure about this point. It looks like they don't include it in the file count for merging it, but they may recognize it for syntax highlighting still. A better person to answer this is someone at modular. Linguist had a release yesterday, so when it reaches 2k files unfortunately it will be a few more months until they have another release and merge the mojo grammar files to it
Stole
Stole9mo ago
Yeah, the comment here https://github.com/github-linguist/linguist/pull/6400#issuecomment-1716773725 suggests they're separate for purposes of Linguist recognition, but maybe once both meet the requirements something different could happen. Unfortunately, I don't know too many details
guidorice
guidorice9mo ago
I've been following that issue as well. I get a sense of "moving the goalpost" on github-linguist part.
Darcy DeClute (@Scrumtuous!)
"Moving the goalposts?" I wish. Feels more like they keep changing the game that we're playing! My "Scrumtuous Army" on Twitter could probably be recruited to create GitHub repos with Mojo files in them. It might actually be a fun campaign and a way to generate awareness and enthusiasm?🤔 Just not sure if that'd be seen as gaming the system and get us banned. :mojo:
sora
sora9mo ago
Please don’t.
Darcy DeClute (@Scrumtuous!)
What's the downside you see?
guidorice
guidorice9mo ago
The maintainer is already excluding the top contributors, quoting here from the issue thread on GH:
Three users are having an undue influence on the figures with one repo accounting for over 1000 of the results. Excluding them and forks brings things down quite a bit.
🥹
Stole
Stole9mo ago
Best thing to do is probably just to get them into the language itself so people naturally start using it more and pushing more Mojo files, not to tell them to create arbitrary files. It's true, we don't want to game the system
Darcy DeClute (@Scrumtuous!)
I earned a reputation on Twitter for exposing grift and shady engagement practices, so you'd never find me gaming the system.👍 I do think there is a real narrative here about encouraging people to learn Mojo, share code, develop apps and get on board with the next big thing in software development, all while sharing code on GitHub and building a thriving community of developers. That's what my team envisions. ❤️ I actually think it's going to be a real flex in 10 years to say "I pushed Mojo code to GitHub before GitHub even knew there was such a thing as Mojo code." I think that's a compelling hook!
a2svior
a2svior9mo ago
Based on the sheet someone posted in that thread there are 439 repos with Mojo code now. So maybe next time linguist is close to release they'll consider adding Mojo.
Want results from more Discord servers?
Add your server