Fix bug pull request files will be broken if head repo was transfered to another user or orgnization #8569

Merged
lunny merged 1 commits from lunny/update_pr_headusername_when_transfer_repo2 into release/v1.10 2019-10-19 07:29:35 +00:00
Owner

Fix #8563, but this PR will not fix the broken pull requests because we cannot add a migration on this release branch. There are two workarounds to fix that.

  • Transfer the head repository to someplace and transfer it back.
  • Update the database to change the head_user_name to the correct one on table pull_request.

This PR is a manually back port from #8564 .

Fix #8563, but this PR will not fix the broken pull requests because we cannot add a migration on this release branch. There are two workarounds to fix that. - Transfer the head repository to someplace and transfer it back. - Update the database to change the `head_user_name` to the correct one on table `pull_request`. This PR is a manually back port from #8564 .
zeripath approved these changes 2019-10-18 06:03:06 +00:00
6543 (Migrated from github.com) approved these changes 2019-10-19 01:06:46 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
2 Participants
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: lunny/gitea#8569
No description provided.