Add a git repository's documentation to a knowledge base
- graal Agentic Platform
- Version 0.30 (actuelle)
- Open source · Apache 2.0
- Source : graalsystems/tranibor@v0.30.1
For a project owner. Procedure source.git, version 1, reviewed 2026-10-16 against the vendor’s own pages. It applies to the knowledge source kind git.
It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.
Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.
Before you start
Section intitulée « Before you start »- The repository’s https address. A
git://orsshaddress is refused. - A public repository needs no credential. A private one is read through a
documents/gitconnector that an organisation administrator declared (see “Connect a private git repository as a documents source”): it holds the token or the GitHub App, and the repository must be on the connector’s host. - Choose what to follow: a branch is followed at each sync; a commit pins the content.
At the vendor
Section intitulée « At the vendor »Nothing to create for a public repository.
Permissions
Section intitulée « Permissions »The source makes one shallow fetch of the ref and reads files. It reads at most 500 files of 5 MiB each.
In Tranibor
Section intitulée « In Tranibor »- Knowledge, the base, Add source, kind Git.
- For a private repository, name the connector. Then
url,refandpaths(globs; the default is markdown anywhere). - Choose the refresh. The cursor is the commit: the same commit is no change, and a file gone from the new commit is deleted from the base.
- The egress allowlist must open the git host.
Press Sync now and open the documents that were added.
When it fails
Section intitulée « When it fails »- “a git source is fetched over https”: the address is not https.
- Nothing indexed: no file matches
paths. - A fetch that fails: the ref does not exist, or the repository is private and no connector is named.
- A timeout: the fetch is cut at 5 minutes; the egress allowlist may not open the host.
| Field | What to put in it |
|---|---|
connector |
optional: a documents/git connector, for a private repository |
paths |
glob patterns of the files to index, *.md by default |
ref |
a branch (followed) or a commit (pinned), main by default |
url |
the repository’s https address |
Network egress
Section intitulée « Network egress »Hosts the platform must be allowed to reach:
the git host