Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add a default limit to the results of the `occ taskprocessing:list` command

未关闭 适合新手
#65,243 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@Sahas2711 已经在做这个了。

开始于 2026年10月8日。

  • #65320 来自 @Sahas2711 —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
php
领域
cli, database

调研方向

从 issue 中链接的命令文件 core/Command/TaskProcessing/ListCommand.php 开始,追踪它如何获取和呈现任务结果。添加默认值为 10 的限制,并提供一个用于控制该限制的选项,使命令只获取并输出所请求的数量。检查现有的命令测试,并补充对默认限制和所提供限制的覆盖。

由索引模型根据 Issue 内容生成。

描述

enhancement feature: TaskProcessing good first 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

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/server 的其他 Issue

查看 nextcloud/server 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。