Bureaucrats, checkuser, Administrators
3,313
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
For version control of the IRC bot scripts we use [http://en.wikipedia.org/wiki/Git_%28software%29 git]. To contribute to projects such as the scripts accessible via robonaut (the bot), you'll need an account on Babbage. We use Github for all common projects at Hackspace. | For version control of the IRC bot scripts we use [http://en.wikipedia.org/wiki/Git_%28software%29 git]. To contribute to projects such as the scripts accessible via robonaut (the bot), you'll need an account on Babbage. We use Github for all common projects at Hackspace. | ||
<!-- From here should probably be in a Git tutorial page... --> | |||
== First time config == | == First time config == | ||
Line 13: | Line 13: | ||
In order to contribute, you can then create a key for secure communication with Github: | In order to contribute, you can then create a key for secure communication with Github: | ||
ssh-keygen | ssh-keygen | ||
cat ~/ | |||
Press return when it asks you for the filename. If it then asks you to overwrite, say no ('''n'''). | |||
cat ~/.ssh/id_rsa.pub | |||
On Github, create a new entry in '''SSH Private Keys''' in '''Account Settings''', and paste the output of the last command into the '''Key''' area. You can also add the email address used above, and Github will automatically associate your commits with your account. | On Github, create a new entry in '''SSH Private Keys''' in '''Account Settings''', and paste the output of the last command into the '''Key''' area. You can also add the email address used above, and Github will automatically associate your commits with your account. | ||
Line 68: | Line 71: | ||
git push github | git push github | ||
<!--... to here --> | |||
== Pull requests == | |||
Pull requests are the easiest way to get your changes into the main repository. Simply visit the main repository, and click on the '''Pull request''' button | |||
<!-- | <!-- |