provisioning/core/versions.k
Jesús Pérez 3c3ef47f7f
feat(taskserv): implement real-time version checking with configurable HTTP client
- Add: GitHub API integration for live version checking in taskserv management
- Add: HTTP client configuration option (http.use_curl) in config.defaults.toml
- Add: Helper function fetch_latest_version with curl/http get support
- Fix: Settings path structure for prov_data_dirpath access pattern
- Remove: Legacy simulation code for version checking
- Update: Core configuration name from "provisioning-system" to "provisioning"
- Clean: Remove obsolete example configs and infrastructure files
2025-09-24 01:55:06 +01:00

71 lines
2.4 KiB
Plaintext

import version as prv_schema
# Core tools versions for provisioning system as array
# Converted from individual declarations to array of TaskservVersion items
core_versions: [prv_schema.TaskservVersion] = [
prv_schema.TaskservVersion {
name = "nushell"
version = prv_schema.Version {
current = "0.107.1"
source = "https://github.com/nushell/nushell/releases"
tags = "https://github.com/nushell/nushell/tags"
site = "https://www.nushell.sh/"
check_latest = False # Pinned for system stability
grace_period = 86400
}
dependencies = []
}
prv_schema.TaskservVersion {
name = "kcl"
version = prv_schema.Version {
current = "0.11.2"
source = "https://github.com/kcl-lang/cli/releases"
tags = "https://github.com/kcl-lang/cli/tags"
site = "https://kcl-lang.io"
check_latest = False # Pinned for system stability
grace_period = 86400
}
dependencies = []
}
prv_schema.TaskservVersion {
name = "sops"
version = prv_schema.Version {
current = "3.10.2"
source = "https://github.com/getsops/sops/releases"
tags = "https://github.com/getsops/sops/tags"
site = "https://github.com/getsops/sops"
check_latest = False # Pinned for encryption compatibility
grace_period = 86400
}
dependencies = ["age"]
}
prv_schema.TaskservVersion {
name = "age"
version = prv_schema.Version {
current = "1.2.1"
source = "https://github.com/FiloSottile/age/releases"
tags = "https://github.com/FiloSottile/age/tags"
site = "https://github.com/FiloSottile/age"
check_latest = False # Pinned for encryption compatibility
grace_period = 86400
}
dependencies = []
}
prv_schema.TaskservVersion {
name = "k9s"
version = prv_schema.Version {
current = "0.50.6"
source = "https://github.com/derailed/k9s/releases"
tags = "https://github.com/derailed/k9s/tags"
site = "https://k9scli.io/"
check_latest = True # Can auto-update for CLI tools
grace_period = 86400
}
dependencies = []
}
]