mozilla / mozilla/code-review

Use repository slug as Primary key instead of phabricator ID

Open
#1,601 1 comment 0 reactions 1 assignee View on GitHub

@EvaBardou is already working on this.

Since Mar 29, 2023.

Dominant language
Python
Stars
67
Forks
52
Avg merge
3d 23h
Merged PRs (30d)
54

Description

Followup of #1523

This is the same approach to generalize the backend without requiring Phabricator IDs.

We already have a uniqe slug on the Repository model, both phabricator IDs should be made nullable. All relations must be updated before-hand in a data migration.

All the endpoints must also be updated, and finally the bot too (as it references repositories during revision creation).

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.