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

Recognise multiple authors #303

Open
simbabque opened this issue Feb 20, 2021 · 0 comments
Open

Recognise multiple authors #303

simbabque opened this issue Feb 20, 2021 · 0 comments

Comments

@simbabque
Copy link

When there is more than one author in your module documentation only the first one will end up in the META.json file. This distribution itself is a good example for this happening.

In https://github.com/tokuhirom/Minilla/blob/master/lib/Minilla.pm#L510 there are two authors. But in https://github.com/tokuhirom/Minilla/blob/master/META.json it only lists the first one.

Given the code actually speaks about @authors in https://github.com/tokuhirom/Minilla/blob/master/lib/Minilla/Metadata.pm#L124 and actually splits the line of $author information on line breaks, I am pretty sure it was intended that there are multiple authors. But because the initial match stops at newline character it only gets the first one.

I think that is a bug. If there are multiple authors listed, it should include them all in the META files.

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

No branches or pull requests

1 participant