Skip to content

Commit f22bf95

Browse files
authored
Merge pull request #101 from github/debug-skips
chore: add skip debug prints
2 parents 890f40c + 0c3eeab commit f22bf95

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

evergreen.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,36 @@ def main(): # pragma: no cover
6464

6565
# Check all the things to see if repo is eligble for a pr/issue
6666
if repo.full_name in exempt_repositories_list:
67+
print("Skipping " + repo.full_name + " (exempted)")
6768
continue
6869
if repo.archived:
70+
print("Skipping " + repo.full_name + " (archived)")
6971
continue
7072
if repo.visibility.lower() not in filter_visibility:
73+
print("Skipping " + repo.full_name + " (visibility-filtered)")
7174
continue
7275
try:
7376
if repo.file_contents(".github/dependabot.yml").size > 0:
77+
print(
78+
"Skipping " + repo.full_name + " (dependabot file already exists)"
79+
)
7480
continue
7581
except github3.exceptions.NotFoundError:
7682
pass
7783
try:
7884
if repo.file_contents(".github/dependabot.yaml").size > 0:
85+
print(
86+
"Skipping " + repo.full_name + " (dependabot file already exists)"
87+
)
7988
continue
8089
except github3.exceptions.NotFoundError:
8190
pass
8291

8392
if is_repo_created_date_before(repo.created_at, created_after_date):
93+
print("Skipping " + repo.full_name + " (created after filter)")
8494
continue
8595

86-
print("Checking " + repo.full_name)
96+
print("Checking " + repo.full_name + "for compatible package managers")
8797
# Try to detect package managers and build a dependabot file
8898
dependabot_file = build_dependabot_file(
8999
repo, group_dependencies, exempt_ecosystems

0 commit comments

Comments
 (0)