feat: publish classifications from Forgejo
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a053ff-1d6f-7fe2-ac1c-a6eb40a42a0c
This commit is contained in:
parent
738d407bb7
commit
fd624021ec
12 changed files with 2000 additions and 47 deletions
12
Makefile
12
Makefile
|
|
@ -1,7 +1,10 @@
|
|||
# Repo Manager — local developer targets (RMGR-ADR-001)
|
||||
UV ?= $(shell command -v uv 2>/dev/null || if [ -x "$$HOME/.local/bin/uv" ]; then printf "%s" "$$HOME/.local/bin/uv"; else printf "%s" "uv"; fi)
|
||||
|
||||
.PHONY: help install test lint cli-version publisher-run publisher-snapshot
|
||||
.PHONY: help install test lint cli-version publisher-run publisher-snapshot container-build
|
||||
|
||||
IMAGE_REPOSITORY ?= forgejo.coulomb.social/coulomb/repo-manager
|
||||
IMAGE_TAG ?= dev
|
||||
|
||||
help:
|
||||
@echo "Repo Manager targets:"
|
||||
|
|
@ -10,6 +13,7 @@ help:
|
|||
@echo " make cli-version # rmgr --version"
|
||||
@echo " make publisher-run # serve the read-only port.repo publisher"
|
||||
@echo " make publisher-snapshot REGISTRY=... CURSOR_SECRET=..."
|
||||
@echo " make container-build IMAGE_TAG=... # build publisher image"
|
||||
@echo " (api/db/migrate land with first runtime slice)"
|
||||
|
||||
install:
|
||||
|
|
@ -30,3 +34,9 @@ publisher-run:
|
|||
publisher-snapshot:
|
||||
@test -n "$(REGISTRY)" && test -n "$(CURSOR_SECRET)"
|
||||
$(UV) run rmgr publisher snapshot --registry "$(REGISTRY)" --cursor-secret "$(CURSOR_SECRET)"
|
||||
|
||||
container-build:
|
||||
docker build -f Containerfile \
|
||||
--build-arg VERSION=0.1.0 \
|
||||
--build-arg VCS_REF=$$(git rev-parse HEAD) \
|
||||
-t $(IMAGE_REPOSITORY):$(IMAGE_TAG) .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue