Commit graph

6 commits

Author SHA1 Message Date
Erik Ogenvik
252d8bfe4e Wait for deletion before starting import. 2014-09-10 21:51:43 +02:00
Erik Ogenvik
6e53159d71 Properly separate write and read buffers. 2014-02-04 22:24:27 +01:00
Erik Ogenvik
a4f806830a Added flag for resuming world. 2013-11-24 23:46:02 +01:00
Erik Ogenvik
28ced0076e Adjusted logging. 2013-11-24 23:10:04 +01:00
Erik Ogenvik
a8d71e5493 Check if world already is populated first.
We first check if there's any non-transient entity apart from the root
world. If so, the world is already is populated and we won't import;
unless the user supplied either the flag "--clean" which will reset the
world, or "--merge" which will try to merge the entities in the
specified file with the content of the server. Note that the "merge"
strategy in most cases will create duplicates of any existing entity.
2013-11-24 13:27:45 +01:00
Erik Ogenvik
b3d4445104 Added "cyimport" tool for importing.
This uses the same importing code as Ember, and allows for import of
both entities, minds and types. The code in EntityImporterBase.*
should be kept synchronized with the Ember version.
This is provided as a new command, instead of added to the existing
cycmd executable. This is by design, to make it easier for users.
Export and import of entities are one of the most basic functions,
especially for any new user, and should therefore be provided as easy as
possible.
2013-11-14 22:26:59 +01:00