{ "$schema": "https://raw.githubusercontent.com/TaqlaAI/sourcebot/main/schemas/index.json", "Configs": [ // ~~~~~~~~~~~~ GitHub Examples ~~~~~~~~~~~~ // Index all repos in organization "my-org". { "Type": "github", "GitHubOrg": "my-org" }, // Index all repos in user "my-user". { "Type": "github", "GitHubUser": "my-user" }, // Index repos foo & bar in organization "my-org". { "Type": "github", "GitHubOrg": "my-org", "Name": "^(foo|bar)$" }, // Index all repos except foo & bar in organization "my-org". { "Type": "github", "GitHubOrg": "my-org", "Exclude": "^(foo|bar)$" }, // Index all repos that contain topic "topic_a" or "topic_b" in organization "my-org". { "Type": "github", "GitHubOrg": "my-org", "Topics": ["topic_a", "topic_b"] }, // Index all repos that _do not_ contain "topic_x" and "topic_y" in organization "my-org". { "Type": "github", "GitHubOrg": "my-org", "ExcludeTopics": ["topic_x", "topic_y"] }, // Index all repos in organization, including forks in "my-org". { "Type": "github", "GitHubOrg": "my-org", "IncludeForks": true /* default: false */ }, // Index all repos in organization, excluding repos that are archived in "my-org". { "Type": "github", "GitHubOrg": "my-org", "NoArchived": true /* default: false */ } // ~~~~~~~~~~~~ GitLab Examples ~~~~~~~~~~~~ // Index all repos visible to the GITLAB_TOKEN. { "Type": "gitlab" }, // Index all repos visible to the GITLAB_TOKEN (custom GitLab URL). { "Type": "gitlab", "GitLabURL": "https://gitlab.example.com/api/v4/" /* default: https://gitlab.com/api/v4/ */ } // Index all repos (public only) visible to the GITLAB_TOKEN. { "Type": "gitlab", "OnlyPublic": true }, // Index only the repos foo & bar. { "Type": "gitlab", "Name": "^(foo|bar)$" }, // Index all repos except fizz & buzz visible to the GITLAB_TOKEN. { "Type": "gitlab", "Exclude": "^(fizz|buzz)$" }, ] }