Import rpm.lair.cafe SPA from lair/mistralrs-package/ui @34a28b5
All checks were successful
deploy / build-and-deploy (push) Successful in 31s
All checks were successful
deploy / build-and-deploy (push) Successful in 31s
Dedicated repo for the RPM repository web UI, moved out of the mistralrs-package repo now that multiple package repos publish to rpm.lair.cafe. Includes an adapted deploy workflow (SPA at repo root).
This commit is contained in:
32
README.md
Normal file
32
README.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# rpm.lair.cafe
|
||||
|
||||
Web UI for the [`rpm.lair.cafe`](https://rpm.lair.cafe) dnf repository — a small
|
||||
React + Vite SPA that lists the packages published across the Fedora trees and
|
||||
links to their RPMs and changelogs.
|
||||
|
||||
It reads the per-tree `packages.json` manifests generated by the package repos
|
||||
(e.g. `lair/mistralrs-package`, `lair/claude-desktop-package`) when they publish.
|
||||
|
||||
## Development
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## Deploy
|
||||
|
||||
`.gitea/workflows/deploy.yml` builds the SPA and rsyncs `dist/` to
|
||||
`gitea_ci@oolon.kosherinata.internal:/var/www/rpm/` on every push to `main`.
|
||||
The rsync filter only touches `index.html`, `*.repo`, and `assets/**`, so the
|
||||
co-located RPM trees (`fedora/**`, GPG keys, `packages.json`) are left untouched.
|
||||
Requires the `RSYNC_SSH_KEY` Actions secret.
|
||||
|
||||
## Adding a Fedora release
|
||||
|
||||
The SPA fetches `packages.json` from each Fedora tree. To surface a new
|
||||
releasever, add it to `RELEASEVERS` in `src/hooks/usePackages.ts`.
|
||||
|
||||
---
|
||||
History note: this SPA previously lived in `lair/mistralrs-package/ui/`;
|
||||
imported here from that repo at commit `34a28b5`.
|
||||
Reference in New Issue
Block a user