Repositories
The Repositories page lists the Git repositories Nimzo reads. Use it to check that a repository was scanned, to see its branches and the stacks Nimzo found in it, and to disconnect it.
Before you start
Section titled “Before you start”Connect a Git provider first. See Git connections.
Add a repository
Section titled “Add a repository”- Select Repositories in the sidebar, under Infrastructure.
- Select Add a repository, then follow the steps on the page.
Without any repository, the page says No repositories yet. Nimzo discovers the stacks of a repository once you connect it. For the stacks, see Stacks. Nimzo syncs the branches of each repository every hour.
Read the list
Section titled “Read the list”Each repository shows its name and URL, and these columns:
- Status is Pending, Scanning, Indexed or Failed. A failed repository shows the error under its status.
- Default branch is the branch Nimzo reads.
- Stacks found is how many stacks the last scan found.
Select a row to open its details. Select it again to close them. Two tabs show:
- Branches lists the branches with their latest commit and when they were synced. The default branch is marked Default. A repository without branches says to sync them.
- Stacks lists the stacks found in the repository. A stack that Nimzo already follows is marked Imported and links to its page. A stack that Nimzo found but does not follow is marked Not imported. Select Import stacks to add it.
Sync the branches of a repository
Section titled “Sync the branches of a repository”- Select the actions button of the repository.
- Select Sync branches.
Nimzo shows how many branches it found.
Scan a repository again
Section titled “Scan a repository again”- Select the actions button of the repository.
- Select Rescan stacks.
Nimzo shows Rescan started. The item is not available while a scan runs. To control what a scan finds, see Configure a scan with nimzo.yaml.
Disconnect a repository
Section titled “Disconnect a repository”- Select the actions button of the repository.
- Select Disconnect repository.
- Select Disconnect to confirm.
The stacks imported from the repository are removed.
Troubleshooting
Section titled “Troubleshooting”- “Could not load your repositories.” Reload the page.
- “Could not sync the branches of this repository” Try again. If it stays, check the Git connection.
- “Could not rescan this repository” Try again later.
- “Could not disconnect this repository.” Select Disconnect again.