mozilla / mozilla/bugbot

Write a tool to identify unused keywords

Open
#1,416 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-Metadata improvements
Dominant language
Python
Stars
68
Forks
92
Avg merge
2d 2h
Merged PRs (30d)
16

Description

So we can disable them (filing bugs blocking https://bugzilla.mozilla.org/show_bug.cgi?id=1476564).

To implement this, if a good API doesn't exist, we could parse https://bugzilla.mozilla.org/describekeywords.cgi. For keywords that have 0 bugs, we can definitely consider them as unused. For keywords that have some bugs, we can make a further query to check if it has ever been used in the past year.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Bugzilla's describekeywords.cgi endpoint and the linked bug to determine whether an API can provide keyword usage. If not, evaluate parsing the keyword page and querying keywords with existing bugs for activity in the past year. Done means the tool identifies keywords with no bugs and keywords unused during that period.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.