mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-11 20:05:25 +00:00
enable allow_missing_branches (#73)
This commit is contained in:
parent
e6d90398e4
commit
bea86a64c9
2 changed files with 4 additions and 4 deletions
|
|
@ -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[];
|
||||
};
|
||||
|
|
@ -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[];
|
||||
};
|
||||
|
|
@ -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[];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue