Bugzilla 的使用

Fedora 使用 Red Hat Bugzilla 进行程序错误追踪。本页面及其他左侧带有 Bugs 标题的页面介绍了一些使用技巧和向导。

权限

任何用户,包括“anonymous”(也就是未登录状态)用户,均可浏览上报的错误报告。(注意:有些 bug 或评论会被标记为“私有”或仅限特定组。这种情况比较少见,主要是为了保护附件和日志片段中的敏感信息。)

任何已登录用户都可创建程序错误报告或向已有错误报告添加评论。

错误报告的上报人或者指派人可修改他们自己报告中任何字段的内容。

自动修改

Bugzilla 会对符合 “bug xxxx“ 或 "comment xxxx" 形式的内容自动创建指向这些内容的链接。

被标记为 重复 的错误报告会自动生成一条指向另一错误报告的评论。在另一报告中,也会自动生成一条评论,指示有其他的错误报告被标记为该报告的重复报告。

Fedora 的更新管理系统 Bodhi 也会随着更新在系统中的动态,自动地向错误报告添加评论,并修改对应错误报告的 状态

状态和决定

Bugzilla 使用状态 (Status) 和决定 (Resolution) 两个字段来追踪错误报告或功能请求的状态。

状态

以下表格列出了各种状态。

Table 1. Bugzilla statuses
Status Meaning

NEW

The default state. Generally indicates bug has not been actively investigated by the assignee.

ASSIGNED

Can be used by maintainers to indicate that the bug has been vetted and is assigned for work.

ON_DEV

Can be used by maintainers to indicate that work is actively in progress. This is especially useful if there exists a team of maintainers for a package.

POST

Indicates a fix is ready, but not applied. This is often used when a pull request is open upstream.

MODIFIED

Indicates a fix has been built in an update. Bodhi will set this status automatically when an update is created if the bug is associated with the update.

ON_QA

Indicates an update with a fix is in the testing repo. Bodhi will set this status automatically when an update reaches updates-testing if the bug is associated with the update.

VERIFIED

Indicates a bug has a confirmed fix in an update.

RELEASE_PENDING

(Generally unused in Fedora. Used for Red Hat Enterprise Linux workflows.)

CLOSED

Indicates the bug has been fixed or will not be fixed. The CLOSED status has different resolutions to indicate why the bug was closed. Bodhi will set this status automatically when an update reaches the updates repo if the bug is associated with the update.

决定

以下表格介绍了可应用 CLOSED 状态的决定。

Table 2. Bugzilla resolutions
Resolution Meaning

CANTFIX

Used by maintainers to indicate a bug that cannot be fixed.

CURRENTRELEASE

Indicates a bug reported in Branched prior to release and the fix is fixed for the final release.

DEFERRED

(Generally unused in Fedora. Used for Red Hat Enterprise Linux workflows.)

DUPLICATE

Indicates a bug is a duplicate of another.

EOL

Indicates a bug that was filed against a version that has reached End of Life.

ERRATA

Indicates a bug is fixed in a stable release.

FAILS_QA

(Generally unused in Fedora. Used for Red Hat Enterprise Linux workflows.)

INSUFFICIENT_DATA

Indicates that the bug reporter is unwilling or unable to provide sufficient information to diagnose or fix the bug.

NEXTRELEASE

Used by maintainers to indicate a bug that will only be fixed for later releases, not on the release reported.

NOTABUG

Indicates that the report is not a bug (e.g. is a hardware failure or a support question).

RAWHIDE

Indicates a bug is fixed in a Rawhide update.

RELEASE_PENDING

(Generally unused in Fedora. Used for Red Hat Enterprise Linux workflows.)

UPSTREAM

Used by maintainers to indicate that a bug is expected to be fixed upstream and naturally rolled into Fedora Linux in a subsequent update.

WONTFIX

Used by maintainers to indicate a bug that will not be fixed.

WORKSFORME

Used by maintainers to indicate a bug that cannot be reproduced.