SRL Archive - Help

Making an SVN


TomTuff

2011-01-25 02:01:12

I've decided I want to use SVNs for my script, because I simply update them too often for people to think to check back. However, google code (code.google.com) seemed very intimidating, and googling "How to make an SVN" didn't help much either.

A quick for-dummies rundown on this would be awesome :D

Flight

2011-01-25 02:13:33

I know I've seen a tutorial on this subject before, infact somewhere in this site if I can recall. Let me do some digging around as I'd also like to know this.

Bobzilla69

2011-01-25 04:01:55

if your looking for a hosting place, i am using xp-dev.com they give you 200mb of space for free :)

its easy to set up the site will take you through it all

Flight

2011-01-25 06:36:53

Well I don't think finding a host will be so much of a problem as setting up a script to automatically detect if it has been changed or updated through an online SVN containing the script.

Gu3st...

2011-01-25 09:24:34

code.google.com would be the easiest place to set up an SVN :)
It's done in 1-2-3, and even a 10 years old could do it

Troll

2011-01-25 11:13:33

From: Flight
Well I don't think finding a host will be so much of a problem as setting up a script to automatically detect if it has been changed or updated through an online SVN containing the script.


Not sure how he does it but harry's scirpts do

**BANNED The Man

2011-01-25 12:19:43

You can easily make an updater in your script.
Just have the latest script in a folder on your server.
Making the contents in the folder what you want them to download.
Then have a text document on your server that has a version number.
Then function:

if ScriptVersion = ServerVersion then
Exit
else begin
Client := InitializeHTTPClient(False, False);
UpdatedScript := GetHTTPPage(Client,'http://mserver.com/folder/UpdatedScript.txt');

Then create a new file and write it.
Let me know if you need help with this ^ :)

-Boom

MylesMadness

2011-01-25 12:45:37

Google code is by far the easiest SVN. Use tortoisesvn if your not comfortable using cmd.

Wizzup?

2011-01-25 13:19:27

You should really use git over svn though.

**BANNED The Man

2011-01-25 13:20:25

From: Wizzup?
You should really use git over svn though.


*cough* this ^ *cough*

EDIT: Offtopic, can we have some * * BBCodes? :D

MylesMadness

2011-01-25 13:27:52

Git as a version control system I don't think is much better. But github vs google code, theres not comparison, github is epic.

Wizzup?

2011-01-25 13:36:22

From: MylesMadness
Git as a version control system I don't think is much better. But github vs google code, theres not comparison, github is epic.


git > svn:
  • Branches
  • Tags
  • Merging
  • Speed (Everything offline)
  • Distributed
  • Network Usage (Everything offline)
  • "git-blame"
  • "git-shortlog"
  • (…)

svn > git:
  • Checking out a subdirectory of a repository instead of the entire repository.

You tell me…