Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (480)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (547)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  I love bitbucket!  (Read 6924 times)
0 Members and 1 Guest are viewing this topic.
Online ags1

JGO Ninja


Medals: 46
Projects: 2
Exp: 5 years


Make code not war!


« Posted 2012-06-21 21:11:13 »

I have just discovered bitbucket, and I love it! Version control, wiki, and bug tracking for free! I have always wondered about how to get some basic version control for my little code projects so I am blown away at getting a pretty professional environment with no more difficulty than, say, signing up for facebook.

Offline actual

JGO Coder


Medals: 23



« Reply #1 - Posted 2012-06-21 21:30:20 »

I like it as well, especially because you can have private projects which (I think) github doesn't support for free.  Although git gets all the attention, Mercurial is a nice VCS that integrates well with eclipse.
Offline ra4king

JGO Kernel


Medals: 345
Projects: 2
Exp: 5 years


I'm the King!


« Reply #2 - Posted 2012-06-21 21:42:54 »

If you don't have money, Github is best for public repos with lots of collaborators and Bitbucket is best for private and public repos with at most 5 collaborators.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Danny02
« Reply #3 - Posted 2012-06-21 21:51:19 »

I acctually like the fact that github "forces" you to make your code public, because in 99% of all cases there is no rational need to hold it private.

For example, I have some code of mine on GitHub and only because it was public someone got interested and made me a job offering(asked if I would like to apply).
Offline princec

JGO Kernel


Medals: 362
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2012-06-21 22:15:00 »

I still don't understand Git and Mercurial  Tongue
Think I need someone to sit down and explain it all to me.

Cas Smiley

Offline woogley
« Reply #5 - Posted 2012-06-21 23:43:46 »

I still don't understand Git and Mercurial  Tongue
Think I need someone to sit down and explain it all to me.

People get religious about it, but as long as you're using _some_ kind of version control, it doesn't matter much.

Distributed vs centralized in a nutshell means no more checkouts - everyone gets an entire copy of the whole repository. Ironically most workflows employ some sort of centralized/blessed repository.

Assuming you're not a version control nerd at all - the immediate benefit you notice with distributed is that you can commit/branch/etc locally and choose when exactly your code is 'live' in the central repo. So you don't have to work without the benefits of version control just because you're offline or you think you might commit a broken build or something.

If you work by yourself, always have an internet connection, or don't care about the state of the project on a per-commit basis, then you won't notice many of the benefits.
Offline actual

JGO Coder


Medals: 23



« Reply #6 - Posted 2012-06-22 00:31:31 »

I still don't understand Git and Mercurial  Tongue
Think I need someone to sit down and explain it all to me.

Cas Smiley

http://hginit.com/ is a great tutorial to Mercurial with an intro to DCVSs in general.
Offline sproingie

JGO Kernel


Medals: 202



« Reply #7 - Posted 2012-06-22 02:05:06 »

The gist of DVCS is that you are the repo, the versions are stored locally.  You then sync your repo with one or more other repos, either pushing, pulling, or both ways.

This gives you lots of speed since the repository ops are done locally, and lots of flexibility since every repo is an equal citizen.  To support doing this stuff, most DVCS's (Distributed Version Control Systems) have also made branching and merging much faster, more robust, and more featureful -- features like shelve and rebase are something you won't see in most centralized systems for example.   This is its own benefit even if you never otherwise use the D part of a DVCS.
Offline ReBirth
« Reply #8 - Posted 2012-06-22 03:38:23 »

I always break my version control, they just didn't roll back the way I want.

Offline PaulCunningham

Junior Member


Medals: 2



« Reply #9 - Posted 2012-06-22 11:34:59 »

I still don't understand Git and Mercurial  Tongue
Think I need someone to sit down and explain it all to me.

Cas Smiley

http://ndpsoftware.com/git-cheatsheet.html
(hint, click the big coloured boxes)
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

JGO Kernel


Medals: 362
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #10 - Posted 2012-06-22 11:43:26 »

Ordinary version control like CVS and SVN all made perfect sense to me; the trouble is getting my head around the UI in Eclipse, to be honest. I suspect it's buggy too so I fear it greatly.

Cas Smiley

Offline ra4king

JGO Kernel


Medals: 345
Projects: 2
Exp: 5 years


I'm the King!


« Reply #11 - Posted 2012-06-22 12:11:31 »

The MercurialEclipse plugin is the most stable and easy to use CVS plugin I've found, which is why I use it instead of git.

Offline matheus23

JGO Kernel


Medals: 106
Projects: 3


You think about my Avatar right now!


« Reply #12 - Posted 2012-06-22 12:12:30 »

Ordinary version control like CVS and SVN all made perfect sense to me; the trouble is getting my head around the UI in Eclipse, to be honest. I suspect it's buggy too so I fear it greatly.

Cas Smiley
I'm using Egit for some months now. I never had ANY problems. And it's easy as SHIT: in the Package Explorer, hit right mouse button -> Team -> Do whatever you want. Everything works really easy. Oh, and I haven't found any bugs yet. I don't even expect some anymore.

Setting up is easy too:
Installing:
  • go to Help -> Install new Software
  • Write into the "Work with" field: http://download.eclipse.org/egit/updates
  • Klick Add, select a name, for example "Eclipse EGIT" and confirm
  • Open the Tab "Eclipse Git Team provider"
  • Select "Eclipse EGit"
  • Click "Finish"
  • Agree to everything coming.
  • Done.

Setting up first EGit Project / Turn Project into EGit-Project:
  • In the "Package Explorer" (By Default, the File-Browser on the right), right-click on your Project
  • Click on Team -> Share project
  • Select "Git", click "Next >"
  • Create a repository if you haven't got one. (Just click "Create" and pick a name and path, lol...)
  • Everything is fine now. Click "Finish".
  • Your project is now a git-project

Before you commit your project, you might want to deselect "non-sources", and "gitignore" them.

Git-Ignoring Folders/Files:
  • Right-click on the file in the package Explorer
  • Click Team -> Ignore
  • Done. (! Usually this is really "hard" for git-newbes to do per command-line !)

Finally, to show, how cool EGit is:
First Commit:
  • Go (again per right-click) to Team -> Commit
  • Enter a commit message, and the files you want to commit, done.

I might go on, on how to integrate this whole stuff with github, but for these purpose, there is a tutorial (really really really good tutorial):
http://wiki.eclipse.org/EGit/User_Guide

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #13 - Posted 2012-06-22 12:34:01 »

Ordinary version control like CVS and SVN all made perfect sense to me; the trouble is getting my head around the UI in Eclipse, to be honest. I suspect it's buggy too so I fear it greatly.

Cas Smiley
Subclipse or Subversive? I find Subversive to be weirdly buggy, even though it's the 'official' Eclipse one. I much prefer Subclipse (which is the 'official' SVN one).

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline gimbal

JGO Knight


Medals: 25



« Reply #14 - Posted 2012-06-22 13:14:07 »

Ordinary version control like CVS and SVN all made perfect sense to me; the trouble is getting my head around the UI in Eclipse, to be honest. I suspect it's buggy too so I fear it greatly.

Cas Smiley
Subclipse or Subversive? I find Subversive to be weirdly buggy, even though it's the 'official' Eclipse one. I much prefer Subclipse (which is the 'official' SVN one).

Never had much trouble with Subversive - its more up to the SVN connector used in conjunction IMO (SVNKit, JavaHL, ...). Especially with SVNKit I have seen widely varying results depending on which version is installed.
Offline Roquen
« Reply #15 - Posted 2012-06-22 19:07:42 »

I'll come out of the closet.  I still use CVS.  There I feel better.
Online ags1

JGO Ninja


Medals: 46
Projects: 2
Exp: 5 years


Make code not war!


« Reply #16 - Posted 2012-06-22 20:27:58 »

I'll come out of the closet.  I still use CVS.  There I feel better.

I've used most VCSs over the years, but I seem to end up liking them all. Even Continuus had its good points. Git I like very much because it has colored text in my DOS box - that is soooo eighties.

I am sure there are plugins for my IDE but I'm perfectly happy running Git from the command line and not having any of the above grumbles about plugin bugs.

Offline princec

JGO Kernel


Medals: 362
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #17 - Posted 2012-06-22 21:17:43 »

CVS is fine. Fiddly to merge though I seem to recall.

Cas Smiley

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #18 - Posted 2012-06-22 22:20:49 »

I very much love git from the command line. I hate git GUIs except for checking logs and merge history. The giant advantage git has over SVN and other older source control models is that you can make as many branches as you want extremely quickly. Want to try out a new feature? Make a new branch. Refactoring? Make a new branch. Easy peasy.

See my work:
OTC Software
Offline actual

JGO Coder


Medals: 23



« Reply #19 - Posted 2012-06-23 00:23:37 »

I'll come out of the closet.  I still use CVS.  There I feel better.

Just so you know, I support your right to form civil unions with other CVS users.

Do you use it for personal projects? From what I understand most complaints from CVS are when you have multiple people working on the same project and there's a lot of complicated branching and merging going on. So single user projects are fine.

Don't be ashamed, we're here for you and we support you.
Offline Cero
« Reply #20 - Posted 2012-06-23 00:47:43 »

nargh it doesnt support SVN, only mercurial and git

we have been using unfuddle.com, but it only is free for 2 users - we had to merge the other stuff by hand
bitbucket is free for up to 5 users, but no svn =/

you know of alternatives ? (has to offer closed source repositories)
we tried git once and didn't get it
never tried mercurial

Offline Roquen
« Reply #21 - Posted 2012-06-23 07:31:23 »

WRT: CVS - yeah, single developer (me), single branched..fast connection to repo...so I've never needed to muck with any of these fancy no-fangled things.
Offline matheus23

JGO Kernel


Medals: 106
Projects: 3


You think about my Avatar right now!


« Reply #22 - Posted 2012-06-23 07:43:38 »

WRT: CVS - yeah, single developer (me), single branched..fast connection to repo...so I've never needed to muck with any of these fancy no-fangled things.
But you still have the possibility to go back some commits, which is awesome Smiley

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Online ags1

JGO Ninja


Medals: 46
Projects: 2
Exp: 5 years


Make code not war!


« Reply #23 - Posted 2012-06-23 21:29:33 »

To be honest, I don't get the comments on this thread about Git being obscure or any more difficult than CVS. As far as I can see, it is exactly the same, except when you commit nothing happens on the server (server aka other repository). So you type 'git push' in a dos box - one extra step vs CVS. But the benefit is you have local versioning (which admittedly I'm not using, yet).

Offline princec

JGO Kernel


Medals: 362
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #24 - Posted 2012-06-23 22:42:23 »

The point at which you said "git push in a dos box" is where I switched off Wink

Got to have a GUI that an idiot could use or I won't touch it.

Cas Smiley

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 781
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #25 - Posted 2012-06-23 22:49:41 »

Got to have a GUI that an idiot could use or I won't touch it.
http://code.google.com/p/tortoisegit/

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline princec

JGO Kernel


Medals: 362
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #26 - Posted 2012-06-23 22:54:08 »

Yeah I know about Tortoise Smiley I just need to get my head around the Eclipse GUI for it really as I rarely use Explorer to do actual source code management.

Cas Smiley

Offline concerto49

Junior Member





« Reply #27 - Posted 2012-06-24 00:13:13 »

My problem with egit, aka the Eclipse Git is that there's no context. Don't know if I'm missing something here, but whenever I commit, it ALWAYS asks for all the files and to select/deselect. When I used SVN, there was context - i.e. if I was in a particular folder, it'd only ask me to select/deselect anything in that folder.

I find egit such a pain when I want to selectively commit a few files when I've changed 99999. This is quite realistic - e.g. you're working on something, you don't know if it's stable, but in the meantime a critical bug occurs and you might like to commit a part of your change you know works. Sure, you can branch your change and then backport etc etc, but that wastes lots of time compared to  committing 1 file.

High performance, fast network, affordable price VPS - Cloud Shards
Available in Texas, New York & Los Angeles
Need a VPS Upgrade?
Offline sproingie

JGO Kernel


Medals: 202



« Reply #28 - Posted 2012-06-24 01:13:28 »

With EGit, I believe you can right-click anything under version control and select "add to index", which is git's weird terminology for adding it to the changeset.  From there you can keep the team window open and actually commit/push from there.  Might even be able to do it from that window without the add operation first.

With IDEA, it's two keystrokes to commit the current file with whatever version control system I'm using.  Unfortunately its VCS GUI is pretty deficient in every other respect.

Offline xsvenson
« Reply #29 - Posted 2012-07-03 14:32:39 »

I've worked with all the 4 mentioned here (CVS, SVN, hg and git).
The easiest transition was, of course, from CVS-> SVN. We did that, cause SVN is better. Can't remember why Smiley
Transition from SCN -> hg took some time. We had some minor problems with open tips and the need for regular merge. "Rebase" was the magic wand that fixed everything (also, we got a small presentation by ppl of bigger knowledge)

Now I had to use git, cause I wanted to contribute to a github project. I thought I knew the idea and the concept of dvcs but after using git, at some point I felt like giving up everything. I don't know, if it was the tooling or the help/tutorials or git having it's root with linux (I mean the mindset and concepts) but for me, getting git to work and understanding everything was quite a hurdle to overcome.
And then I had to do my first merge with git ... -_-

For hg (and git), one of the small nice features is how the verion control files are hold. They are in a single folder that sits in the root, opposite to cvs/scn that have the metadata in every single versioned folder.

“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Pages: [1] 2
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

atombrot (25 views)
2014-08-19 09:29:53

Tekkerue (24 views)
2014-08-16 06:45:27

Tekkerue (23 views)
2014-08-16 06:22:17

Tekkerue (13 views)
2014-08-16 06:20:21

Tekkerue (20 views)
2014-08-16 06:12:11

Rayexar (58 views)
2014-08-11 02:49:23

BurntPizza (38 views)
2014-08-09 21:09:32

BurntPizza (30 views)
2014-08-08 02:01:56

Norakomi (37 views)
2014-08-06 19:49:38

BurntPizza (67 views)
2014-08-03 02:57:17
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!