Graal Forums

Graal Forums (http://forums.graalonline.com/forums/index.php)
-   Feature request (http://forums.graalonline.com/forums/forumdisplay.php?f=194)
-   -   Request - GIT (http://forums.graalonline.com/forums/showthread.php?t=134268274)

BlueMelon 05-29-2013 02:47 AM

Request - GIT
 
I'm sure alot of you already know about GIT (or should already know), but for those who don't,

http://git-scm.com/about

It's an excellent tool for all domains of development and organisation. It would be pretty interesting if it we're implemented or could be used on graal.

cbk1994 05-29-2013 03:09 AM

People have been requesting proper revision control for years. It's ridiculous that in 2013 there is still no way to keep track of changes (or even to make an easy backup of a server!).

This is the kind of relatively easy thing Stefan could implement that would do a lot to win over developers. Even if he didn't implement any kind of branching or merging (which he should), he could easily allow committing, which would at least make it possible to see the history of a script. Even if all it did was auto-commit each time you updated a script, that would be a huge advance.

Stephen 05-29-2013 04:23 PM

A few years ago I recommended a way to verify scripts - such as a script hash. The general counter-argument is that if you're worried someone will insert something malicious into your code then they shouldn't have access... ... ...and yet it happens regularly.

My original idea was that you could back up your code and then generate a hash of backed up code. After that just have a button to check the hash and display differences if there were any, or a variable for the hash so they could be verified with a script.

cbk1994 05-29-2013 04:28 PM

Quote:

Originally Posted by Stephen (Post 1718481)
A few years ago I recommended a way to verify scripts - such as a script hash. The general counter-argument is that if you're worried someone will insert something malicious into your code then they shouldn't have access... ... ...and yet it happens regularly.

My original idea was that you could back up your code and then generate a hash of backed up code. After that just have a button to check the hash and display differences if there were any, or a variable for the hash so they could be verified with a script.

It would be a lot easier to auto-commit to git each time a script is updated and make the repository available for browsing over gitweb or similar. Would provide a lot more functionality, too.

Stephen 05-29-2013 04:51 PM

Quote:

Originally Posted by cbk1994 (Post 1718482)
It would be a lot easier to auto-commit to git each time a script is updated and make the repository available for browsing over gitweb or similar. Would provide a lot more functionality, too.

Would there be any level of privacy? I anticipate that a lot of people would not necessarily want their scripts visible to everyone.

cbk1994 05-29-2013 05:33 PM

Quote:

Originally Posted by Stephen (Post 1718483)
Would there be any level of privacy? I anticipate that a lot of people would not necessarily want their scripts visible to everyone.

That's up to the implementation. Nothing about git requires you to open-source the code. The easiest thing to do would be to have one git repo per server, and allow access to the repo via gitweb. You can protect that with a username and password, or with SSH keys (the former would be easier). It would be relatively easy to hook the authentication into the main Graal accounts database and have it check some server option (e.g. a list of accounts authorized to access the server's git repo).

Admins 05-30-2013 01:16 PM

We have started experimenting with git, it should be available in a few months.

Crono 05-30-2013 01:18 PM

Quote:

Originally Posted by Admins (Post 1718526)
We have started experimenting with git, it should be available in a few months.

Months? ;)?

Draenin 05-30-2013 01:51 PM

Quote:

Originally Posted by Crono (Post 1718528)
Months? ;)?

Better than years, I guess.

Crono 05-30-2013 02:31 PM

Quote:

Originally Posted by Draenin (Post 1718530)
Better than years, I guess.

It will be years.

Fulg0reSama 05-30-2013 08:09 PM

Quote:

Originally Posted by Crono (Post 1718531)
It will be years.

We're lucky it isn't decades.

DustyPorViva 05-30-2013 08:38 PM

> Shows interest in something people want
> Teases him anyways :P

Stephen 05-30-2013 09:04 PM

Quote:

Originally Posted by DustyPorViva (Post 1718554)
> Shows interest in something people want
> Teases him anyways :P

street cred

Hezzy002 05-31-2013 01:20 AM

i bet i can write a git client in gs2 before stefan goes full retard and implements it like a two year old after seven years

Fulg0reSama 05-31-2013 02:29 AM

Quote:

Originally Posted by Hezzy002 (Post 1718592)
i bet i can write a git client in gs2 before stefan goes full retard and implements it like a two year old after seven years

Taking all bets!


All times are GMT +2. The time now is 07:39 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.