mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
When migrating a repository (from GitHub) using the API (**POST** `repos/migrate`), the Code Indexer is not updated. Searching in the user interface will not return any results. When migrating the same repository using **+/New Migration** in the web interface, the search index is updated and searching works as expected. Caused by the fact that object `repo` is never updated with the migrated repo so `setting.Indexer.RepoIndexerEnabled && !repo.IsEmpty` in `modules/notification/indexer/indexer.go:NotifyMigrateRepository` always evaluates to `false`. Tested with gitea:1.16.1, MariaDB:10, Breve in `Run Mode: Dev`. Co-authored-by: Hugo Hoitink <10838836+hoitih@users.noreply.github.com> |
3 years ago | |
---|---|---|
.. | ||
blob.go | ||
branch.go | 3 years ago | |
collaborators.go | 3 years ago | |
commits.go | 3 years ago | |
file.go | 3 years ago | |
fork.go | 3 years ago | |
git_hook.go | ||
git_ref.go | ||
hook.go | 3 years ago | |
hook_test.go | ||
issue.go | 3 years ago | |
issue_comment.go | 3 years ago | |
issue_label.go | ||
issue_reaction.go | 3 years ago | |
issue_stopwatch.go | ||
issue_subscription.go | 3 years ago | |
issue_tracked_time.go | 3 years ago | |
key.go | 3 years ago | |
label.go | ||
language.go | 3 years ago | |
main_test.go | ||
migrate.go | 3 years ago | |
milestone.go | ||
mirror.go | ||
notes.go | ||
pull.go | 3 years ago | |
pull_review.go | 3 years ago | |
release.go | 3 years ago | |
release_attachment.go | ||
release_tags.go | ||
repo.go | 3 years ago | |
repo_test.go | 3 years ago | |
star.go | 3 years ago | |
status.go | 3 years ago | |
subscriber.go | 3 years ago | |
tag.go | 3 years ago | |
teams.go | 3 years ago | |
topic.go | 3 years ago | |
transfer.go | 3 years ago | |
tree.go | 3 years ago | |
wiki.go | 3 years ago |