RapidTools: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
Abma (talk | contribs)
Line 17: Line 17:


adds a svn path to the repo and generates the tags automatically from the commit message, it also optimizes for incremental updates
adds a svn path to the repo and generates the tags automatically from the commit message, it also optimizes for incremental updates
Usage:
<code><pre>
BuildSvn <SVN URL> <Mods Root> <Archive Root> <filename of modinfo.lua> <Revision Number> <Rapid Prefix>
</pre></code>


==Streamer==
==Streamer==

Revision as of 02:09, 19 March 2014

RapidTools are for managing a rapid game/archive repository.

Made by det https://github.com/spring/RapidTools

It consists of the tools:


AddZip

takes a .zip and adds it to the repo with user specified tags:

Usage: ./AddZip <Store Path> <Zip Path> [Tag1] ...

BuildSvn

adds a svn path to the repo and generates the tags automatically from the commit message, it also optimizes for incremental updates


Usage:

BuildSvn <SVN URL> <Mods Root> <Archive Root> <filename of modinfo.lua> <Revision Number> <Rapid Prefix>

Streamer

is a cgi program to serve some specific files of a .sdp. This is the fastest and official way to fetch a rapid archive.

at client side you have to http POST: http://packages.springrts.com/streamer.cgi?<hash of sdp>

post data is binary 0/1 if a file of the specified sdp is needed or not.

streamer.cgi then returns all files in a single stream in the same order than in the sdp.

MakeZip

can create a zip from a .sdp

MakeZip ~/.spring/ ba:stable ba.zip