Commit Graph

239 Commits

Author SHA1 Message Date
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
Marcus Whybrow
738c2b9e87 Prevented error when no servers have been created. 2012-06-04 21:40:33 +01:00
Marcus Whybrow
d9da25cc0e Ignore directories starting with an underscore. 2012-06-04 21:08:03 +01:00
Marcus Whybrow
5e852c42ec Allowed CONF to be overwritten by environment variable "MSM_CONF". 2012-06-04 21:07:29 +01:00
Marcus Whybrow
edae00b103 Added double quotations around all variables which may contain spaces. Fixes #14.
Thanks to @Jonek01 for spotting this was causing a problem when
starting a server with a world name containing a space.
2012-06-04 17:37:56 +01:00
Marcus Whybrow
f15ddf5073 Fixed mistake in changelog maintainer link. 2012-06-03 14:01:07 +01:00
Marcus Whybrow
bfe7c101f0 Updated version and change log to "0.2.4". 2012-06-03 13:57:55 +01:00
Marcus Whybrow
be283e91f6 Running servers can no longer be renamed. Fixes #11. 2012-06-03 13:55:11 +01:00
Marcus Whybrow
f1f0e78fec Added links to change log section 0.2.3 for issues and the user "Jonek01". 2012-06-03 13:44:21 +01:00
Marcus Whybrow
1534731862 Added 0.2.3 to the change log. 2012-06-03 13:39:07 +01:00
Marcus Whybrow
07a185d535 Updated the version to "0.2.3 Beta". 2012-06-03 13:34:32 +01:00
Marcus Whybrow
cd81955628 Fixes #12 thanks to @Jonek01 for spotting the problem. 2012-06-03 13:33:42 +01:00
Marcus Whybrow
09acae397c Fixes #13 thanks to @Jonek01 for spotting the problem. 2012-06-03 13:33:16 +01:00
Marcus Whybrow
ad0a8fb3e3 Added "msm version" command. 2012-06-02 21:02:58 +01:00
Marcus Whybrow
6cc19b8ea1 Added a changelog.
Covers preceding versions.
2012-06-02 20:33:16 +01:00
Marcus Whybrow
a7978d535c Implemented a server "worlds on|off" command.
Moves a world between the "worldstorage" and "worldstorage_inactive"
directories. Inactive worlds do not get loaded (symlinked) or backed up
etc. but are include in complete server backups.

Bit of a monster commit here, refactored the init code to bring this
change.
2012-06-02 19:11:33 +01:00
Marcus Whybrow
bfe1e07d64 Replaced tabs with space in help output.
It's just easier to read and work with in the source code.
2012-06-01 09:07:18 +01:00
Marcus Whybrow
1af585f19c Put quote marks around config source. 2012-06-01 09:06:24 +01:00