Retroactively resolve the pull request commit histories across migrated repositories #570

Closed
opened 2026-05-14 08:53:58 +00:00 by t0xic0der · 1 comment
Member

Summary

Retroactively resolve the pull request commit histories across migrated repositories

Details

Retroactively resolve the pull request commit histories across migrated repositories

After the https://codeberg.org/forgejo/forgejo/pulls/12433 lands on the production environment, any newly migrated pull requests would have their complete commit histories but the ones that have already migrated will not.

We need to be able to retroactively be able to resolve the commit histories of the pull requests that have already made it across to the other side. While it could first help the Koji migration but then it could help other repos too.

### Summary Retroactively resolve the pull request commit histories across migrated repositories ### Details Retroactively resolve the pull request commit histories across migrated repositories After the https://codeberg.org/forgejo/forgejo/pulls/12433 lands on the production environment, any newly migrated pull requests would have their complete commit histories but the ones that have already migrated will not. We need to be able to retroactively be able to resolve the commit histories of the pull requests that have already made it across to the other side. While it could first help the Koji migration but then it could help other repos too.
ryanlerch added this to the Backlog project 2026-05-18 10:17:50 +00:00
ryanlerch modified the project from Backlog to Sprint 21 2026-05-18 10:21:04 +00:00
Owner

The fix is live, and the script can be run now on the server to repair incorrect PRs.

forgejo doctor pagure-pull-requests --owner koji --repo koji-tools --fix
The fix is live, and the script can be run now on the server to repair incorrect PRs. ``` forgejo doctor pagure-pull-requests --owner koji --repo koji-tools --fix ```
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forge/forge#570
No description provided.