Add: Start govel build packages
This commit is contained in:
parent
865ec5def5
commit
c26fcdc1db
18 changed files with 37 additions and 26 deletions
28
erminig/core/config.py
Normal file
28
erminig/core/config.py
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#
|
||||
# Erminig - Configuration de l'application
|
||||
# Copyright (C) 2025 L0m1g
|
||||
# Sous licence DOUARN - Voir le fichier LICENCE pour les détails
|
||||
#
|
||||
# Ce fichier fait partie du projet Erminig.
|
||||
# Libre comme l’air, stable comme un menhir, et salé comme le beurre.
|
||||
#
|
||||
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
class Config:
|
||||
LIB_DIR = Path("/var/lib/erminig")
|
||||
CACHE_DIR = Path("/var/cache/erminig")
|
||||
BASE_DIR = Path("/opt/erminig")
|
||||
DB_PATH = LIB_DIR / "erminig.db"
|
||||
PAKVA_DIR = LIB_DIR / "pakva"
|
||||
GOVEL_DIR = LIB_DIR / "govel"
|
||||
REPO_DIR = LIB_DIR / "keo"
|
||||
BUILD_DIR = Path("/tmp/erminig/build")
|
||||
PAK_USER = "pak"
|
||||
|
||||
GITHUB_TOKEN = os.environ.get("GITHUB_TOKEN")
|
||||
|
||||
RETRY_MAX_ATTEMPTS = 2 # Pour toutes les opérations réseau
|
||||
RETRY_DELAY_SECONDS = 2
|
||||
Loading…
Add table
Add a link
Reference in a new issue