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

rero / sonar / 978
99%
master: 95%

Build:
Build:
LAST BUILD BRANCH: rep-project-validation
DEFAULT BRANCH: master
Ran 11 Sep 2020 02:46PM UTC
Jobs 1
Files 112
Run time 29s
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

pending completion
978

push

travis-ci

sebastiendeleze
records: refactor file handling

This commit aims to refactor the way files are handled when added to a record, to be more generalistic and have specific treatment for documents without affecting others records types.

* Moves specific methods `create_thumbnail` and `create_fulltext_file` in `DocumentRecord`
* Tests file existence to determine if file have to be processed.
* Handles files metadata in a more generalistic way.
* Connects to `file_uploaded` and `file_deleted` signals with to different functions, to know if the file is deleted when processing.
* Removes `size` property when harvesting from RERODOC, as this property is calculated when the file is created.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>

3314 of 3314 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 978.1 11 Sep 2020 02:46PM UTC 0
100.0
Travis Job 978.1
Source Files on build 978
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #978
  • 0c7f20f3 on github
  • Prev Build on dev (#976)
  • Next Build on dev (#983)
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