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

MITLibraries / transmogrifier / 5762633204 / 1
100%
main: 99%

Build:
Build:
LAST BUILD BRANCH: v3.8
DEFAULT BRANCH: main
Ran 04 Aug 2023 01:14PM UTC
Files 16
Run time 0s
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

04 Aug 2023 12:58PM UTC coverage: 99.729%. First build
5762633204.1

push

github

ghukill
Change Springshare link and identifier parsing

Why these changes are being introduced:
After some analysis of transformed Springshare records, it was discovered that some timdex_record_ids were undesirable / poorly formed.  For a subset of records, the dc:identifier value was a PHP URL pattern, that while a functional link, did not result in a good timdex record identifier.

Previously, the source record id and the source base url were tightly coupled in the transformer class, and could not be overridden by transformations.  This meant identifiers for the record must be concate-able with the base url.  In this situation, this was not possible for all records in the set.

How this addresses that need:
  * added two new methods in the base transformer class, get_source_link() and get_timdex_record_id()
  * update springshare transform to utilize the get_source_link() to generate a valid URL
  * update springshare transform to fallback on the more widely used pattern of using part of the OAI identifier as the timdex record id

Side effects of this change:
Two new OPTIONAL methods are available for transformers, get_source_link() and get_timdex_record_id().

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/TIMX-232

1106 of 1109 relevant lines covered (99.73%)

1.0 hits per line

Source Files on job 5762633204.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5762633204
  • 0f282aec on github
  • Next Job for on TIMX-232-springshare-ids (#5766407795.1)
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