Marcus Whybrow
51e072f92a
Updated travis to only test the master branch.
2012-06-18 01:59:57 +01:00
Marcus Whybrow
2429752c68
Improved command registration to deal with erroneous regexes.
2012-06-18 01:53:35 +01:00
Marcus Whybrow
0f2f9b6a7f
Bumped version to 0.2.7
2012-06-17 23:00:06 +01:00
Marcus Whybrow
dc2eb43af5
Merged refactoring into master.
2012-06-17 22:52:35 +01:00
Marcus Whybrow
9722741358
Fixed failure when listing no jar groups.
2012-06-17 22:42:30 +01:00
Marcus Whybrow
1f4afb2368
Updated version command to display the correct version.
2012-06-17 22:26:54 +02:00
Marcus Whybrow
4f51ee8446
Prevented errors when listing no jar groups.
2012-06-12 03:16:41 +01:00
Marcus Whybrow
6ba90f44ed
Prevented automatic download of jar group files when created
2012-06-12 03:15:56 +01:00
Marcus Whybrow
583bc04c5f
Added tests for jar group creation and listing
2012-06-12 03:14:43 +01:00
Marcus Whybrow
17221b3aa4
Improved jargroup_list loop code to better handle spaces.
2012-06-12 02:14:15 +01:00
Marcus Whybrow
c932bab672
Finished refactoring commands into a registration type system.
2012-06-12 02:02:20 +01:00
Marcus Whybrow
1a5a192f71
WIP commit on refactoring command registration.
...
Removes the repetitive and gigantic case statement, and adds a
register_command function. This function generates a regex for matching
that command and a handler function to call.
The entry point into the script now matches the user input against a
regex and calls the handler function.
2012-06-11 19:25:31 +01:00
Marcus Whybrow
a4fb3800e8
Fixes #17 . Typo preventing server level override of the CONFIRM_SAVE_ALL and CONFIRM_START settings.
2012-06-11 19:18:37 +01:00
Marcus Whybrow
423fcae2b7
Fixed a formatting error.
2012-06-08 05:20:31 +02:00
Marcus Whybrow
188203d9ef
Added GPLv3 lincense to the project.
2012-06-08 04:18:01 +01:00
Marcus Whybrow
0e025a8b8f
Updated change log.
2012-06-07 16:13:55 +01:00
Marcus Whybrow
9447124b58
Added support for "all" server name. Fixes #16 .
...
Using "all" executes a command for all servers.
2012-06-07 14:22:27 +01:00
Marcus Whybrow
de473cc75f
Added a Flattr button to the README.
2012-06-06 04:53:26 +02:00
Marcus Whybrow
3078840d8f
Added specific helpful error messages for commands. Closes #10 .
2012-06-06 03:12:08 +01:00
Marcus Whybrow
f41216d5dd
Added Travis CI build status image to the README.
2012-06-06 01:50:29 +01:00
Marcus Whybrow
2e4d5e6596
Removed the troublesome "phpenv.sh" script.
2012-06-06 01:39:10 +01:00
Marcus Whybrow
21bda9d0e3
Added list of other profile.d scripts.
2012-06-06 01:36:40 +01:00
Marcus Whybrow
5d414e508c
Added cash version to build script output.
...
Also added the output of a script which is giving me trouble in the
Travis CI worker.
2012-06-06 01:31:21 +01:00
Marcus Whybrow
d647990e86
Updated test.sh
to not set the group of the test conf file.
2012-06-06 01:11:56 +01:00
Marcus Whybrow
10e1c77a6f
Updated test.sh
to only chown the user and not the group of the test directory.
2012-06-06 01:08:42 +01:00
Marcus Whybrow
24c25dfc78
Updated .travis.yml to create a "minecraft" user before testing.
...
Also removed the "apt-get update" command to see if we can do without
it.
2012-06-06 00:58:40 +01:00
Marcus Whybrow
7fbadc2502
Fixed the .travis.yml file again.
...
This should skip the python install step now, and should also run the
test script.
2012-06-06 00:43:36 +01:00
Marcus Whybrow
2aedc5a19f
Updated the .travis.yml file to hopefully work.
...
Added the "install" key and added "sudo" for starting the test script.
2012-06-06 00:31:52 +01:00
Marcus Whybrow
22278b516f
Changed Travis language to Python
...
Using Java didn't use the "script" setting for running tests. The
Python language version does.
2012-06-06 00:27:07 +01:00
Marcus Whybrow
a283b003b9
Added a .travis.yml file for Travis CI configuration.
2012-06-06 00:16:39 +01:00
Marcus Whybrow
93ba2c12f4
Fixed a bug where tail processes would not die.
2012-06-05 23:18:40 +01:00
Marcus Whybrow
a7aee94e63
Upgraded version to 0.2.5 Beta
2012-06-05 22:53:06 +01:00
Marcus Whybrow
e2e8aa5492
Fixed a bug where the wrong error code was returned.
...
When specifying a server name which did not exist the NAME_NOT_FOUND
error code was suppressed.
2012-06-05 22:39:50 +01:00
Marcus Whybrow
787765b95f
Added tests for renaming stopped servers.
2012-06-05 22:38:21 +01:00
Marcus Whybrow
45b05bcffc
Added a test for deleting an existing server.
2012-06-05 21:27:42 +01:00
Marcus Whybrow
67e73f2b4e
Added helper functions which set variables for script tests.
2012-06-05 21:08:23 +01:00
Marcus Whybrow
c79efe0abd
Added explanatory exit codes to the script.
...
These codes are used by `test.sh` to better analyse whether an action
was successful or not.
2012-06-05 19:40:32 +01:00
Marcus Whybrow
4addb6dd9a
Improved server creation to not require the "minecraft" jar group to be present.
2012-06-05 19:39:22 +01:00
Marcus Whybrow
af15359935
Moved test function to correct section.
2012-06-05 01:43:17 +01:00
Marcus Whybrow
b0477de67b
Added comment sections for all interaction points.
2012-06-05 01:41:18 +01:00
Marcus Whybrow
e5e38fc8e2
Added test for deleting a server that does not exist.
2012-06-05 01:40:28 +01:00
Marcus Whybrow
8a6d8ba892
Added a test for creating duplicate server names.
2012-06-05 01:38:33 +01:00
Marcus Whybrow
5c2965cba7
Changed a directory test to look specifically for a directory.
2012-06-05 01:31:49 +01:00
Marcus Whybrow
524f22f781
Added tests for invalid and edge case server names.
2012-06-05 00:50:24 +01:00
Marcus Whybrow
e2d37a3c1c
Fixed a bug which prevented valid server names containing a reserved world.
2012-06-05 00:50:01 +01:00
Marcus Whybrow
45ee034f2c
Added a test for invalid server names.
2012-06-05 00:09:54 +01:00
Marcus Whybrow
63af7c7c1b
Added a test for creating a server after the "miencraft" jar group is present.
2012-06-04 21:52:13 +01:00
Marcus Whybrow
330bc72d01
Moved test oneTimeSetup code to execute for each test.
...
Now the conf file is created fresh for each test.
2012-06-04 21:51:49 +01:00
Marcus Whybrow
819d09b744
Added test fro creating a server without any jar groups present.
2012-06-04 21:42:08 +01:00
Marcus Whybrow
905cb2494a
Added test.sh which runs unit tests.
2012-06-04 21:41:22 +01:00