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

Handle CITATION.md and other files that GitHub supports #10

Open
mhucka opened this issue May 22, 2023 · 3 comments
Open

Handle CITATION.md and other files that GitHub supports #10

mhucka opened this issue May 22, 2023 · 3 comments
Labels
Enhancement ✨ New feature or request Priority ★ Low priority

Comments

@mhucka
Copy link
Contributor

mhucka commented May 22, 2023

Turns out that GitHub supports more than just CITATION.cff. We should be able to handle some of these others as well, if a repo lacks a CITATION.cff file.

https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files#other-citation-files

@tmorrell
Copy link
Member

GitHub doesn't attempt to parse those files into their component metadata, they just link to them. We can certainly add links to those files, but I don't think we should try to extract metadata from them.

@mhucka
Copy link
Contributor Author

mhucka commented May 22, 2023

Yeah, I don't think we can parse them; rather, I was thinking that if the repo doesn't have a CITATION.cff but does have, say, a CITATION.bib, we could feed that to the current bibtex conversion code and add the result to the references field in the metadata record.

@tmorrell
Copy link
Member

Yeah, that would work. Wouldn't show up anywhere at the moment...but eventually that would be a reasonable parsing of .bib files

@mhucka mhucka added Enhancement ✨ New feature or request Priority ★ Low priority labels May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ✨ New feature or request Priority ★ Low priority
Projects
None yet
Development

No branches or pull requests

2 participants