From abe4ff7ccc28859a222334dd06d5b4228d8b9a8f Mon Sep 17 00:00:00 2001 From: rob thijssen Date: Thu, 16 Apr 2026 16:29:38 +0300 Subject: [PATCH] ci: publish both packages to a single helexa/helexa COPR project MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Consolidates the previous helexa/cortex and helexa/helexa-neuron COPR projects into one shared project. Hosts enable a single repo and get access to both packages — cortex for gateway hosts and helexa-neuron for GPU nodes. Reduces the "which copr do I enable on this host" friction, and makes it clear the two packages are parts of the same helexa project suite. CI keeps two independent publish jobs (copr-cortex and copr-neuron) running in parallel; they now both target helexa/helexa with their respective SRPMs. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/ci.yml | 4 ++-- CLAUDE.md | 21 +++++++++++++-------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8899a10..9968008 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -192,7 +192,7 @@ jobs: - name: Publish to COPR uses: https://git.lair.cafe/actions/copr-publish@v1 with: - project: helexa/cortex + project: helexa/helexa srpm: "*.src.rpm" copr-config: ${{ secrets.COPR_CONFIG }} @@ -209,7 +209,7 @@ jobs: - name: Publish to COPR uses: https://git.lair.cafe/actions/copr-publish@v1 with: - project: helexa/helexa-neuron + project: helexa/helexa srpm: "*.src.rpm" copr-config: ${{ secrets.COPR_CONFIG }} diff --git a/CLAUDE.md b/CLAUDE.md index 20f56c3..db353ea 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -595,19 +595,24 @@ placement matching can be added incrementally. Completed. Both packages have RPM specs, systemd units, and example configs. CI builds parallel SRPMs on tag push and publishes to separate COPR repos. -- `cortex.spec` → `helexa/cortex` COPR: binary, systemd unit, config files -- `helexa-neuron.spec` → `helexa/helexa-neuron` COPR: binary, systemd unit, - config. Package renamed from `neuron` to avoid collision with Fedora's - NEURON neural-simulation package (https://src.fedoraproject.org/rpms/neuron); - binary, systemd unit, system user, and config dir stay as `neuron`. +- `cortex.spec` — installs the `cortex` binary. Package name keeps the + short `cortex` because no Fedora package collides with it. +- `helexa-neuron.spec` — installs the `neuron` binary under package name + `helexa-neuron`. Renamed from bare `neuron` to avoid collision with + Fedora's NEURON neural-simulation package + (https://src.fedoraproject.org/rpms/neuron); binary, systemd unit, + system user, and config dir all stay named `neuron` since those are + project-local contexts. - `data/cortex.service`, `data/neuron.service` — systemd units - `cortex.example.toml`, `neuron.example.toml`, `models.example.toml` -- CI: parallel `srpm-cortex` + `srpm-neuron` jobs, then parallel COPR publish +- CI: parallel `srpm-cortex` + `srpm-neuron` jobs, then parallel COPR + publish to a single project `helexa/helexa` hosting both packages. Install: ```sh -dnf copr enable helexa/cortex && dnf install cortex # gateway host -dnf copr enable helexa/helexa-neuron && dnf install helexa-neuron # GPU nodes +dnf copr enable helexa/helexa +dnf install cortex # gateway host +dnf install helexa-neuron # GPU nodes ``` ### Phase 11: llama.cpp harness stub