Improve CORE_DST handling
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 65/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 1
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de workfloworchestrator/orchestrator-dev
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
uv.lock not mountedPosiblemente ocupada @eenblam la tomó hace 10 días. Abiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 25/100
-
Frontend has switched to pnpmPosiblemente ocupada @eenblam la tomó hace 10 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Todos los issues de workfloworchestrator/orchestrator-dev
Issues similares
-
docs(contributing): the two things that silently block a PRPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoavailable documentation good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 95/100
Nixitov/Riptide-Native#944 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
JTHCode/secretguard#24 ·
Los mantenedores suelen responder en 1 día
-
area: middleware documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
omarelshamy25x/shamy-hijri#63 ·
Los mantenedores suelen responder en 1 día