X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.main.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fupload;h=6de28be2189230ad4909f98024bce366c599bccc;hp=2663ee70b615cc7d4fc4d2166d55da39e5a5d062;hb=3e4a7984047224b0ffc532bbfaec359b37a7bc63;hpb=41c229b06517e6daee8fc2768850508892c821b9 diff --git a/yarrg/web/upload b/yarrg/web/upload index 2663ee7..6de28be 100755 --- a/yarrg/web/upload +++ b/yarrg/web/upload @@ -34,11 +34,20 @@ %doc> <& docshead &> -<%perl> +<%shared> my $url_base_base= 'http://yarrg.chiark.net/download/jarrg'; -my $download_version= 'test'; -my $url_base= "$url_base_base/$download_version"; -%perl> +%shared> +<%def downloadurl><%args> +$leaf +$test => 0 +# ^ change this to change the default version +%args><%perl> +my $download_version= $test ? '/test' : ''; +my $url_base= "$url_base_base$download_version"; +my $url= $url_base.'/'.$leaf; +%perl><% + $m->has_content ? $m->content : $url +%>%def>
@@ -80,7 +89,8 @@ YPP client. Then press "Upload Market Data" in the JARRG window. It is OK to switch away from the commodity list in Puzzle Pirates as soon as the Jarrg progress bar appears. The uploader has taken a copy -of the data, so you do something else while the upload takes place. +of the data, so you can do something else while the upload takes +place.
@@ -95,7 +105,7 @@ report the problem to us, not to Three Rings.
cd
) to the top level jarrg
directory
which was created when you unpacked the tarball, and then run
@@ -109,7 +119,7 @@ ordinary Puzzle Pirates startup script, which is normally
-The download directory can contains other versions (eg unreleased test -versions), which you can see here: - <% $url_base_base %>/ . +The code for the downloadable binaries is in +in <& downloadurl, leaf=>'jarrg-source.tar.gz' &>. +The download directory also sometimes contains other versions +(eg unreleased test versions), which you can see here: + <& downloadurl, leaf => '', test => 0 &>
-The source code for the downloadable released binaries is in the -Linux -tarball. We maintain JARRG in git, and you can get +We maintain JARRG in git, and you can get source code for recent and perhaps unreleased versions from one of:
git://git.yarrg.chiark.net/jarrg-ian.git (gitweb)