Type
map[string, RepositoryEntry]
The map key is the destination path, relative to the workspace (or absolute).
Required
No. Omitrepositories: entirely if you don’t need any.
Entry fields
type
url
The remote URL or local path. Format depends on the type:
git:https://...,git@host:owner/repo.git,file://..., or a local path.hg,svn,bzr: any URL the matching binary accepts.tar,zip: any HTTPS URL returning the archive.
version
Type-specific:
Example
Behaviour
- A first sync clones (or extracts) into the destination path.
- Subsequent syncs fast-forward or re-extract if the URL or version changed.
- Existing non-empty destinations are refused before clone.
- Existing Git checkouts keep using their configured
origin; a mismatch withurl:is reported instead of silently retargeting the checkout. - Removing an entry from
gaal.yamldoes not delete the directory.--pruneignores repositories.