Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability for RepoInfo to iter config files #21

Merged
merged 1 commit into from
Oct 24, 2024
Merged

Add ability for RepoInfo to iter config files #21

merged 1 commit into from
Oct 24, 2024

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented Oct 23, 2024

This will be necessary for building up a list of targets.

@cmyr cmyr force-pushed the iter-configs branch 2 times, most recently from b4b08c5 to 7bf037b Compare October 23, 2024 21:43
src/lib.rs Outdated
let rev = get_git_rev(&local_repo_dir).map_err(ConfigFetchIssue::GitFail)?;
Ok((configs, rev))
if !skip_naive {
let naive = config_file_and_rev_from_remote_naive(repo_url).map(|(p, rev)| (vec![p], rev));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I don't find the naive naming informative, maybe we could be more descriptive? - for example, try_standard_config_location or some such

This will be necessary for building up a list of targets.
@cmyr cmyr merged commit 2a131a4 into main Oct 24, 2024
4 checks passed
@cmyr cmyr deleted the iter-configs branch October 24, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants