Pull the desired mysql version from a single location
Los mantenedores suelen responder en 7 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- docker-compose, javascript, mysql
Línea de trabajo
Start with app/test/db_setup.js at the MySQL launch configuration and docker-compose.yml at the MySQL service version. Compare how each selects the version, then investigate whether they can share configuration or whether tests can reuse Compose. Done means both use one source for the desired MySQL version; the issue leaves the implementation choice open.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The test framework has the ability to launch mysql ( via docker. )
The mysql version is hard-coded there ( see: https://github.com/shift-org/shift-docs/blob/52e8d9589f6e81ce42b38e716662c8bced8ff28b/app/test/db_setup.js#L44 )
The docker compose also has a mysql version ( see: https://github.com/shift-org/shift-docs/blob/52e8d9589f6e81ce42b38e716662c8bced8ff28b/docker-compose.yml#L31 )
It is objectively terrible to have to keep them synchronized; but not exactly sure what the solution is.
- both read from some sort of common config file?
- both read from some common environmental var?
- can testing read or re-use the docker-compose?
- get rid of the ./shift bash and launch everything using npm scripts? ( i jest. sort of. )
- ...?
- Lenguaje dominante
- JavaScript
- Estrellas
- 30
- Forks
- 26
- Merge medio
- 6 d 24 min
- PR fusionados (30 d)
- 6
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 shift-org/shift-docs
-
Export links and the webcal feed 404 under npm run devPosiblemente ocupada @dduugg la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
shift-org/shift-docs#1121 ·
Los mantenedores suelen responder en 7 días
-
Unknown --db values report a TypeError instead of the intended errorPosiblemente ocupada @gangster la tomó hace 74 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
shift-org/shift-docs#1091 ·
Los mantenedores suelen responder en 7 días
-
validateRideLength accepts any Object.prototype key as a ride lengthPosiblemente ocupada @gangster la tomó hace 74 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
shift-org/shift-docs#1089 ·
Los mantenedores suelen responder en 7 días
-
Favorites page fetches every favorite because getDaily's guard is invertedPosiblemente ocupada @gangster la tomó hace 74 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
shift-org/shift-docs#1087 ·
Los mantenedores suelen responder en 7 días
-
Address npm audit vulnerabilities (nodemailer, multer, express deps)Posiblemente ocupada @gangster la tomó hace 3 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
shift-org/shift-docs#1118 · 1 comentario ·
Los mantenedores suelen responder en 7 días
Todos los issues de shift-org/shift-docs
Issues similares
-
Create a theming guideAbiertodocumentation good first issue theming
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
-
Optimize the quick add featureAbiertofeature
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
drevendev/PatchPitch#2 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
521xueweihan/HelloGitHub#4025 ·