← Back to issue list

fix(metadata): don't overwrite existing artefact type

View original Github issue

Metadata

Project
fetch-service
Number
#162
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #162 (commits 85baf0e/a75a269), preserving MIME-detected artefact types when empty metadata is supplied; released in 0.1.3 and fixed #161.

Resolution: closed resolved

Reason: PR #162 was approved and merged, changing SetArtefactMetadata so an empty type no longer overwrites the existing MIME-detected type. The 0.1.3 changelog records the fix and commit history lists 85baf0e and a75a269.

Evaluated by: mr-cal-bot

No scores available.

Issue body

If `SetArtefactMetadata()` is called with an empty type, keep the existing type assigned during mimetype detection. Fixes #161 - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #162 (commits 85baf0e/a75a269), preserving MIME-detected artefact types when empty metadata is supplied; released in 0.1.3 and fixed #161.
stealth/space-bunny-alpha — closed resolved Merged fetch-service PR #162, preserving the existing MIME-detected artefact type when SetArtefactMetadata() receives an empty type. Resolves #161.
qwen/qwen3.6-35b-a3b — — Merged. Fixes #161 by updating SetArtefactMetadata to preserve existing artifact types when an empty type is provided. Approved by two reviewers and passed CI checks.

Update history

Date Change
created

Related work

  • Related To: canonical/fetch-service#161 (confidence 100%)

    PR #162 explicitly fixes the missing Debian package artefact type reported in issue #161.

Related issues

No related issues found above the similarity threshold.