Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add contributors on own line option#1004

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
boardfish wants to merge1 commit intogithub-changelog-generator:master
base:master
Choose a base branch
Loading
fromboardfish:add-contributors-on-own-line

Conversation

boardfish
Copy link

@boardfishboardfish commentedJan 5, 2022
edited
Loading

Hey, folks! I'm investigating adopting this for ViewComponent. As I identifiedhere, 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

@yykameiyykamei 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 👀

@@ -97,14 +98,18 @@ def body_till_first_break(body)
def issue_line_with_user(line, issue)
return line if !@options[:author] || issue["pull_request"].nil?

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

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 returnString 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 freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@yykameiyykameiyykamei left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@boardfish@yykamei

[8]ページ先頭

©2009-2025 Movatter.jp