lenra-io/lenra_cli

[Bug]: Project dir must be lowercase and simple

开放

#408 创建于 2024年5月16日

 (0 条评论) (0 个反应) (1 位负责人)Rust (2 个派生)auto 404
buggood first issue

仓库指标

星标
 (16 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南