Team Spartan Cookies & Milk Forums
Starfall Github Integration - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Feedback (https://teamscm.co.uk/forum-9.html)
+--- Forum: Suggestions and improvements (https://teamscm.co.uk/forum-11.html)
+--- Thread: Starfall Github Integration (/thread-1256.html)

Pages: 1 2


RE: Starfall Github Integration - rouing - 17-08-2015

Encrypt the passwords n shit. Honestly, I would sacrifice my Github account for some functionality here. Its a github account, not my gmail or work account.


RE: Starfall Github Integration - Person8880 - 17-08-2015

Encryption is another thing GMod cannot do natively. It's also not impenetrable, and this starts to end up being a lot more trouble than it's worth.

The process would have to be:
  1. Player sets GitHub account details.
  2. Details are networked encrypted (needs client-side C++ module, also sent over unsecured UDP connection to the server and needs to agree on public/private key somehow?)
  3. Server stores encrypted details (needs server side C++ module to be able to decrypt and use later)
  4. Server authenticates and connects with GitHub account (another C++ module, Git this time plus secure socket connection which is probably yet another C++ module)
  5. Server determines how large the repo is (?? Git might have this data, or GitHub's API, not sure)
  6. If small enough and contains only Starfall code, pulls down and then is ready to use when shared.
That's a lot of work, and a lot of liability. Really not looking good at cost vs benefit I'm afraid.


RE: Starfall Github Integration - rouing - 17-08-2015

But if the cost is nothingggg


RE: Starfall Github Integration - Yuri6037 - 19-08-2015

I have a much better way, when people would like to use the Github integration they need to install a C++ DLL that will connect to Github locally. So no server side systems, all would be made client side.

For all other players, that haven't installed the DLL just spawn a message telling them that they can't use the feature until they download/install the DLL.


RE: Starfall Github Integration - Person8880 - 19-08-2015

That's going to transfer and auto-manage the code how exactly?

The entire point of the suggestion (unless I'm mistaken) was to have git repos as shared folders, not to have a git client on your computer which you can already do much better outside the game. If it's not, then I'm not sure why you'd want it in the game. Git command line, GitHub for Windows and many other git clients can happily manage a local git repo in your data folder.


RE: Starfall Github Integration - rouing - 19-08-2015

(19-08-2015, 06:40 PM)Person8880 Wrote: That's going to transfer and auto-manage the code how exactly?

The entire point of the suggestion (unless I'm mistaken) was to have git repos as shared folders, not to have a git client on your computer which you can already do much better outside the game. If it's not, then I'm not sure why you'd want it in the game. Git command line, GitHub for Windows and many other git clients can happily manage a local git repo in your data folder.

In game integration is just nice.


RE: Starfall Github Integration - Person8880 - 19-08-2015

Well, if that's what you meant, then you can ignore most of what I said about liability etc.

It would actually be not too difficult to do if I ever found time for it, at least as far as local git repos are concerned. GitHub would still be hard, but no security problems because it'd all be on your machine.


RE: Starfall Github Integration - Destiny's Player - 19-08-2015

What about requiring users who want to have their code on GitHub to install Git, and to just add buttons to the Starfall screen that use Git that's installed on the user's computer?


RE: Starfall Github Integration - Person8880 - 19-08-2015

You can't run native applications through gamecode without a C++ module. That would be stupidly insecure.


RE: Starfall Github Integration - rouing - 19-08-2015

(19-08-2015, 07:49 PM)Person8880 Wrote: Well, if that's what you meant, then you can ignore most of what I said about liability etc.

It would actually be not too difficult to do if I ever found time for it, at least as far as local git repos are concerned. GitHub would still be hard, but no security problems because it'd all be on your machine.

Im ok with this