Closed
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
:lunny
is taken over asUserID: 1, UserName: "lunny"
, as that user exists on Gitea toomrsdizzie
as user inReactions
is migrated asUserID: -1, UserName: "mrsdizzie(github)"
, which looks really good in the UI, butmrsdizzie
would 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:lunny
andjolheiser
are both taken over asReviewerID: 0
, even though the accounts would exist on gitea.comReview
s from bothzeripath
andlafriks
are suddenly mine (ReviewerID: 5610, ReviewerName: "j-be"
), again, even though these users exist on gitea.com
-
Release
,PullRequest
, andComment
s thereof are allPublisherID: 5610, PublisherName: "j-be"
andPosterID: 5610, PosterName: "j-be"
, even though they should still be owned by their initial authors.