Replace template registry system with git-backed template sources
This commit is contained in:
@@ -128,11 +128,6 @@ namespace dropshell
|
||||
return dropshell_dir() + "/temp_files";
|
||||
}
|
||||
|
||||
std::string template_cache()
|
||||
{
|
||||
return dropshell_dir() + "/template_cache";
|
||||
}
|
||||
|
||||
std::string template_example()
|
||||
{
|
||||
return agent_local() + "/template_example";
|
||||
@@ -145,7 +140,6 @@ namespace dropshell
|
||||
dropshell_dir(),
|
||||
agent_local(),
|
||||
agent_remote(),
|
||||
template_cache(),
|
||||
backups(),
|
||||
temp_files()};
|
||||
for (auto &p : gConfig().get_local_server_definition_paths())
|
||||
|
||||
@@ -20,14 +20,6 @@ namespace dropshell {
|
||||
// |-- agent-remote
|
||||
// |-- (remote agent files)
|
||||
// |-- temp_files
|
||||
// |-- template_cache
|
||||
// | |-- <template_name>.json
|
||||
// | |-- <template_name>
|
||||
// | |-- (...script files...)
|
||||
// | |-- template_info.env
|
||||
// | |-- config
|
||||
// | |-- service.env
|
||||
// | |-- (...other service config files...)
|
||||
|
||||
// backups_path
|
||||
// |-- katie-_-squashkiwi-_-squashkiwi-test-_-2025-04-28_21-23-59.tgz
|
||||
@@ -49,6 +41,8 @@ namespace dropshell {
|
||||
static const std::string server_json = "server.json";
|
||||
static const std::string dropshell_json = "dropshell.json";
|
||||
static const std::string ds_run = "ds_run.sh";
|
||||
static const std::string template_paths_json = "template_paths.json";
|
||||
static const std::string dropshell_templates_list = "dropshell-templates.list";
|
||||
} // namespace filenames.
|
||||
|
||||
namespace localfile {
|
||||
@@ -77,7 +71,6 @@ namespace dropshell {
|
||||
|
||||
std::string backups();
|
||||
std::string temp_files();
|
||||
std::string template_cache();
|
||||
|
||||
bool create_directories();
|
||||
} // namespace local
|
||||
|
||||
Reference in New Issue
Block a user