Draft: Add citation support for repositories

What does this MR do and why?

  • Resolves #337368
  • In this MR we aim to implement basic support for rendering software citation metadata from CITATION.cff files in the Citation File Format (DFF) present in the repository.
  • This should be similar to what GitHub does (see #337368 for details).
  • Implementation plan:
    • Add a link to the repository landing page when a CITATION.cff file is detected.
    • Upon clicking the link, go to the file page for the CITATION.cff file
    • Add a header providing basic documentation about what user is looking at as well as copy-and-pastable citation strings
    • Citation strings are rendered from contents of CFF file via the ruby-cff gem (which is also what GitHub uses)

References

See above

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #337368

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading
Loading