Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/backend/src/schemas/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export interface GitHubConfig {
*/
archived?: boolean;
/**
* List of individual repositories to exclude from syncing. Expected to be formatted as '{orgName}/{repoName}' or '{userName}/{repoName}'.
* List of individual repositories to exclude from syncing. Glob patterns are supported.
*/
repos?: string[];
};
Expand Down Expand Up @@ -115,7 +115,7 @@ export interface GitLabConfig {
*/
archived?: boolean;
/**
* List of individual projects to exclude from syncing. The project's namespace must be specified. See: https://docs.gitlab.com/ee/user/namespace/
* List of projects to exclude from syncing. Glob patterns are supported. The project's namespace must be specified, see: https://docs.gitlab.com/ee/user/namespace/
*/
projects?: string[];
};
Expand Down Expand Up @@ -163,7 +163,7 @@ export interface GiteaConfig {
*/
archived?: boolean;
/**
* List of individual repositories to exclude from syncing. Expected to be formatted as '{orgName}/{repoName}' or '{userName}/{repoName}'.
* List of individual repositories to exclude from syncing. Glob patterns are supported.
*/
repos?: string[];
};
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/zoekt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const indexGitRepository = async (repo: GitRepository, ctx: AppContext) =
...repo.tags ?? [],
];

const command = `zoekt-git-index -index ${ctx.indexPath} -branches ${revisions.join(',')} ${repo.path}`;
const command = `zoekt-git-index -allow_missing_branches -index ${ctx.indexPath} -branches ${revisions.join(',')} ${repo.path}`;

return new Promise<{ stdout: string, stderr: string }>((resolve, reject) => {
exec(command, (error, stdout, stderr) => {
Expand Down