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

Refactor script for checking CITATION.cff #2524

Merged
merged 17 commits into from
Feb 23, 2024

Conversation

namurphy
Copy link
Member

@namurphy namurphy commented Feb 22, 2024

This PR does some refactoring of the script that checks whether each author of a pull request is included in CITATION.cff.

This PR also fixes an error in the link to edit CITATION.cff. The link had previously pointed to the PlasmaPy/PlasmaPy repo instead of the fork. It does still assume that the fork is named "PlasmaPy" which will be true most of the time but possibly not all.

@github-actions github-actions bot added the GitHub Actions A continuous integration platform for automating tests and other tasks (see .github/ directory) label Feb 22, 2024
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.36%. Comparing base (20e60aa) to head (7a8a808).
Report is 33 commits behind head on main.

❗ Current head 7a8a808 differs from pull request most recent head b6b8789. Consider uploading reports for the commit b6b8789 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2524      +/-   ##
==========================================
+ Coverage   96.93%   97.36%   +0.42%     
==========================================
  Files         104      104              
  Lines        9163     9361     +198     
==========================================
+ Hits         8882     9114     +232     
+ Misses        281      247      -34     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot added the packaging Related to packaging or distribution label Feb 22, 2024
@namurphy namurphy marked this pull request as ready for review February 23, 2024 00:41
@namurphy namurphy requested a review from a team as a code owner February 23, 2024 00:41
@namurphy namurphy requested review from ejohnson-96 and removed request for a team and ejohnson-96 February 23, 2024 00:41

- given-names: <given names>
family-names: <family names>
affiliation: <affiliation>
orcid: https://orcid.org/<ORCiD number>
alias: {missing_github_username}
email: <email address>
Copy link
Member Author

Choose a reason for hiding this comment

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

We don't have a need for people's emails, so we can remove this. Plus, very few people have added the email field to their CITATION.cff entry, except for the most frequent contributors.


The entry should be of the form:
https://github.com/{username}/PlasmaPy/edit/{branch}/CITATION.cff
Copy link
Member Author

Choose a reason for hiding this comment

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

This link was incorrect before since it pointed to PlasmaPy/PlasmaPy instead of the fork.

@namurphy namurphy merged commit c24ae94 into PlasmaPy:main Feb 23, 2024
13 of 14 checks passed
@namurphy namurphy deleted the print-successful-author-check branch February 23, 2024 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GitHub Actions A continuous integration platform for automating tests and other tasks (see .github/ directory) no changelog entry needed packaging Related to packaging or distribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant