Repositories
Read why a repository is or is not searchable, reindex it, change the indexed ref, turn indexing off, manage who can read it and delete it.
Settings › Repositories lists every repository the sources added. Open one to see what search uses, its builds and who can read it.
Before you begin
You are a workspace administrator or have the Repository administrator role. A repository's Maintainer or Admin can change its indexing from the repository's own page.
Read the status
A repository is Searchable or Not searchable. The note beside it, or its tooltip in the list, gives the reason.
| Status or note | Meaning | What to do |
|---|---|---|
| Searchable | Search uses the indexed commit. Updating beside it means a newer commit is being indexed, and search keeps the indexed one until it is ready. Update failed means indexing the newer commit failed. | Nothing, or read the failure on Processing |
| Indexing | The first index is being prepared | Wait |
| Indexing failed | Indexing failed before the first index was ready | Read the reason, then select Reindex now |
| Not indexed | It has never been indexed | Select Index now, or turn on Index new repositories automatically on its discovery rule |
| Indexing off | Indexing is turned off. Beside Searchable, search keeps the indexed commit and newer commits are not indexed. | Turn Indexing on under Settings |
| Unavailable | Indexed, but search cannot use it right now | Tell whoever runs Corfedo. See Troubleshooting. |
The Forge filter's Not found on forge finds repositories the forge no longer has. Searches across all repositories leave them out.
Check: the repository's Overview shows the commit under Indexed commit, and no warning above it.
Why indexing failed
A failed build on the Processing tab names the reason:
| Reason | What to do |
|---|---|
| The repository could not be fetched, The source refused access to the repository | Check the source's credential and that it can read this repository |
| The indexer stopped responding, The index failed validation | Select Reindex now. If it fails again, tell whoever runs Corfedo. |
| Files could not be read, The indexer failed | Select Reindex now. If it fails again, open Diagnostics on the build. |
| The repository exceeds the indexer’s limits | The repository is too large for this installation. Tell whoever runs Corfedo. |
| The index could not be stored | The installation's storage is full or unavailable. Tell whoever runs Corfedo. |
No source can provide this repository means no enabled source can read it any more. Fix or add a source that has access, then reindex.
Change what is indexed
Open the repository's Settings tab.
- Indexing turns indexing of new commits on or off. While it is off, search keeps using the last index.
- Indexed ref is
HEADfor the default branch, a full branch or tag name such asrefs/heads/main, or a full commit SHA. The next build uses it.
Who can read a repository
The Access tab lists the members and groups with a role on the repository, the workspace permissions that reach every repository and the Default repository role. Select Add access and choose a member or group and a role. The roles are Security reader, Reader, Triage, Maintainer and Admin, from least to most access. Permissions and scopes shows what each allows.
Access adds up. A member keeps the roles they have through groups or workspace permissions when you remove a direct role. Members and groups covers groups.
Delete a repository
Related
- Sources and Discovery rules decide which repositories are added.
Discovery rules
Choose which repositories a source adds with discovery rules, preview them, index new ones automatically and read why a listed repository was not added.
Contexts
Save a named set of repositories to search together with context and give Corfedo AI as sources, for yourself or for the whole workspace.