Use repository slug as Primary key instead of phabricator ID
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.