Skip to content

Conversation

@boardfish
Copy link

@boardfish boardfish commented Jan 5, 2022

Hey, folks! I'm investigating adopting this for ViewComponent. As I identified here, we'd need a few tweaks to do so and reflect the current changelog. This is one of them - my implementation feels a little bit sketchy so far, so I'd appreciate any advice I can get on how to comfortably have this sit alongside the current code.

At a glance, it'll take PRs from looking like this:

- Add contributors on own line options [\\#1004](https://github.com/github-changelog-generator/github-changelog-generator/pull/1004) ([@boardfish](github.com/boardfish)

to this:

- Add contributors on own line options [\\#1004](https://github.com/github-changelog-generator/github-changelog-generator/pull/1004)

  *[@boardfish](github.com/boardfish)*

Copy link

@yykamei yykamei left a comment

Choose a reason for hiding this comment

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

Hi, I'm not a maintainer, but I'm interested in this pull request. In my opinion, It looks good 👍 but I left a trivial comment.

I wonder what's next if it's ready to merge 👀


user = issue["user"]
user = user(issue["user"])
return "#{line} ({Null user})" unless user
Copy link

Choose a reason for hiding this comment

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

GitHubChangelogGenerator::Section#user seems to only return String as far as I see, so I think this line is no longer needed.

Suggested change
return "#{line} ({Null user})" unless user

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