-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
Description
- Gitea version (or commit ref): 1.13.0+dev-30-gb02d2c377
- Git version: whatever gitea.com runs on
- Operating system: whatever gitea.com runs on
- Database (use
[x]): whatever gitea.com runs on - Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
Description
While working on #8380 I migrated https://github.com/go-gitea/test_repo to https://gitea.com/j-be/test_repo/ and took that for unit tests. I am now a bit confused on how some stuff is handled when migrating:
-
Reactions:lunnyis taken over asUserID: 1, UserName: "lunny", as that user exists on Gitea toomrsdizzieas user inReactionsis migrated asUserID: -1, UserName: "mrsdizzie(github)", which looks really good in the UI, butmrsdizziewould exist on Gitea as well - I guess OIDC is involved here, but how does it know? Do I need to take into account something here as well?
-
Review- here is where it gets really confusing:lunnyandjolheiserare both taken over asReviewerID: 0, even though the accounts would exist on gitea.comReviews from bothzeripathandlafriksare suddenly mine (ReviewerID: 5610, ReviewerName: "j-be"), again, even though these users exist on gitea.com
-
Release,PullRequest, andComments thereof are allPublisherID: 5610, PublisherName: "j-be"andPosterID: 5610, PosterName: "j-be", even though they should still be owned by their initial authors.