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

eclipse-aascw / aas-package3-golang / 38358002007
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v2.1.0
DEFAULT BRANCH: main
Ran 13 Oct 2026 06:40AM UTC
Jobs 1
Files 2
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

13 Oct 2026 06:39AM UTC coverage: 92.075% (+0.5%) from 91.528%
38358002007

Pull #16

github

aaronzi
Compare part names independent of encoding

The parts map was keyed by the raw ZIP entry name while FindPart used
the decoded url.URL.Path. A part stored under an OPC-conformant,
percent-encoded name such as aasx/suppl/a%20b.pdf could therefore not
be found, not even with its own Part.URI, and neither could parts with
a space that this library had written itself. Entries with a literal
space were renamed on Flush while their relationship targets kept the
literal name, which broke the package on a plain round trip.

ISO/IEC 29500-2 part names are URIs compared case-insensitively, so map
keys are now built from the decoded, lowercased and re-encoded path
segments, and URIs are keyed by their escaped path. Parts read from an
archive remember their entry name, which is reused on Flush, and
relationship parts are named after their source part instead of the
lowercased map key. PackageWriter now writes percent-encoded entry
names.

This mirrors eclipse-aascw/aas-package3-typescript#83.
Pull Request #16: Compare part names independent of percent-encoding

63 of 64 new or added lines in 1 file covered. (98.44%)

9 existing lines in 1 file now uncovered.

1429 of 1552 relevant lines covered (92.07%)

1455.49 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
92.04
0.55% package.go

Coverage Regressions

Lines Coverage ∆ File
9
92.04
0.55% package.go
Jobs
ID Job ID Ran Files Coverage
1 38358002007.1 13 Oct 2026 06:40AM UTC 2
92.07
GitHub Action Run
Source Files on build 38358002007
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #16
  • PR Base - main (#29778952179)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc