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

Skip repos without default branch #312

Merged
merged 1 commit into from
Sep 10, 2020
Merged

Conversation

eseliger
Copy link
Member

@eseliger eseliger commented Sep 9, 2020

These are usually empty repos with 0 branches.

Not sure if we would want to log those?

Closes #293

These are usually empty repos with 0 branches.
Copy link
Contributor

@LawnGnome LawnGnome left a comment

Choose a reason for hiding this comment

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

This looks good.

In terms of logging, I'm on the fence. We could extend ResolveRepositories() to return a third array of skipped repositories, but we probably wouldn't surface that except when the user is calling src campaign validate, which might be too hidden for the normal case.

Let's leave it like this for now and see if it's confusing in practice.

@eseliger eseliger merged commit 007ed6d into main Sep 10, 2020
@eseliger eseliger deleted the es/fix-default-branch-panic branch September 10, 2020 13:18
scjohns pushed a commit that referenced this pull request Apr 24, 2023
These are usually empty repos with 0 branches.
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