99designs / 99designs/iamy

Proposal: .iamy-version file

Abierto
#62 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
245
Forks
22
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

We've had a few issues where people have gotten stuck/confused because the version of iamy they're running is newer/older than the version last used in that repository.

I'd like to add an `.iamy-version` file to be written to working directory that is in part inspired by Ruby bundler's version checking.

Behaviour:

* if it doesn't exist, it's created as `.iamy-version` with the current output of `iamy --version` and an INFO message is printed
* if it does exist and your version is newer than what's in `.iamy-version`, the file is overwritten and an INFO message is printed
* if it does exist and your version is the same, nothing happens
* if it does exist and your version is older by minor or patch version, a WARN message is printed
* if it does exist and your version is older by major version, an ERROR message is printed and execution stops

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.