CorfedoCorfedoDocs

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 noteMeaningWhat to do
SearchableSearch 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
IndexingThe first index is being preparedWait
Indexing failedIndexing failed before the first index was readyRead the reason, then select Reindex now
Not indexedIt has never been indexedSelect Index now, or turn on Index new repositories automatically on its discovery rule
Indexing offIndexing is turned off. Beside Searchable, search keeps the indexed commit and newer commits are not indexed.Turn Indexing on under Settings
UnavailableIndexed, but search cannot use it right nowTell 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:

ReasonWhat to do
The repository could not be fetched, The source refused access to the repositoryCheck the source's credential and that it can read this repository
The indexer stopped responding, The index failed validationSelect Reindex now. If it fails again, tell whoever runs Corfedo.
Files could not be read, The indexer failedSelect Reindex now. If it fails again, open Diagnostics on the build.
The repository exceeds the indexer’s limitsThe repository is too large for this installation. Tell whoever runs Corfedo.
The index could not be storedThe 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 HEAD for the default branch, a full branch or tag name such as refs/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

Delete repository on the Settings tab removes it and its builds. Search stops finding it, and citations in conversations and security findings that point to it stop resolving. It also leaves every saved context it was in. A rule that still matches it does not add it back. This cannot be undone.

On this page