134 Commits

Author SHA1 Message Date
Ignacio R. Morelle
548efbbf97 send_campaignd_command: Add to repository 2015-04-24 23:57:39 -03:00
Ignacio R. Morelle
2c625b6d9d update_server: boost_prefix=-mt isn't good for gonzo anymore 2014-11-22 05:09:01 -03:00
Ignacio R. Morelle
d95b181eaa update_server: Show locations of scons' output 2014-11-22 04:31:18 -03:00
Ignacio R. Morelle
0e9f0a0ef0 Revert "create_symlinks: Make an exception for 1.10"
This reverts commit d4f7ebc8edccb11c511f5199d81b0a24af43716c.
2014-10-30 00:12:57 -03:00
Ignacio R. Morelle
d4f7ebc8ed create_symlinks: Make an exception for 1.10 2014-10-29 21:38:44 -03:00
Ignacio R. Morelle
11c1976a3b Fix thread count setting for 1.9 wesnothd and add one for 1.12 2014-10-29 21:31:36 -03:00
Ignacio R. Morelle
050aab785c Revert "new_release: Workaround race condition in wesnothd SIGHUP handler"
This reverts commit 62eb55a5a712b3e2157cf7fc0bb12873c4f0a574, since it
was superseded by a real fix in 6629fdf64e7db529db574f2f8f6600ebd797d5ff.
2014-06-26 19:44:39 -04:00
Ignacio R. Morelle
62eb55a5a7 new_release: Workaround race condition in wesnothd SIGHUP handler
If we try to send a message immediately after signaling SIGHUP to
wesnothd, it won't get caught by wesnothd, probably because the control
socket is being reopened just as the message arrives. Thus, we need a 1
second delay after the signal.

This was fixed in production a while ago but I forgot to commit the
change.
2014-06-12 18:17:31 -04:00
Ignacio R. Morelle
912456bf29 send_server_command: Fix issues with screen stuff command not working
At least on baldras' version of screen, the stuff command argument here
absolutely needs to be wrapped in single or double quotes to work.

I actually fixed this months ago but forgot to commit.
2014-06-12 18:15:03 -04:00
Ignacio R. Morelle
1a1ccea4cb update_server: 1.11 is the 1.12 branch 2014-06-12 17:21:34 -04:00
Ignacio R. Morelle
090f8bf0cb update_server: Build from master if the $VERISON is not recognized 2014-06-12 17:21:34 -04:00
Ignacio R. Morelle
e122da96e4 update_server: Use $HOME/source for SOURCE_ROOT
... instead of hardcoding a path in /usr. This should let server2 and
server3 use an unmodified copy of the script.
2014-06-11 22:53:38 -04:00
Ignacio R. Morelle
284300cde9 update_server: Rewrote about 50% of the script, now works with RO checkouts
* Using scons -Y to point scons to a source tree that might be
   read-only for the user building campaignd/wesnothd (as is the case on
   baldras).
 * Renamed or changed several variables for clarity.
 * As a side-effect, links within the server instance dir are now
   absolute rather than relative (/home/wesnoth/build/foo/bar instead of
   ../../build/foo/bar).
 * ~/builds-int/<version> is the intermediate build directory
 * ~/builds/<build-id> remains as the target directory
 * /usr/src/wesnoth is the source directory base (we need to handle
   basilic and gonzo separately later)

I'm fairly sure nobody other than me could possibly demand a more
detailed description of this commit.
2014-06-08 22:52:06 -04:00
Ignacio R. Morelle
b6ce79e634 update_server: The 1.12 branch now exists 2014-03-10 17:00:10 -03:00
Ignacio R. Morelle
d4fad10ab6 run_server: 30 threads for 1.10, not 1.9 2014-02-21 06:02:03 -03:00
Ignacio R. Morelle
0540b987c2 run_server: Use more threads for 1.9 (32), less threads for 1.8 (8) 2014-02-21 05:52:25 -03:00
Ignacio R. Morelle
8aa1c0e1f2 run_campaignd: Use 4 threads for 1.9 or 1.12 only 2014-02-21 05:50:03 -03:00
Ignacio R. Morelle
230fa23f9e Update run_campaignd script from production 2014-02-08 08:04:17 -03:00
Ignacio R. Morelle
7e7a32447e Update run_server script from production 2014-02-08 08:02:45 -03:00
Ignacio R. Morelle
01a6a3bb1d Update new_release script from production 2014-02-08 08:00:35 -03:00
Ignacio R. Morelle
6cad834573 Updated logfilter_irc* scripts with the current production versions 2014-02-08 07:59:25 -03:00
Ignacio R. Morelle
c6c0979800 Update create_symlinks script from production 2014-02-08 07:57:49 -03:00
Ignacio R. Morelle
639e78c4c1 Update tail_log_irc script from production
Removed a "fix the script" message.
2014-02-08 07:56:57 -03:00
Ignacio R. Morelle
ffc43a10e4 Update send_server_command with code changes from production
They mostly seem to be code cleanups or style changes, plus the hack to
try to start the irc echo for the old instance after restarting... which
doesn't seem to be working.
2014-02-08 07:55:23 -03:00
Ignacio R. Morelle
425cce189f Long overdue update to the update_server script to match production
* Added code for handling 1.8 and 1.10
 * Don't use libana for Wesnoth versions that include it (1.9.x)
 * We now use Git, not SVN. The downstream repository is managed
   externally, so we need to update a git-new-workdir checkout every
   time we want to build.
 * Other nondescript changes

(Apologies for the horrible commit message, but it looks like there was
more than my own changes awaiting to be committed.)
2014-02-08 07:48:41 -03:00
Eric S. Raymond
7f85fa000c The git transition.
Most references to and dependencies on Subversion have been removed.
"+svn" is now "+dev". Files that can't be fixed yet have a FIXME-GIT
comment in them; most of these are in the website tests.
2013-03-26 10:44:47 -04:00
Gunter Labes
157c1d5c9f change the test port from 15001 to 14990 2009-11-09 20:18:28 +00:00
Gunter Labes
5ed2a1f9e7 corrected symbolic link source 2009-10-14 20:57:58 +00:00
Gunter Labes
d991db88ff handle the mod filter differently 2009-08-12 03:10:53 +00:00
Gunter Labes
a38e7d8ec5 on the alternates use trunk as the dev server...
...and always show logged on/off messages
2009-07-28 21:27:34 +00:00
Gunter Labes
49045345e7 added some logfilter scripts needed by tail_log_irc 2009-07-28 15:28:07 +00:00
Gunter Labes
f04947d6d4 added a script to tail server log files 2009-07-28 15:13:49 +00:00
Gunter Labes
79f34fa53a added some more fatal exit codes 2009-07-13 19:55:39 +00:00
Gunter Labes
fee0c34b87 properly set CXXFLAGS and LDFLAGS 2009-06-16 00:56:24 +00:00
Gunter Labes
d8f56708b9 check for running jobs only 2009-06-08 20:03:30 +00:00
Gunter Labes
d6454595ee screw quoting 2009-05-29 14:21:24 +00:00
Gunter Labes
fa56679a93 fixed quoting for the alternate servers as well 2009-05-29 00:52:18 +00:00
Gunter Labes
8c25099e3e various tweaks/fixes after testing 2009-05-27 20:52:32 +00:00
Gunter Labes
862bf66f20 pacify set -u 2009-05-26 16:56:35 +00:00
Gunter Labes
c4b9f374d7 check if the process died immediately...
...before moving symlinks, etc. to the new instance
2009-05-26 16:42:10 +00:00
Gunter Labes
2efa85cfc6 rewrite for better robustness and portability 2009-05-26 13:39:22 +00:00
Gunter Labes
78884d5543 added a script to create some convenient symlinks 2009-05-23 22:25:00 +00:00
Gunter Labes
6eedb15c65 made use of the readlink command 2009-05-23 22:24:45 +00:00
Gunter Labes
e24d0012c3 made script more portable and removed bash requirement 2009-05-23 13:26:51 +00:00
Gunter Labes
7c61088e82 removed some bashisms 2009-05-23 13:26:18 +00:00
Gunter Labes
cd61f3f95e added a check for the GPL 2009-05-19 19:02:13 +00:00
Gunter Labes
55d9c688e1 consistently quote variables that may have spaces in them 2009-05-18 22:15:18 +00:00
Gunter Labes
77c53db3ae minor readability tweaks 2009-05-16 14:21:06 +00:00
Gunter Labes
bc01f2b041 typo fix 2009-04-15 07:44:44 +00:00
Gunter Labes
8d4b01ed68 first rotate the pid file then write the new PID to it 2009-04-14 20:36:39 +00:00