Please login or register.

Xuras

Author Topic: Auto Svn  (Read 3319 times)

Offline sleepy

  • Founder
  • Global Administrator
  • Lives here
  • *****
  • Posts: 2,055
  • Cookies: 39
    • View Profile
    • Xuras!
Auto Svn
« on: 31 May, 2008, 15:40:20 pm »
The following tutorial will take you though a simple way of running SVN's automatically for Garry's Mod.

First of all you need to download the program here: Tazzanator AutoSVN

First open the settings.ini and put your details in like the example below:
Code: [Select]
[settings]
addondir =c:/program.....(ect)
modini =http://tezzanator.net/mods.ini
silent =True
; Silent Mode, This will make th app do everything on
; It's own, For this to work you need to use a custom
; mods.ini to set "checkedbydefault" to true.
uselocalmods =True
; You can use this to use the mods ini in the program directory


Then open the mods.ini file you can edit this how ever you want I will post suggested ones which I use.

Code: [Select]
[header]
totalmods = 3
latestbuild = 101

[1]
name = "phx3"
svnurl = "https://phoenix-storms.svn.sourceforge.net/svnroot/phoenix-storms"
internalfolder = "phx3"
checkedbydefault = true
type = svn

[2]
name = "Wiremod"
svnurl = "svn://wiremod.com/wiremod"
internalfolder = ""
checkedbydefault = true
auth = true
username = anonsvn
password = anonsvn
type = svn

[3]
name = "Achievements"
svnurl = "http://gmodachievements.googlecode.com/svn/trunk/"
internalfolder = "Achievements"
checkedbydefault = true
auth = true
username =
password =
type = svn

Tip: If you place a shortcut to "Auto SVN Updater.exe" in the "startup" folder on your start menu. This makes the automatic downloading of svn happen every time you log onto windows


Adding own mods

The layout for a mod is this:
Code: [Select]
[1]
name = "Wiremod"
svnurl = "svn://wiremod.com/wiremod"
internalfolder = ""
checkedbydefault = true
auth = true
username = anonsvn
password = anonsvn
type = svn

What does all this mean?

[1]: This is a id number make sure this is unique and usually in order

Name: This can be what ever you want - Useful is always better

svnurl: This is the url to the svn server

internalfolder: This defines where the mod is put (but if the mod it self is in multi folders put " " then it will put in root addons folder.

checkedbydefault: true/false, This means if it downloads automatically or not. This can stop a mod if you no longer like it.

auth: true/false  this is weather u need authentication to the server or not.

username: obviously the username to the svn if needed

password: obviously the password to the svn if needed

type: cant think of other types i guess html could be one but leave it on svn just to be sure.

Any questions please ask below
« Last Edit: 31 May, 2008, 17:00:59 pm by sleepy »
Any problems contact me
sleepy@alflatters.co.uk




Offline Dotmister

  • Co-Founder
  • Global Administrator
  • Almost lives here
  • *****
  • Posts: 1,002
  • Cookies: 35
    • STEAM_0:0:12123040
    • View Profile
    • Adamncasey.co.uk
Re: Auto Svn
« Reply #1 on: 14 June, 2008, 08:32:07 am »
Type could be CVS or Secure SVN.

Offline sleepy

  • Founder
  • Global Administrator
  • Lives here
  • *****
  • Posts: 2,055
  • Cookies: 39
    • View Profile
    • Xuras!
Re: Auto Svn
« Reply #2 on: 14 June, 2008, 13:02:16 pm »
fancy giving a explication for CVS since i can kinda guess what secure svn is... but not cvs :D
Any problems contact me
sleepy@alflatters.co.uk




coomdoom

  • Guest
Re: Auto Svn
« Reply #3 on: 13 January, 2009, 19:57:55 pm »
The link at the top has an 500 Internal Server Error, is there another mirror? I need to get a copy of this ASAP.

PX1K

  • Guest
Re: Auto Svn
« Reply #4 on: 13 January, 2009, 20:30:06 pm »
Before anyone dares, this may be a bump, but it's true.

I'll admit it, I want auto svn now, GIMMIE.

(google is your friend)

Offline Dotmister

  • Co-Founder
  • Global Administrator
  • Almost lives here
  • *****
  • Posts: 1,002
  • Cookies: 35
    • STEAM_0:0:12123040
    • View Profile
    • Adamncasey.co.uk
Re: Auto Svn
« Reply #5 on: 17 January, 2009, 20:24:54 pm »
Erm, now this is bumped might aswell reply to sleepy.

CVS is a less useful form of Version control. It doesn't support merging of files as well as SVN, You can't rename or move files.

It has a much larger presence in the commercial development area. CVS has much better intergration into development IDE's such as Dev-C++ and Visual C++. For obvious reasons, a closed program can't keep track of moved or renamed files. It also doesn't have much support for non-ASCII characters

Chaotic Cow

  • Guest
Re: Auto Svn
« Reply #6 on: 24 January, 2009, 04:06:32 am »
Why can't there just be a program...Sigh.

Offline sleepy

  • Founder
  • Global Administrator
  • Lives here
  • *****
  • Posts: 2,055
  • Cookies: 39
    • View Profile
    • Xuras!
Re: Auto Svn
« Reply #7 on: 25 January, 2009, 10:32:10 am »
Well I discovered a new fast way... go into addons click CTL + A (e.g. select all ) right click on one of the icons and click update SVN and it will update them all!! (Even though gm_botmap_v3 svn kinda fails so remb to remove the svn before doing this method!!)
Any problems contact me
sleepy@alflatters.co.uk




Alfie

  • Guest
Re: Auto Svn
« Reply #8 on: 25 January, 2009, 16:52:51 pm »
lol sleepy, that's the way I've always done it.

Offline sleepy

  • Founder
  • Global Administrator
  • Lives here
  • *****
  • Posts: 2,055
  • Cookies: 39
    • View Profile
    • Xuras!
Re: Auto Svn
« Reply #9 on: 26 January, 2009, 00:02:55 am »
why didn't u tell everyone then :D
Any problems contact me
sleepy@alflatters.co.uk




Alfie

  • Guest
Re: Auto Svn
« Reply #10 on: 26 January, 2009, 01:57:21 am »
I like to see them suffer :laugh:

Chaotic Cow

  • Guest
Re: Auto Svn
« Reply #11 on: 30 January, 2009, 15:52:55 pm »
If I was to try this.....*Saves a copy of my addons folder*

Offline sleepy

  • Founder
  • Global Administrator
  • Lives here
  • *****
  • Posts: 2,055
  • Cookies: 39
    • View Profile
    • Xuras!
Re: Auto Svn
« Reply #12 on: 08 July, 2009, 11:25:59 am »
New method:

Code: [Select]
@ECHO OFF
g:
cd Game Files\Steam\steamapps\sleepy_23\garrysmod\garrysmod
cd addons

ECHO Updating Addons
TortoiseProc.exe /command:update /path:"Adv Duplicator*PC Mod*PHX*rp_disorientation*unoffical wiremod addons*Wire*wire model pack 1" /closeonend:2
ECHO Done...

cd..
cd gamemodes

ECHO Updating Gamemodes
TortoiseProc.exe /command:update /path:"DarkRP" /closeonend:2
ECHO Done...

You will need to change where your steam is since mine is on a separate drive and also for any additional or any mods you don't have just put "*" then the folder name

Warning:This Does not update folders that have not got a svn connection you must update it least once then this batch will do a mass update. This can also be put in startup in start menu and it will auto run on startup. Any questions? Ask me!
Any problems contact me
sleepy@alflatters.co.uk




 


SimplePortal 2.3.2 © 2008-2010, SimplePortal