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

More robust count_commits() #67

Closed
timvink opened this issue Dec 13, 2021 · 1 comment
Closed

More robust count_commits() #67

timvink opened this issue Dec 13, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@timvink
Copy link
Owner

timvink commented Dec 13, 2021

Not sure what caused it, but this line:

Caused a

  File "/usr/local/lib/python3.9/site-packages/mkdocs_git_revision_date_localized_plugin/ci.py", line 88, in <listcomp>
    refs = [x.split()[0] for x in refs]
IndexError: list index out of range
@timvink timvink added the bug Something isn't working label Dec 13, 2021
@timvink
Copy link
Owner Author

timvink commented Dec 13, 2021

Repo was cloned on Tekton using

/ko-app/git-init \
# other parms
    -depth="${DEPTH}"

Where default value of DEPTH is 1

timvink added a commit that referenced this issue Feb 21, 2022
Simplify count_commits() and add unit tests, closes #67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant