Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Feature request: support multiple --mixin entries

Abierto
#788 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
65/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go
Área
cli

Línea de trabajo

Start by locating the CLI option parsing for --mixin and the manifest-mixing path. Run the existing CLI tests before changing behavior; done means multiple --mixin options are accepted, applied one at a time, and later duplicate values override earlier ones.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Our team would like to use several sets of mixins, to provide more than one option in the manifest besides cluster. Currently it appears that when providing multiple --mixin options, only the last one is used.

For instance, some information is common for cluster, but some is dependent on Oracle database used (q1, q2, etc), and it would be nice to be able to say --mixin app.dev-fss.yaml --mixin app.q2.yaml - we sometimes also have different mode settings, like a set of dry-run/integration test settings, or a job that runs only specific steps in a process.

My proposal is that --mixin be altered to allow multiple options, where the merging happens one option at a time, so that the last mixin "wins" in case of duplicate structure. An alternate proposal might be to let the option be a colon-separated list of files.

Our alternatives to this feature request is to keep duplicating structure, to fundamentally reimplement this feature in preprocessing, and/or to keep using the deprecated handlebars syntax for as long as it remains.

Lenguaje dominante
Go
Estrellas
2
Forks
5
Merge medio
16 h 59 min
PR fusionados (30 d)
23

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nais/cli

Todos los issues de nais/cli

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.