Improve CORE_DST handling
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 65/100
Direzione di ricerca
Read .env.example, the Compose file, and docker/orchestrator/entrypoint.sh, focusing on CORE_DST, volume paths, and the reload function. Remove the configuration defaults described in the issue while keeping the paths available in the environment, then check the reload fallback for the specified pyproject.toml conditions. Done when users no longer need to configure CORE_DST and the package still installs correctly in the fallback cases.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The CORE_DST / *_DST variables came from CORE_OVERRIDE in the example-orchestrator repo. However, I don't think there's much value to keeping them, and they add some overhead to onboarding and finickiness to maintenance. Right now, @Mark90 reported issues leaving CORE_DST commented out.
We do still want to keep these consistent across files, though. To avoid magic paths getting thrown around, I recommend we:
- Remove these variables from
.env.example. Users shouldn't need to configure this. - Set
CORE_DSTas a top-level variable in the Compose file - Continue setting the paths in the
environment:section (so they're available to both Compose and the entry point)- i.e. don't remove
CORE_DST: ${CORE_DST}
- i.e. don't remove
- Get rid of the default case under
volumes:- e.g. replace
"${CORE_SRC:-./docker/overrides/orchestrator-core}:${CORE_DST:-/home/orchestrator/orchestrator-core}"with just"${CORE_SRC:-./docker/overrides/orchestrator-core}:${CORE_DST}"
- e.g. replace
- As a backup, update the
reloadfunction indocker/orchestrator/entrypoint.shto install the package via the projectpyproject.tomlif NOT-f ${pkg_dst}/pyproject.tomlORpkg_distis empty or unset.
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
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 workfloworchestrator/orchestrator-dev
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
uv.lock not mountedForse già presa @eenblam l’ha presa 10 giorni fa. Apertabug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 25/100
-
Frontend has switched to pnpmForse già presa @eenblam l’ha presa 10 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Tutte le issue di workfloworchestrator/orchestrator-dev
Issue simili
-
docs(contributing): the two things that silently block a PRForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaavailable documentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 95/100
Nixitov/Riptide-Native#944 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
JTHCode/secretguard#24 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
omarelshamy25x/shamy-hijri#63 ·
I maintainer di solito rispondono entro 1 giorno