Author Topic: Github, bitbucket etc.  (Read 8276 times)

xee

  • Newcomer
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Github, bitbucket etc.
« on: July 11, 2012, 02:18:31 PM »
Does anyone use such sites?  From what I gather they're basically sites you post your code to and allow others to view, make changes, suggestions etc. to your code?  Are there downsides to using such sites or is it better to just slap your stuff onto your own blog site and call it a day?  ;D  Thanks for any info!

XLambda

  • Rogueliker
  • ***
  • Posts: 208
  • Karma: +0/-0
    • MSN Messenger - tau_iota@live.de
    • View Profile
    • The Weird Rogue
Re: Github, bitbucket etc.
« Reply #1 on: July 11, 2012, 02:41:31 PM »
Well, several projects use google code. libtcod uses bitbucket afaik.

They're basically a free repository with a web interface. There's either a hg or svn repo behind it that does version control. It especially makes it easy to work with a team, as you need a server to put your repo on, so the other team members can access it. And servers aren't cheap.

In my opinion, they're only useful if you want other people to have access to the source code and possibly help you with it. (Others can't change the code if you haven't invited them.) If you want to be the only one working with the source code, they offer very little a blog/site and a private repo on your HDD doesn't.
« Last Edit: July 11, 2012, 02:43:15 PM by XLambda »

XLambda

  • Rogueliker
  • ***
  • Posts: 208
  • Karma: +0/-0
    • MSN Messenger - tau_iota@live.de
    • View Profile
    • The Weird Rogue
Re: Github, bitbucket etc.
« Reply #2 on: July 11, 2012, 02:42:48 PM »
stupid double post.
« Last Edit: July 11, 2012, 02:44:27 PM by XLambda »

Darren Grey

  • Rogueliker
  • ***
  • Posts: 2027
  • Karma: +0/-0
  • It is pitch black. You are likely to eat someone.
    • View Profile
    • Games of Grey
Re: Github, bitbucket etc.
« Reply #3 on: July 11, 2012, 02:45:02 PM »
They're also useful for accessing your own code and making changes from any location, which is good if you like to make some changes from work on your lunch break, etc.  And letting others suggest changes through it is very valuable - much easier to accept their push than to copy paste their suggestions in (and also much easier for them to make those suggestions, so it's more likely for people to help).

naughty

  • Rogueliker
  • ***
  • Posts: 59
  • Karma: +0/-0
    • View Profile
Re: Github, bitbucket etc.
« Reply #4 on: July 11, 2012, 03:43:49 PM »
I use git and google code and it's a great way to have some kind of off-site backup if you commit often enough.

Also I mostly code in my living room on a laptop but when I go upstairs to use my desktop and it's so much quicker to push to the server and then pull when I get upstairs than to use USB drive or even a network share.

There's also useful features like a dev wiki, bug tracking, download areas and so on. I haven't released yet so I've not battle tested all the features but it's nice to know they're there.

siob

  • Rogueliker
  • ***
  • Posts: 64
  • Karma: +0/-0
  • blit(brain)
    • View Profile
    • gamejs
Re: Github, bitbucket etc.
« Reply #5 on: July 18, 2012, 02:51:25 PM »
Maybe http://gist.github.com is enough for you?

I use git, seems to be the current favourite of most.