Skip to content

Handle missing login in changelog generate script - #1823

Merged
alamb merged 1 commit into
apache:mainfrom
validio-io:change-log-script
Apr 28, 2025
Merged

alamb merged 1 commit into
apache:mainfrom
validio-io:change-log-script

Conversation

@iffyio

@iffyio iffyio commented Apr 25, 2025

Copy link
Copy Markdown
Contributor

Noticed during #1822 that the script initially failed due to this
commit
no longer having the associated GitHub user.

Updates the script to skip the username referencing in such cases.

Noticed during apache#1822 that the script initially failed
due to [this
commit](apache@10cf7c1)
no longer having the associated GitHub user.

Updates the script to skip the username referencing in such cases.
@iffyio
iffyio requested a review from alamb April 25, 2025 06:21
for (pull, commit) in pulls:
url = "https://github.com/{}/pull/{}".format(repo_name, pull.number)
print("- {} [#{}]({}) ({})".format(pull.title, pull.number, url, commit.author.login))
author = f"({commit.author.login})" if commit.author else ''

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @iffyio

@alamb
alamb merged commit 4e392f5 into apache:main Apr 28, 2025
@iffyio
iffyio deleted the change-log-script branch April 28, 2025 18:32
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