Error messages are sent to stdout, not to stderr
维护者通常 1 天内回复
@marcschaeferger 已经在做这个了。
开始于 2026年5月20日。
评估
这个 Issue 还没有评估数据。
描述
Describe the Bug
When installing the NixOS package from nixpkgs-unstable, several commands (for example to create completions) throw errors which are written to the completions file, like
failed to create /homeless-shelter/.config/pangolin: mkdir /homeless-shelter: permission denied
failed to create /homeless-shelter/.config/pangolin/logs: mkdir /homeless-shelter: permission denied
A workaround can be to set the HOME environment variable in the Nix file.
But the problem also would not occur if pangolin-cli would not write the errors to stdout but to stderr.
Disclaimer: I'm quite new to NixOS but I checked back this matter with a very experienced colleague of mine. If you have any questions, please let me know.
Environment
- OS Type & Version: NixOS 25.11
- Pangolin Version: 1.18.4
- Gerbil Version:
- Traefik Version:
- Newt Version:
- Client Version: pangolin-cli 0.8.1
To Reproduce
- Set HOME environment variable to a directory without write permission for regular users (for example /root)
- Run
pangolin completion fish >output.txt - Check written file, error messages should be included.
Expected Behavior
Error messages should be sent to stderr.
- 主要语言
- Go
- 星标
- 54
- 派生
- 19
- 平均合并
- 1 天 20 小时
- 30 天内合并 PR
- 9
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fosrl/cli 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
CLI on Windows not able to switch org (and account)可能重新可做 @oschwartz10612 于 62 天前认领,目前没有进行中的 PR。 未关闭bug
fosrl/cli#121 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
enhancement
难度 3/5 1-2 天 新手友好度 48/100
维护者通常 1 天内回复
-
good first issue help wanted
难度 3/5 1-2 天 新手友好度 28/100
维护者通常 1 天内回复
-
needs investigating
难度 3/5 1-2 天 新手友好度 52/100
维护者通常 1 天内回复
相似的 Issue
-
flaky-test
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
SocialGouv/iterion#2108 ·
维护者通常 1 天内回复