• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rero / sonar / 28932795420
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: zub-citation
DEFAULT BRANCH: master
Ran 08 Jul 2026 09:48AM UTC
Jobs 1
Files 283
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jul 2026 09:36AM UTC coverage: 94.664% (+0.05%) from 94.615%
28932795420

push

github

Garfield-fr
feat(documents): add bibliographic citation

* Render citations with citeproc-py against real CSL style files
  (APA 7, Chicago 17 author-date, MLA 9, Harvard 12)
* Vendor the 4 CSL style files under citations/styles/, named with
  their edition so multiple editions of the same style can coexist;
  Chicago is pinned to a pre-18th-edition revision to avoid an
  unfixed citeproc-py crash on cited page ranges
* Map SONAR documentType (COAR resource type) to CSL-JSON item types
* Mark citation style labels for translation
* Add GET /api/documents/<pid>/citation?style=&lang= endpoint
* Add GET /api/documents/citation-styles endpoint
* Closes #409.

Co-Authored-By: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>

139 of 143 new or added lines in 5 files covered. (97.2%)

7202 of 7608 relevant lines covered (94.66%)

0.95 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
95.83
sonar/modules/documents/citations/csl_mapping.py
Jobs
ID Job ID Ran Files Coverage
1 28932795420.1 08 Jul 2026 09:48AM UTC 283
94.66
GitHub Action Run
Source Files on build 28932795420
  • Tree
  • List 283
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28932795420
  • f3d98849 on github
  • Prev Build on staging (#28846352099)
  • Next Build on sonar-dev (#29003941555)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc