Jump to content




[MC 1.10.2/1.11.2][CC 1.8pr0][CCTweaks 1.10.2-1.5.0-pr0 / 1.11.2-1.5.0-pr0] CCGit v2.1


7 replies to this topic

#1 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 22 December 2016 - 03:08 PM

CCGit 2.1 is out!
Get it here
Requires CCTweaks and ComputerCraft 1.8pr0

In 2.1 I've added a program which allows you to use git from the command line. Unfortunately this requires a little bit of setup on each new computer - simply run the following:
.ccgit/autorun
This will generate a program in the startup program which will set the appropriate shell variables to allow the program to function in any directory. If the startup file is ever deleted, don't worry! You can simply re-run the autorun.lua file.

1.x post

Edited by KingofGamesYami, 26 June 2017 - 02:36 AM.


#2 Lupus590

  • Members
  • 2,029 posts
  • LocationUK

Posted 22 December 2016 - 03:24 PM

I can imagine this being very useful for development in a multiplayer environment. +1 for you!

I won't be using it however as I do a lot of my development locally.

I would consider this a must have for developing big projects in multiplayer though.

#3 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 23 December 2016 - 10:38 PM

It appears the recent forum migration ate my post; v1.1 fixes the exception thrown by JGit during authentication.

#4 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 30 December 2016 - 08:39 PM

Would it be possible to add a function like getDirectories or something? Someone could actually create a git client with this.
Does it throw an error if the credentials is wrong? I mean when the function setCredentials is called.

#5 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 31 December 2016 - 12:11 AM

What would getDirectories do? Just list the repositories? If that's what it does, that can would be easier to implement in Lua, just search for .git folders. I'd love it if someone made a git client, even better would be integration with an editor.

No, setCredentials will not. However, if you need valid credentials for a function, that will error telling you credentials are incorrect.

#6 Sewbacca

  • Members
  • 450 posts
  • LocationStar Wars

Posted 09 January 2017 - 03:04 PM

I doesn't use GitHub so often, but it seems good for pushing crash reports. Good job dude!

#7 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 16 June 2017 - 10:34 PM

CCGit has been rewritten and is now v2.0!

#8 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 26 June 2017 - 02:38 AM

CCGit v2.1 is out -- This update adds a command-line program and ccgit.clone!

The documentation has also been updated, though some stylistic changes will be coming.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users