From: Martin Mares Date: Mon, 24 Sep 2012 13:12:27 +0000 (+0200) Subject: Preparing for release 2.0 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=2bf2a3c476971e54cae9d5899730feef608d44d3;p=moe.git Preparing for release 2.0 --- diff --git a/Makefile b/Makefile index bd1c58c..6e52c47 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Makefile for Moe # (c) 2008--2012 Martin Mares -VERSION=1.0.99-20080220 +VERSION=2.0 # The default target all: runtree programs datafiles configs diff --git a/README b/README index 17ae449..59bb818 100644 --- a/README +++ b/README @@ -2,7 +2,8 @@ Moe Contest Environment @VERSION@ - (c) 2001--2008 Martin Mares + (c) 2001--2012 Martin Mares + and other contributors ================================================================================ @@ -19,11 +20,8 @@ Public License version 2. If you have any suggestions, bug reports or improvements you would like to share with others, please send them to mj@ucw.cz. +** How to build Moe ** -** How to compile the submission system ** +First of all, edit default.cfg to choose which components should be built. -First, unpack holmes-libs-3.12, configure it and run make. You can build a thinner -version with `./configure default.cfg -CONFIG_IMAGES -CONFIG_UCW_THREADS -CONFIG_SHARED'. - -Then uncomment the "SUBMIT" line in the top-level Makefile and let LIBUCW -point to the compiled Holmes libraries. +Then run "./configure" and "make". This will place all compiled binaries in "run/". diff --git a/default.cfg b/default.cfg index a1fba31..259b391 100644 --- a/default.cfg +++ b/default.cfg @@ -1,10 +1,12 @@ # Default configuration file for Moe +# By default, only the core parts are built, including box and isolate. +# If you wish to build more, enable it below. # Compile the submit server -Set("CONFIG_SUBMIT" => 1); +#Set("CONFIG_SUBMIT" => 1); # Build MO-P contest environment -Set("CONFIG_MOP" => 1); +#Set("CONFIG_MOP" => 1); # If you are running a 64-bit Linux kernel, you need to build a 64-bit # sandbox and decide whether your userspace is 32- or 64-bit. diff --git a/maint/release b/maint/release index c1c8cc9..a51ce42 100755 --- a/maint/release +++ b/maint/release @@ -1,20 +1,19 @@ #!/usr/bin/perl -# A simple script for making releases of mo-eval -# (c) 2005--2008 Martin Mares +# A simple script for making releases of Moe +# (c) 2005--2012 Martin Mares use strict; use warnings; require "maint/release.pm"; -my $r = new UCW::Release("mo-eval"); +my $r = new UCW::Release("moe"); my $ver = $r->GetVersionFromFile("Makefile", "VERSION=(.*)"); -#$r->GetVersionsFromChangelog("ChangeLog", "Released as (.*)\."); unshift @{$r->{"rules"}}, '^(problems|testing|solutions|maint|certs)/.*' => '-'; push @{$r->{"directories"}}, "problems", "testing", "solutions"; push @{$r->{"uploads"}}, { - "url" => "scp://atrey.karlin.mff.cuni.cz/~ftp/pub/local/mj/eval/" + "url" => "scp://atrey.karlin.mff.cuni.cz/~ftp/pub/moe/" }, { - "url" => "scp://jabberwock.ucw.cz/~ftp/pub/mj/eval/" + "url" => "scp://jabberwock.ucw.cz/~ftp/pub/moe/" }; $r->ParseOptions; $r->InitDist("maint/dist"); @@ -24,5 +23,5 @@ $r->Dispatch; if ($r->{"do_upload"}) { print "Updating documentation at Jabberwock\n"; - `rsync -a doc/. jabberwock.ucw.cz:www/mo-eval/`; die if $?; + `rsync -av --delete doc/. jabberwock.ucw.cz:/var/www/moe/`; die if $?; }