From a473eaa72ecb278c717c51233479b383da3d7ead Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 14 Feb 2014 02:38:21 +0100 Subject: [PATCH] Add config for installing mainland services --- workspace/projects.py | 13 +++- .../shard/data_game_share/directories.py | 66 +++++++++++++++++++ workspace/shard/data_game_share/process.py | 44 +++++++++++++ 3 files changed, 121 insertions(+), 2 deletions(-) create mode 100644 workspace/shard/data_game_share/directories.py create mode 100644 workspace/shard/data_game_share/process.py diff --git a/workspace/projects.py b/workspace/projects.py index bc35330..f6fc620 100644 --- a/workspace/projects.py +++ b/workspace/projects.py @@ -52,6 +52,7 @@ ProjectsToProcess += [ "common/cfg" ] # Shard specific ProjectsToProcess += [ "shard/data_shard" ] ProjectsToProcess += [ "shard/data_language" ] +ProjectsToProcess += [ "shard/data_game_share" ] # Ecosystem projects ProjectsToProcess += [ "ecosystems/desert" ] @@ -69,12 +70,13 @@ ProjectsToProcess += [ "continents/indoors" ] # Note: must be after other contin InstallShardDataDirectories = [ ] +InstallShardDataDirectories += [ "data_game_share" ] InstallShardDataDirectories += [ "data_common" ] InstallShardDataDirectories += [ "data_language" ] # [ [ "", [ "", "" ] ] ] target_dir under shard data, source_dir under install InstallShardDataMultiDirectories = [ ] -InstallShardDataMultiDirectories += [ [ "cfg", [ "data_shard" ] ] ] +InstallShardDataMultiDirectories += [ [ "cfg", [ ] ] ] # [ "data_shard" ] ] ] InstallShardDataMultiDirectories += [ [ "data_newbieland", [ "newbieland_ai", "newbieland_ig", "newbieland_pacs" ] ] ] InstallShardDataMultiDirectories += [ [ "data_indoors", [ "indoors_ai", "indoors_ig", "indoors_pacs" ] ] ] InstallShardDataMultiDirectories += [ [ "data_pacs_prim", [ "desert_pacs_prim", "jungle_pacs_prim", "lacustre_pacs_prim", "primes_racines_pacs_prim" ] ] ] @@ -86,11 +88,18 @@ InstallShardDataPrimitivesDirectories += [ [ "data_newbieland_primitives", [ "ne # [ [ "", [ "", "" ], [ "", "" ], [ "", "" ] ] ] InstallShardDataExecutables = [ ] +# Unifier InstallShardDataExecutables += [ [ "service_ryzom_admin_service", [ "ryzom_admin_service", "ryzom_admin_service" ], [ "ryzom_as.cfg" ], [ ] ] ] -InstallShardDataExecutables += [ [ "service_shard_unifier_service", [ "shard_unifier_service", "ryzom_shard_unifier_service" ], [ "shard_unifier_service.cfg" ], [ ] ] ] +InstallShardDataExecutables += [ [ "service_shard_unifier_service", [ "shard_unifier_service", "ryzom_shard_unifier_service" ], [ "shard_unifier_service.cfg" ], [ "data_shard/reserved_names.xml", "data_shard/dev_gm_names.xml" ] ] ] InstallShardDataExecutables += [ [ "service_mail_forum_service", [ "mail_forum_service", "ryzom_mail_forum_service" ], [ "mail_forum_service.cfg" ], [ ] ] ] InstallShardDataExecutables += [ [ "service_logger_service", [ "logger_service", "ryzom_logger_service" ], [ "logger_service.cfg" ], [ ] ] ] InstallShardDataExecutables += [ [ "service_backup_service", [ "backup_service", "ryzom_backup_service" ], [ "backup_service.cfg" ], [ ] ] ] +# Mainland +InstallShardDataExecutables += [ [ "service_ryzom_naming_service", [ "ryzom_naming_service", "ryzom_naming_service" ], [ "naming_service.cfg" ], [ ] ] ] +InstallShardDataExecutables += [ [ "service_ryzom_welcome_service", [ "ryzom_welcome_service", "ryzom_welcome_service" ], [ "welcome_service.cfg" ], [ ] ] ] +InstallShardDataExecutables += [ [ "service_tick_service", [ "tick_service", "ryzom_tick_service" ], [ "welcome_service.cfg" ], [ ] ] ] +InstallShardDataExecutables += [ [ "service_mirror_service", [ "mirror_service", "ryzom_mirror_service" ], [ "mirror_service.cfg" ], [ ] ] ] +InstallShardDataExecutables += [ [ "service_input_output_service", [ "input_output_service", "ryzom_ios_service" ], [ "input_output_service.cfg" ], [ ] ] ] InstallClientData = [ ] diff --git a/workspace/shard/data_game_share/directories.py b/workspace/shard/data_game_share/directories.py new file mode 100644 index 0000000..4001699 --- /dev/null +++ b/workspace/shard/data_game_share/directories.py @@ -0,0 +1,66 @@ +#!/usr/bin/python +# +# \file directories.py +# \brief Directories configuration +# \date 2014-02-13 20:32GMT +# \author Jan Boon (Kaetemi) +# Python port of game data build pipeline. +# Directories configuration. +# +# NeL - MMORPG Framework +# Copyright (C) 2014 by authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + +from buildsite import * +import os + +# *** COMMON NAMES AND PATHS *** +CommonName = "data_game_share" +CommonPath = "shard/" + CommonName + + +# *** DIRECT SOURCE DIRECTORIES *** + +# Copy dir directories +CopyDirectSourceDirectories = [ ] +CopyDirectSourceFiles = [ ] +fileList = os.listdir(DataShardDirectory + "/mirror_sheets") +for fileName in fileList: + if fileName != ".svn" and fileName != ".." and fileName != "." and fileName != "*.*": + if fileName.endswith(".dataset"): + CopyDirectSourceFiles += [ DataShardDirectory + "/mirror_sheets/" + fileName ] + + +# *** SOURCE DIRECTORIES IN LEVELDESIGN *** +CopyLeveldesignSourceDirectories = [ ] +CopyLeveldesignSourceFiles = [ ] +CopyLeveldesignWorldSourceDirectories = [ ] +CopyLeveldesignWorldSourceFiles = [ ] +CopyLeveldesignDfnSourceDirectories = [ ] +CopyLeveldesignDfnSourceFiles = [ ] + + +# *** SOURCE DIRECTORIES IN THE DATABASE *** + +# Copy dir directories +CopyDatabaseSourceDirectories = [ ] +CopyDatabaseSourceFiles = [ ] + + +# *** INSTALL DIRECTORIES IN THE CLIENT DATA *** + +# Common data install directory +CopyInstallDirectory = CommonName diff --git a/workspace/shard/data_game_share/process.py b/workspace/shard/data_game_share/process.py new file mode 100644 index 0000000..cf707f0 --- /dev/null +++ b/workspace/shard/data_game_share/process.py @@ -0,0 +1,44 @@ +#!/usr/bin/python +# +# \file config.py +# \brief Process configuration +# \date 2014-02-13 20:32GMT +# \author Jan Boon (Kaetemi) +# Python port of game data build pipeline. +# Process configuration. +# +# NeL - MMORPG Framework +# Copyright (C) 2014 by authors +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + +# *** PROCESS CONFIGURATION *** + +# *** PROCESS CONFIG *** +ProcessToComplete = [ ] +ProcessToComplete += [ "copy" ] + + +# *** COMMON NAMES AND PATHS *** +CommonName = "data_game_share" +CommonPath = "shard/" + CommonName + + +# *** PACS PRIM LIST OPTIONS *** + + +# *** COPY DIR OPTIONS *** + +