PDA

View Full Version : Anyone use Subversion?



Zeph
March 3rd, 2013, 08:22 AM
I noticed that Dreamhost can host Subversion projects.
Anyone know how to use it?
Subversion, that is.
Not the one click button thing.

Btcc22
March 3rd, 2013, 09:30 AM
Essentially you just grab a client like TortoiseSVN, go through the basic configuration options and start committing files. When somebody else wants to work on them, they use a client to grab the latest set of changes. There's more to it than that but it's easy enough to figure out as you go along.

An alternative to SVN, Git, is extremely popular these days. It adds quite a bit of complexity though, as you'd expect of anything designed by the guy behind Linux. It certainly has compelling advantages over SVN however.

Zeph
March 3rd, 2013, 10:20 AM
Yeah, I was thinking of learning Git. I started to use Github at one point, but backed down when I found out you couldn't make your stuff private without paying. Git seems friendlier to me. After some searching, looks like I can use it with my dreamhost account with a bit more effort. http://wiki.dreamhost.com/Git

Btcc22
March 3rd, 2013, 12:25 PM
BitBucket offers free private repos. You could also use your own account provided you have SSH access, as long as you don't mind missing out on a few features provided by services like GitHub; you can usually live without them.

Kornman00
March 3rd, 2013, 05:45 PM
Don't use dreamhost to host your repo. Use one of these:

bitbucket.org
code.google.com (has to be public)
assembla.com
github.com
codeplex.com

Btcc22
March 3rd, 2013, 05:55 PM
Don't use dreamhost to host your repo. Use one of these:

If Modacity's anything to go by then his repos should be available for at least an hour a day.

Limited
March 4th, 2013, 02:42 PM
Subversion? Ew..Git for the win.

Kornman00
March 4th, 2013, 02:47 PM
Until SourceTree comes out of beta for Windows, Mercurial for the win(dows)

Zeph
March 4th, 2013, 03:13 PM
If Modacity's anything to go by then his repos should be available for at least an hour a day.
It's a bugged apache instance that's killing Modacity. Everyone has been able to access their ftp and such just fine.

Aside from that, the box that my stuff is on isn't overloaded like this one.

legionaire45
March 5th, 2013, 01:11 AM
If you don't mind doing a bit of legwork...
Gitlab

I (http://gitlab.org/)f you ever intend to bring this project to a wider audience, you will want to go with something that is a DVCS (ie. Git, Hg, etc.) over something centralized (ie. Subversion, CVS, Perforce, *twitch* ClearCase). You can get away with something like SVN, but Mercurial and Git tend to have better merging capabilities built in. Even for individual projects, most of the tools that are available for Git, Hg, etc. are better.

Zeph
March 5th, 2013, 06:13 AM
Nah, this is gonna be for a private CE3 project that I intend to keep between a handful of people (hopefully they wont fuck that up).
Seems Git is the norm for the most vocal code people working on CE3, considering the guys behind CryMono are using Git.

Higuy
March 5th, 2013, 06:22 AM
I've been using TourtoiseSVN for my server and latest upcoming project and its very useful. Saves alot of time and energy trying to keep this up todate correctly... not only that, its easily backed up on a secondary harddrive on the server automatically as well. But most importantly its great becuase I don't have to try to get or send the latest files, I just update and my source is automatically downloaded and updated. Same with when I'm done with things, I commit them and they are uploaded to the server.

I've never used Git but I can say Tourtoise SVN is really handy and works well. Has alot of features too to work with too.

PenGuin1362
March 5th, 2013, 09:23 AM
Not sure how open or useful the free version of Perforce is, but having used both Tortoise products and Perforce, I definitely prefer perforce. Then again I don't really get into the backend of it so not sure if it's what you need.

Limited
March 6th, 2013, 04:54 PM
http://markmcb.com/2008/10/18/3-reasons-to-switch-to-git-from-subversion/

I can understand why people who are hardcore uses of subversion might not want to have to scrap their workflow and adopt a new one (even tho its worth while), but if your starting fresh, I would recommend Git all day long.

Gits real power comes from branches, which reading Higuys post, he doesnt do/mention.

You can use Git and never push to a server, any project I make now I use Git for even if I never plan to push the codebase onto a server as backup, it speeds up prototyping dramatically.

legionaire45
March 9th, 2013, 10:13 PM
Not sure how open or useful the free version of Perforce is, but having used both Tortoise products and Perforce, I definitely prefer perforce. Then again I don't really get into the backend of it so not sure if it's what you need.

I use Perforce at work. IMO, it's nicer than SVN. My biggest issue with it is that you can't (as far as I know) have multiple changesets which reference the same file. The clunky workaround I have been using is to have a Git Repo that lives at the same level as my Perforce repo, and to use git branches until I'm ready to push things to their respective change sets. This approach is kinda derpy, but it works.

Zeph
June 20th, 2013, 02:15 PM
Looks like Git is running on my Dreamhost box now.
Anyone want to hold my hand and help me figure out how to set this up so I, and whoever else I need, can make use of it as a private repository?

Limited
June 20th, 2013, 02:32 PM
Looks like Git is running on my Dreamhost box now.
Anyone want to hold my hand and help me figure out how to set this up so I, and whoever else I need, can make use of it as a private repository?
Well, what you trying to setup? Git on a server is just like a standard pc. You do work on your local machine and push to the repo. Then on the web server you do a git pull and it grabs files from the repo. You just make sure that the webserver is another 'team member', if your using bitbucket that is.

We use bitbucket at work, its free for teams of less than 5. I assume you'd be under that.

Not sure if you use JIRA, but it ties in really nicely into it as the commits show up on the tickets if you use the project extension and ticket ID.

Hit me up if you need any help.

Zeph
June 20th, 2013, 05:35 PM
Bitbucket is pretty close to what I was looking for in terms of source code and scripts. Git doesn't seem to like binaries and other assets very much so I guess I'll continue with my own tracker for that.

legionaire45
June 22nd, 2013, 04:41 AM
Bitbucket is pretty close to what I was looking for in terms of source code and scripts. Git doesn't seem to like binaries and other assets very much so I guess I'll continue with my own tracker for that.

Unfortunately most version control systems are pretty meh when it comes to handling binary data. Outside of very specific/proprietary things, your best bet is probably going to be Dropbox/Google Drive/etc. + versioning by directories or filename. One thing that's really nice about Bitbucket is that if you have a .edu email address you can get effectively unlimited private repositories with either no or very generous file size limits. With an education account on Github, you can only do 5 private repositories and they have a file size limit that you might bump up against.

What sort of handholding are you looking for regarding git?

Kornman00
June 22nd, 2013, 01:43 PM
Unfortunately most version control systems are pretty meh when it comes to handling binary data. Outside of very specific/proprietary things...
wrt. that last bit, I remember hearing good things about Alienbrain (http://www.nxn-software.com/).

Skyline
June 22nd, 2013, 06:37 PM
Can look at this (http://pcottle.github.io/learnGitBranching/), also provides a visualization of what is actually happening which makes it a bit easier to learn.