Closed Bug 1802052 Opened 2 years ago Closed 2 years ago

GitHub API endpoint for GitHub/Bugzilla push hook to link bugs to GitHub commits

Categories

(bugzilla.mozilla.org :: API, enhancement)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: cpeterson, Assigned: dkl)

References

Details

(Keywords: requested-mobile)

Attachments

(1 file)

Bug 1792986 added a Bugzilla "pull_request" hook that's called by a GitHub action when a new GitHub PR is created.

The Firefox Android team would like a similar Bugzilla hook to be called by a GitHub action when a someone commits to a GitHub repo. The hook would add a Bugzilla bug comment linking to the GitHub commit, similar to Pulsebot's comments for commits to autoland and mozilla-central.

I've outlined our requirements in this doc (which is easier to update and comment on than a Bugzilla bug):

https://docs.google.com/document/d/1MjsT_MjN8jZyfBkapzqVZJO_mmQk7VStCniK0kME2kM/edit?usp=sharing

Setting NI as we need to complete feedback on the design before starting.

Flags: needinfo?(glob)
Summary: Add GitHub API endpoint to link bugs to GitHub commits → Review design of proposed GitHub API endpoint to link bugs to GitHub commits
Summary: Review design of proposed GitHub API endpoint to link bugs to GitHub commits → GitHub API endpoint for GitHub/Bugzilla push hook to link bugs to GitHub commits
Assignee: nobody → dkl
Status: NEW → ASSIGNED

Question: I see that when a commit lands on releases_vXXX we set the related status-firefoxXXX to fixed. But what about commits landed to main, do we just not set the status flag? Only for numbered release branches?

Flags: needinfo?(glob) → needinfo?(cpeterson)

For commits to main, we should set the status for the corresponding Nightly version to fixed (i.e. 111 right now).

Flags: needinfo?(cpeterson)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Blocks: 1819404

This change is live in production.

Depends on: 1821175
Depends on: 1821422
Depends on: 1821478
Depends on: 1821521
Depends on: 1821679
Depends on: 1821694
Depends on: 1821739
Depends on: 1821786
No longer blocks: 1821386
Depends on: 1821386
No longer blocks: 1821384
Depends on: 1821384
Depends on: 1822687
Depends on: 1825899
Depends on: 1869601
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: