Files
FWS-RepoOff/README.md
Gianmarco-Ruberti 337e9b305a feat(server): serve the pacman repository over HTTPS
Caddy now owns the certificate of repo.fws-linux.org: it obtains and
renews it, redirects http:// to https:// and serves HTTP/3. The plain
http://:30065 block stays for tests until the DNS record exists, and the
pacman block, install output and both READMEs point at the HTTPS URL.
2026-12-03 12:02:42 +01:00

42 lines
1.6 KiB
Markdown

# FWS-RepoOff — dépôt officiel des paquets FWS
Sources (PKGBUILD) des paquets du dépôt pacman officiel **`fws`**.
Un paquet = un dossier contenant son `PKGBUILD` et ses fichiers.
> **Hébergement des paquets compilés : à venir.** Le dépôt pacman (base `fws.db`
> + paquets `.pkg.tar.zst`) sera servi par un VPS dédié sur
> `https://repo.fws-linux.org` : la configuration Caddy et HTTPS est prête
> (`server/Caddyfile`), il ne manque que le DNS. Tant qu'il n'existe pas, aucune
> machine ne doit pointer `pacman.conf` vers une adresse provisoire.
## Paquets
| Paquet | Version | Description |
|---|---|---|
| `fws-music-dl` | 1.0.0 | Téléchargeur YouTube / YouTube Music : recherche, MP3/M4A/Opus/FLAC ou vidéo MP4 |
## Construire un paquet
```sh
cd fws-music-dl
makepkg -f
```
## Ajouter ou mettre à jour un paquet
1. Créer ou modifier le dossier du paquet.
2. Monter `pkgver` (nouvelle version) ou `pkgrel` (correctif de paquet).
3. Vérifier qu'il se construit : `makepkg -f`.
4. Commit au format Conventional Commits, en anglais (cf. `AGENTS.md` FWS),
ex. `feat(fws-music-dl): add MP4 video formats`.
## Serveur du dépôt (auto-hébergé)
`server/` contient le serveur qui publie réellement le dépôt `fws` : service
HTTP Python (stdlib), interface `/admin`, API `/api`, script `push.sh`,
installateur systemd et la configuration Caddy déployée (`server/Caddyfile`) :
domaine `repo.fws-linux.org` en HTTPS automatique, plus le port 30065 en
clair pour les tests tant que le DNS n'existe pas.
Voir [`server/README.md`](server/README.md) et le bloc client
[`server/pacman.conf.snippet`](server/pacman.conf.snippet).