Fixed GitHub organization and GitLab group scans when using '--git-history=none'

This commit is contained in:
Mick Grove 2025-08-07 16:13:57 -07:00
commit 63125b3a7f
7 changed files with 43 additions and 15 deletions

View file

@ -60,7 +60,7 @@ pub struct GitHubRepoSpecifiers {
pub all_organizations: bool,
/// Filter by repository type
#[arg(long, default_value_t = GitHubRepoType::Source, alias = "github-repo-type")]
#[arg(long, default_value_t = GitHubRepoType::All, alias = "github-repo-type")]
pub repo_type: GitHubRepoType,
}

View file

@ -60,7 +60,7 @@ pub struct InputSpecifierArgs {
)]
pub github_api_url: Url,
#[arg(long, default_value_t = GitHubRepoType::Source)]
#[arg(long, default_value_t = GitHubRepoType::All)]
pub github_repo_type: GitHubRepoType,
// GitLab Options
@ -85,7 +85,7 @@ pub struct InputSpecifierArgs {
)]
pub gitlab_api_url: Url,
#[arg(long, default_value_t = GitLabRepoType::Owner)]
#[arg(long, default_value_t = GitLabRepoType::All)]
pub gitlab_repo_type: GitLabRepoType,
/// Jira base URL (e.g. https://jira.example.com)