Support for environment variables
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript
Línea de trabajo
No files or tests are named. Start by tracing how the UI5 CLI reads YAML configuration and passes middleware and task configuration, then determine where environment-variable and dotenv resolution belongs; done means placeholders are resolved before middleware or task execution with dotenv supported out of the box.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
I would like to have an out of the box supported standard approach to use environment variables to configure my middlewares and tasks.
Why? As one of the maintainers of the middleware in the open-ux-tools, I have noticed a repetitive pattern: usage of environment variables. In nearly all our middlewares/tasks we support some kind of usage of environment variables as input. A quick search through other middlewares also shows that we are not the only ones but many others also have their way of allowing to provide parts of the configuration as env variables.
The problem is that everybody does their own thing leading to inconsistencies of how to use env variables.
Describe the solution you'd like
I'd prefer a very simple solution allowing me to define environment variable placeholders in my yaml e.g.
server:
customMiddleware:
- name: preview-middleware
afterMiddleware: compression
configuration:
debug: ${DEBUG}
The UI5 CLI should resolve the environment variable before calling my middleware so that the middleware implementation does not have to bother.
Please also support dotenv out of the box as part of the same feature.
Describe alternatives you've considered
No.
Additional context
No.
- Lenguaje dominante
- JavaScript
- Estrellas
- 511
- Forks
- 83
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 50
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la 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 UI5/cli
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changesAbiertomodule/ui5-builder module/ui5-fs module/ui5-project
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
module/ui5-project
Dificultad 4/5 3-5 días Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
[ROADMAP] UI5 CLI 6.0 / Specification Version 6.0Quizá libre de nuevo @flovogt la tomó hace 66 días y no hay ningún pull request abierto. Abiertoroadmap
UI5/cli#1485 · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
build excludes from application project are not applied to dependenciesQuizá libre de nuevo @flovogt la tomó hace 40 días y no hay ningún pull request abierto. Abierto
UI5/cli#1446 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Option to specify custom UI5 config for workspace dependency resolutionQuizá libre de nuevo @flovogt la tomó hace 166 días y no hay ningún pull request abierto. Abierto
UI5/cli#1369 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
microsoft/playwright#43327 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/TypeScript#64758 ·
Los mantenedores suelen responder en 1 día
-
needs-area-label
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
-
bug good first issue help wanted status: planned
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
andersthemagi/reliquary#310 ·
Los mantenedores suelen responder en 1 día