feat: enable indexer for search #33

Merged
decentral1se merged 1 commits from indexer into master 2024-04-01 11:58:56 +00:00
Owner
See https://git.coopcloud.tech/coop-cloud/organising/issues/589. Default remains the same, disabled. https://docs.gitea.com/next/administration/repo-indexer#setting-up-the-repository-indexer https://docs.gitea.com/administration/config-cheat-sheet#indexer-indexer
decentral1se added 1 commit 2024-03-28 16:15:55 +00:00
feat: enable indexer for search
Some checks failed
continuous-integration/drone/pr Build is failing
5df896271a
See coop-cloud/organising#589
3wordchant reviewed 2024-03-30 15:24:22 +00:00
3wordchant left a comment
Owner

Seems fine, thanks! One suggestion

Seems fine, thanks! One suggestion
app.ini.tmpl Outdated
@ -33,3 +33,3 @@
[indexer]
STARTUP_TIMEOUT = 0
REPO_INDEXER_ENABLED = {{ env "GITEA_REPO_INDEXER_ENABLED" }}
Owner

Worth doing like {{ or (env "GITEA_REPO_INDEXER_ENABLED") "false" }} to avoid everyone needing to add new defaults here?

Worth doing like `{{ or (env "GITEA_REPO_INDEXER_ENABLED") "false" }}` to avoid everyone needing to add new defaults here?
decentral1se marked this conversation as resolved
app.ini.tmpl Outdated
@ -34,2 +34,3 @@
[indexer]
STARTUP_TIMEOUT = 0
REPO_INDEXER_ENABLED = {{ env "GITEA_REPO_INDEXER_ENABLED" }}
STARTUP_TIMEOUT = {{ env "GITEA_STARTUP_TIMEOUT" }}
Owner

Ditto

Ditto
decentral1se marked this conversation as resolved
release/next Outdated
@ -0,0 +1,7 @@
Please add the following new defaults to your `.env` file:
Owner

Can remove this entirely if above is implemented?

Can remove this entirely if above is implemented?
decentral1se marked this conversation as resolved
decentral1se force-pushed indexer from 5df896271a to ea7e26698a 2024-03-31 00:31:48 +00:00 Compare
Author
Owner

@3wordchant noice, patched with that cool "or" syntax!

@3wordchant noice, patched with that cool "or" syntax!
decentral1se merged commit 4683a81eeb into master 2024-04-01 11:58:56 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
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: coop-cloud/gitea#33
No description provided.