Feature --output doesn't work
还没有人认领这个 Issue。
评估
调研方向
首先在报告的 Nextcloud 版本上使用 sudo -u nginx php occ sharing:list --output csv 重现该问题,并将其与 JSON 输出进行比较。跟踪 sharing:list CLI 入口点及其输出处理。选择 --output csv 时命令能够输出有效的 CSV,同时现有的 JSON 行为保持不变,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Hi!
I'm trying to show info about shares in csv format, but it it doesn't work, output is always in json format.
I try it with Nextcloud 23 and 25, and app version 1.1.0 and 1.1.1
I use command:
sudo -u nginx php occ sharing:list --output csv
Example output:
{
"id": "58",
"file_id": 12160,
"owner": "user1",
"initiator": "user1",
"time": "2023-02-06T07:11:35+00:00",
"permissions": 31,
"path": "/Quality_control 2023",
"name": "Quality_control 2023",
"is_directory": true,
"type": "user",
"recipient": "user2"
},
- 主要语言
- PHP
- 星标
- 20
- 派生
- 8
- 平均合并
- 7 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/sharelisting 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
nextcloud/sharelisting#624 ·
-
occ share:list fails if orphaned shares are present可能已有人在做 @CarlSchwan 于 164 天前认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 68/100
nextcloud/sharelisting#600 ·
-
Upgrade to NC 33可能已有人在做 @CarlSchwan 于 164 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
nextcloud/sharelisting#590 · 4 条评论 · 5 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 45/100
nextcloud/sharelisting#492 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 45/100
nextcloud/sharelisting#491 · 2 个 reaction ·
查看 nextcloud/sharelisting 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
Automattic/blocks-engine#4874 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
endoflife-date/endoflife.date#11561 ·
维护者通常 1 天内回复
-
good first issue priority:low type:bug
难度 2/5 1-3 小时 新手友好度 78/100
crazy-goat/fdb-php#184 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
nextcloud/groupfolders#5218 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
nextcloud/fulltextsearch_elasticsearch#621 ·
维护者通常 1 天内回复