Add a default limit to the results of the `occ taskprocessing:list` command
维护者通常 1 天内回复
评估
调研方向
从 issue 中链接的命令文件 core/Command/TaskProcessing/ListCommand.php 开始,追踪它如何获取和呈现任务结果。添加默认值为 10 的限制,并提供一个用于控制该限制的选项,使命令只获取并输出所请求的数量。检查现有的命令测试,并补充对默认限制和所提供限制的覆盖。
由索引模型根据 Issue 内容生成。
描述
[!TIP]
Help move this idea forward
- Use the 👍 reaction to show support for this feature.
- Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
- Subscribe to receive notifications about status changes and new comments.
The occ taskprocessing:list command does not have a limit on the no. of results returned, when the list is long, it can take a while to render all the tasks with every detail about them.
A new option can be added that has a default of say 10 to only fetch these many tasks from the DB and output that only.
The command is defined here https://github.com/nextcloud/server/blob/7ddb822c798c2e65634b2c79dbb323711a961fa5/core/Command/TaskProcessing/ListCommand.php
- 主要语言
- PHP
- 星标
- 37k
- 派生
- 5.3k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 751
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/server 的其他 Issue
-
0. Needs triage 35-feedback bug
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
34-feedback
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
1. to develop technical debt
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
0. Needs triage 35-feedback bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
0. Needs triage 35-feedback bug
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
相似的 Issue
-
📚 Documentation: Placeholder link `link-to-realtime-docs` in Flutter SDK changelog可能已有人在做 @ShyneChikwapulo 今天认领。 未关闭api / realtime product / auth product / messaging product / vcs
难度 1/5 1 小时以内 新手友好度 82/100
appwrite/appwrite#14272 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 1/5 1 小时以内 新手友好度 75/100
Boavizta/boaviztapi#580 · 1 条评论 ·
-
Add Prestashop未关闭request
难度 2/5 1-3 小时 新手友好度 72/100
endoflife-date/endoflife.date#11303 ·
维护者通常 1 天内回复
-
0. to triage enhancement
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复