-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add is_archived
option for issue indexer
#32735
Conversation
The indexes need to be updated once a repository changes from/to archived. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the PR WIP?
LGTM otherwise.
I only tested the DB indexer manually. Others are not tested manually. |
unarchived should also trigger the index rebuilding. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The index will be used both in global search and repository search. In the archived repository, it should be searched. But from a global issue search, the issues in the archived repositories should not be displayed.
* giteaofficial/main: Switch to `eslint-plugin-import-x` (go-gitea#32790) Fix clone panel js error (go-gitea#32798) [skip ci] Updated translations via Crowdin Add `is_archived` option for issue indexer (go-gitea#32735) Upgrade dependency crypto library (go-gitea#32750) Add standard-compliant route to serve outdated R packages (go-gitea#32783) Fix repo home file list (go-gitea#32788) Rearrange Clone Panel (go-gitea#31142) Fix a number of typescript errors (go-gitea#32773) Add label/author/assignee filters to the user/org home issue list (go-gitea#32779) # Conflicts: # templates/repo/wiki/revision.tmpl # templates/repo/wiki/view.tmpl
Try to fix #32697
Reason:
is_archived
is already defined in the query options, but it is not implemented in the indexer.