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

spdx / tools-golang / 26857056894 / 1
86%
main: 86%

Build:
Build:
LAST BUILD BRANCH: fix/convert-licenses
DEFAULT BRANCH: main
Ran 03 Jun 2026 08:11PM UTC
Files 139
Run time 6s
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

03 Jun 2026 12:49AM UTC coverage: 86.458% (+0.003%) from 86.455%
26857056894.1

Pull #286

github

arpitjain099
spdxlib: allow NONE and NOASSERTION on the right side of relationships

ValidateDocument checked every relationship's RefA and RefB against the
set of element identifiers defined in the document. The tag-value parser
correctly accepts the NONE and NOASSERTION keywords on the right-hand
side of a relationship and stores them as a DocElementID with SpecialID
set and an empty ElementRefID. As a result a spec-valid document such as

    Relationship: SPDXRef-Pkg CONTAINS NOASSERTION

parsed successfully but then failed validation with a misleading "used
in relationship but no such package exists" error (with an empty
identifier in the message).

SPDX 2.3 section 11.1 permits both NONE and NOASSERTION on the right
side of a relationship. Skip the element-existence check when RefA or
RefB carries a non-empty SpecialID, since a special value is not a
reference to an element defined in the document.

Fixes #236

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
Pull Request #286: spdxlib: allow NONE and NOASSERTION on the right side of relationships

7559 of 8743 relevant lines covered (86.46%)

18.69 hits per line

Source Files on job 26857056894.1
  • Tree
  • List 139
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26857056894
  • 01d7ce91 on github
  • Prev Job for on fix/validate-noassertion-relationships (#22317656258.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