Add project registry refresh foundation
This commit is contained in:
@@ -21,6 +21,7 @@ class Settings(BaseSettings):
|
||||
log_dir: Path = Path("./logs")
|
||||
backup_dir: Path = Path("./backups")
|
||||
run_dir: Path = Path("./run")
|
||||
project_registry_path: Path = Path("./config/project-registry.json")
|
||||
host: str = "127.0.0.1"
|
||||
port: int = 8100
|
||||
|
||||
@@ -91,6 +92,10 @@ class Settings(BaseSettings):
|
||||
return self._resolve_path(self.resolved_data_dir.parent / "run")
|
||||
return self._resolve_path(self.run_dir)
|
||||
|
||||
@property
|
||||
def resolved_project_registry_path(self) -> Path:
|
||||
return self._resolve_path(self.project_registry_path)
|
||||
|
||||
@property
|
||||
def machine_dirs(self) -> list[Path]:
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user