herd.yml: Windows service catalogue is a subset of macOS (no Typesense), so a shared manifest cannot be applied by herd init on Windows
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- laravel, mysql, php, redis
- Ambito
- cli, devops, documentation
Direzione di ricerca
Inizia dalle pagine della documentazione di herd-yaml per macOS e Windows e confronta le pagine service-versions collegate; quindi riproduci il manifest di esempio con herd init su entrambe le piattaforme. Il completamento dovrebbe rendere esplicite le differenze tra piattaforme e cataloghi e stabilire un modo supportato per consentire ai manifest di gestire i servizi non disponibili e i cambiamenti di versione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
herd.yml is documented as a manifest a team commits so every machine gets the same PHP version and Herd Pro services via herd init. In a mixed macOS / Windows team this breaks silently at the documentation level and loudly at herd init time, because the two platforms do not offer the same services or versions:
- The macOS service-versions page lists Typesense (0.26 / 29.x / 30.x), Valkey and Redis 7.0.x / 7.4.x.
- The Windows service-versions page lists no Typesense and no Valkey, and Redis 7.0.0 only.
/docs/windows/herd-pro-services/typesensereturns 404. - The herd-yaml docs page (both macOS and Windows variants) mentions no platform caveat, no way to mark a service optional or per-platform, and no wildcard versions.
A manifest like this therefore works on macOS and fails herd init on Windows:
name: myapp
php: '8.5'
secured: true
services:
mysql:
version: 8.4.2
port: '${DB_PORT}'
typesense:
version: 29.0
port: '${TYPESENSE_PORT}'
The same failure mode already hits single-platform teams when an exact patch version drops out of a newer Herd build's catalogue (#1595, discussion #1735), so the underlying problem is that herd init treats every services entry as a hard requirement with an exact version.
Requests
- Document the platform differences on the herd-yaml page (or link the two service-versions pages from it) so teams know a committed manifest is not portable as-is.
- Let
herd initwarn and skip a service that is unavailable on the current platform or Herd build instead of aborting, or add an explicitoptional: true/platforms: [macos]key per service. - Accept wildcard versions (
8.4.x,29.x) so a manifest survives catalogue updates (this is the ask in #1595 / #1735 too).
Environment
- Herd for macOS and Herd for Windows, both current at time of writing, Herd Pro.
- Reproduced by committing the manifest above in a Laravel project and running
herd initon each platform.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 124
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di beyondcode/herd-community
-
[Bug]: PHP 8.3 php.ini missing auto_prepend_file and herd-ext extension lines (dump() undefined)ApertamacOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
beyondcode/herd-community#1693 ·
-
macOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
beyondcode/herd-community#1602 ·
-
[Bug]: 1.30.2 creates PHP 8.2 config and ~/.zshrc lines on every start, although 8.2 isn't installedApertafixed-in-next-release macOS
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
beyondcode/herd-community#1763 · 2 commenti ·
-
fixed-in-next-release macOS
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
beyondcode/herd-community#1760 ·
-
macOS
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
beyondcode/herd-community#1755 ·
Tutte le issue di beyondcode/herd-community
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 8 giorni
-
CLI Empathy needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
chromaui/chromatic-cli#1524 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
type/automation type/performance
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
diagnose globalnet reports a failure for every exported headless ServiceForse già presa @kurtyoon l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
submariner-io/subctl#1948 ·
I maintainer di solito rispondono entro 1 giorno