# Taskserv Version Registry
# This file defines version sources and update policies for taskservs

# Container runtimes
crun:
  current_version: "1.15"
  fixed: false
  source:
    type: "github"
    repo: "containers/crun"
  latest_check: ""
  detector:
    method: "command"
    command: "crun --version"
    pattern: "crun version ([\\d\\.]+)"
    capture: "capture0"
  metadata:
    category: "runtime"
    description: "OCI runtime written in C"

runc:
  current_version: "1.1.13"
  fixed: false
  source:
    type: "github"
    repo: "opencontainers/runc"
  latest_check: ""
  detector:
    method: "command"
    command: "runc --version"
    pattern: "runc version ([\\d\\.]+)"
    capture: "capture0"
  metadata:
    category: "runtime"
    description: "OCI runtime"

youki:
  current_version: "0.3.3"
  fixed: false
  source:
    type: "github"
    repo: "containers/youki"
  latest_check: ""
  metadata:
    category: "runtime"
    description: "OCI runtime written in Rust"

# Container orchestration
containerd:
  current_version: "1.7.18"
  fixed: false
  source:
    type: "github"
    repo: "containerd/containerd"
  latest_check: ""
  detector:
    method: "command"
    command: "containerd --version"
    pattern: "containerd containerd ([\\d\\.]+)"
    capture: "capture0"
  metadata:
    category: "container"
    description: "Container runtime"

crio:
  current_version: "1.29.3"
  fixed: false
  source:
    type: "github"
    repo: "cri-o/cri-o"
  latest_check: ""
  detector:
    method: "command"
    command: "crio version"
    pattern: "Version:\\s+([\\d\\.]+)"
    capture: "capture0"
  metadata:
    category: "container"
    description: "OCI-based implementation of Kubernetes CRI"

# Kubernetes
kubernetes:
  current_version: "1.30.3"
  fixed: false
  source:
    type: "github"
    repo: "kubernetes/kubernetes"
  latest_check: ""
  detector:
    method: "command"
    command: "kubectl version --client --short"
    pattern: "Client Version: v([\\d\\.]+)"
    capture: "capture0"
  metadata:
    category: "orchestration"
    description: "Kubernetes container orchestration"

# Networking
cilium:
  current_version: "v0.16.5"
  fixed: false
  source:
    type: "github"
    repo: "cilium/cilium"
  latest_check: ""
  metadata:
    category: "networking"
    description: "eBPF-based networking and security for Kubernetes"

coredns:
  current_version: "1.11.3"
  fixed: false
  source:
    type: "github"
    repo: "coredns/coredns"
  latest_check: ""
  detector:
    method: "command"
    command: "coredns -version"
    pattern: "CoreDNS-([\\d\\.]+)"
    capture: "capture0"
  metadata:
    category: "networking"
    description: "DNS server for Kubernetes"

# Storage
etcd:
  current_version: "3.5.14"
  fixed: false
  source:
    type: "github"
    repo: "etcd-io/etcd"
  latest_check: ""
  detector:
    method: "command"
    command: "etcd --version"
    pattern: "etcd Version: ([\\d\\.]+)"
    capture: "capture0"
  metadata:
    category: "storage"
    description: "Distributed reliable key-value store"

# Container registries and tools
oci-reg:
  current_version: "2.0.3"
  fixed: false
  source:
    type: "github"
    repo: "project-zot/zot"
  latest_check: ""
  metadata:
    category: "registry"
    description: "OCI container registry"

oras:
  current_version: "1.2.0-beta.1"
  fixed: false
  source:
    type: "github"
    repo: "oras-project/oras"
  latest_check: ""
  detector:
    method: "command"
    command: "oras version"
    pattern: "Version:\\s+([\\d\\.\\-\\w]+)"
    capture: "capture0"
  metadata:
    category: "registry"
    description: "OCI Registry As Storage"

# Container tools
podman:
  current_version: "4.3.1"
  fixed: false
  source:
    type: "github"
    repo: "containers/podman"
  latest_check: ""
  detector:
    method: "command"
    command: "podman --version"
    pattern: "podman version ([\\d\\.]+)"
    capture: "capture0"
  metadata:
    category: "container"
    description: "Daemonless container engine"

crictl:
  current_version: "1.30.0"
  fixed: false
  source:
    type: "github"
    repo: "kubernetes-sigs/cri-tools"
  latest_check: ""
  detector:
    method: "command"
    command: "crictl --version"
    pattern: "crictl version v([\\d\\.]+)"
    capture: "capture0"
  metadata:
    category: "container"
    description: "CLI for CRI-compatible container runtimes"

# Development tools
gitea:
  current_version: "1.22.1"
  fixed: false
  source:
    type: "github"
    repo: "go-gitea/gitea"
  latest_check: ""
  detector:
    method: "command"
    command: "gitea --version"
    pattern: "Gitea version ([\\d\\.]+)"
    capture: "capture0"
  metadata:
    category: "development"
    description: "Self-hosted Git service"