Skip to content

Conversation

@tsadler1988
Copy link
Collaborator

Gets contributors per article and adds them to the metadata used on the website.

Note that the GitHub data isn't perfect, so we get situations where e.g. the German introduction articles were moved, losing the contributor metadata before the move.

@rrrutledge
Copy link
Contributor

Nice! What does it look like?

@tsadler1988
Copy link
Collaborator Author

Nice! What does it look like?

Hey @rrrutledge, see screenshots on linked PR InnerSourceCommons/innersourcecommons.org#222.

throw Error('This script needs updating to handle >100 commits')
}

return [...new Set(history.nodes.map(node => node.author.name))]
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this response have the web URL of the author's profile page as well? I think it would be nice to pass that through so that their name can be rendered as a link back to their GitHub profile.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good idea, updated this PR and also InnerSourceCommons/innersourcecommons.org#222.

Copy link
Contributor

@rrrutledge rrrutledge left a comment

Choose a reason for hiding this comment

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

Nice!

@tsadler1988 tsadler1988 marked this pull request as ready for review November 7, 2020 15:33
@tsadler1988 tsadler1988 requested a review from a team as a code owner November 7, 2020 15:33
@tsadler1988
Copy link
Collaborator Author

Merge conflicts resolved - I will merge this tomorrow (Friday) if no one has any objections.

@tsadler1988 tsadler1988 merged commit a3f4db4 into InnerSourceCommons:master Nov 19, 2020
@tsadler1988 tsadler1988 deleted the get-article-contributors branch November 19, 2020 14:48
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.

Give credit to the translators of translations on our website next to the material. And other contributors for the main part.

2 participants