[PATCH 00/12] linux-mirror fixes

Daniel Gomez <[email protected]> Thu, 06 Nov 2025 23:35:54 +0100
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
This series fixes linux-mirror kdevops module and adds (fixes)
cross-distribution NFS support.

Testing was done on Debian arm64 and x86_64 with system-level mirrors
running as root, verifying NFS server setup, mirror-status output, and
all systemd timer/service functionality.

Also, add human readable output support through DIY for make
mirror-status. Example:

TASK: Display mirror service status [localhost]
Mirror: blktests
  Service: blktests-mirror.service
  State: inactive
  Enabled: enabled
Mirror: blktrace
  Service: blktrace-mirror.service
  State: inactive
  Enabled: enabled
...

TASK: Check systemd unit status for mirror timers [localhost]
⠀⠀✓ [localhost]
TASK: Display mirror timer status [localhost]
Mirror: blktests
  Timer: blktests-mirror.timer
  State: active
  Enabled: enabled
Mirror: blktrace
  Timer: blktrace-mirror.timer
  State: active
  Enabled: enabled
...

The series also strengthens CLAUDE.md commit guidelines through
consolidation and improved formatting to prevent rule violations. The
guidelines were iteratively refined and validated through consistent
application across all commits in this series.

Signed-off-by: Daniel Gomez <[email protected]>
---
Daniel Gomez (12):
      CLAUDE.md: consolidate and strengthen commit guidelines
      linux-mirror: fix missing systemd timers for five git repositories
      linux-mirror: migrate all mirror makefile vars to kconfig
      linux-mirror: remove mirror from automatic make execution
      gen-hosts: convert python interpreter vars to Kconfig
      linux-mirror: fix tag status-check -> mirror-status
      linux-mirror: fix systemd scope for mirror-status when running as root
      linux-mirror: fix variable path in mirror-status debug tasks
      linux-mirror: ensure proper ownership for system-level mirrors
      linux-mirror: add distribution-specific NFS server support
      mirror: fix firewalld status check to prevent spurious failures
      linux-mirror: add formatted output for mirror-status display

 CLAUDE.md                                          |  75 ++++++++++++-
 Makefile.linux-mirror                              |  19 ----
 kconfigs/Kconfig.ansible_provisioning              |   2 +
 kconfigs/Kconfig.defaults                          |   8 ++
 kconfigs/Kconfig.mirror                            |  23 +++-
 playbooks/roles/linux-mirror/defaults/main.yml     |  34 ++++--
 .../tasks/install-deps/nfs/debian/main.yml         |   9 ++
 .../linux-mirror/tasks/install-deps/nfs/main.yml   |  15 +++
 .../tasks/install-deps/nfs/redhat/main.yml         |   9 ++
 .../tasks/install-deps/nfs/suse/main.yml           |   9 ++
 playbooks/roles/linux-mirror/tasks/main.yml        | 123 ++++++++++++++++-----
 .../roles/linux-mirror/templates/mirrors.yaml.j2   |  20 ++--
 playbooks/roles/nix-cache-mirror/tasks/main.yml    |   3 +-
 scripts/gen-hosts.Makefile                         |   2 -
 14 files changed, 273 insertions(+), 78 deletions(-)
---
base-commit: 0dde23a52140a97c1e67fa2f13b2eb9682cf96e1
change-id: 20251106-mirror-fixes-26bee4ad8798

Best regards,
-- 
Daniel Gomez <[email protected]>