lenra-io/lenra_cli

[Bug]: Project dir must be lowercase and simple

Ouverte

#408 ouverte le 16 mai 2024

 (0 commentaire) (0 réaction) (1 personne assignée)Rust (2 forks)auto 404
buggood first issue

Métriques du dépôt

Stars
 (16 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

What happened?

A user tried to run lenra dev in a directory with uppercase chars, but the command failed.

Make the directory name normalized before using it.

What browsers are you seeing the problem on?

No response

Version

?

Relevant log output

HRDL_Lenra_Test_Python>lenra dev
✔ App env generated
✖ Failed building app
The command execution failed: Command exec exited with code 17:
        cmd: Command { std: "docker-compose" "-f" "\\\\?\\C:\\Users\\******\\HRDL_Lenra_Test\\HRDL_Lenra_Test_Python\\.lenra\\compose.yml" "build", kill_on_drop: true }
        stdout:
        stderr: invalid tag "lenra/app/HRDL_Lenra_Test_Python:latest": repository name must be lowercase

Guide contributeur