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

gitlog2changelog.py fails with non-default Git configuration #487

Closed
michaelkuhn opened this issue Mar 20, 2023 · 1 comment
Closed

gitlog2changelog.py fails with non-default Git configuration #487

michaelkuhn opened this issue Mar 20, 2023 · 1 comment
Labels
Milestone

Comments

@michaelkuhn
Copy link

Describe the bug

When trying to build the main branch, gitlog2changelog.py failed with:

Traceback (most recent call last):
  File "$SPACK_STAGE/spack-src/script/gitlog2changelog.py", line 55, in <module>
    date = dateList[1]
           ~~~~~~~~^^^
IndexError: list index out of range

This seems to be due to my .gitconfig containing:

[format]
  pretty = fuller

To Reproduce

Requires: spack/spack#36268

$ spack install environment-modules@main target=x86_64

Expected behavior

gitlog2changelog.py should also work with non-default configurations.

Error and debugging information

n/a

Modules version and configuration

n/a

Additional context

n/a

@xdelaruelle
Copy link
Member

Many thanks for this issue report.

@xdelaruelle xdelaruelle added this to the 5.3 milestone Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants