Page 1 of 1

SVN autohost

Posted: 18 Dec 2011, 11:18
by Beherith
Hey guys, many of you probably already have something like this set up, so I'd like some pointers on how you did it.

I want to host an SVN build of BA. I can host the autohost as well.
I run the svn/trac on a ubuntu box, not blazingly fast, but the internet connection of it is.

Is there a hook that is called when someone commits to the svn? Should I just check daily for commits?

Just check for commits, if there is a newer commit, export svn, change modinfo.lua to reflect the commit, .sdz it, tell the autohost to update, and provide the dl link to mod.

Re: SVN autohost

Posted: 18 Dec 2011, 11:54
by hoijui
i think ZK guys do this, but i would recommend to use only rapid for such builds, not full archives (which is what ZK does aswell, i think).
... this means that SL users have to run `rapid update` before being able to join a game on that host.

Re: SVN autohost

Posted: 18 Dec 2011, 12:20
by Beherith
Yeah I just realized that I couldnt put the mod link in the autohost description (because you cant click from the battle lobby, and cant join without mod)

I might just end up putting it in the #ba channel topic

Re: SVN autohost

Posted: 18 Dec 2011, 12:26
by Licho
Beherith its really simple with rapid. Just tell us the rapid tag you want to autohost and i will setup BA dev autohost.

(Its "AutoUpdateRapidTag" in springie config)

In ZKL you can join fine without mod and it will use rapid to get it. You can use it for testing instead of SL

Re: SVN autohost

Posted: 18 Dec 2011, 13:02
by Beherith
Ah, found it: REPO_NAME/hooks :D
most of the ba players use SL afaik

Re: SVN autohost

Posted: 18 Dec 2011, 14:15
by Licho
Tascient can use Rapid too.. its really just damn SL :(