Skip to content

Add appstream support#1543

Merged
neolynx merged 12 commits intoaptly-dev:masterfrom
PhilipCramer:feat/appstream-mirror-support
Apr 26, 2026
Merged

Add appstream support#1543
neolynx merged 12 commits intoaptly-dev:masterfrom
PhilipCramer:feat/appstream-mirror-support

Conversation

@PhilipCramer
Copy link
Copy Markdown
Contributor

@PhilipCramer PhilipCramer commented Mar 3, 2026

Fixes # N/A - New feture

Requirements

All new code should be covered with tests, documentation should be updated. CI should pass.

Also, to speed up things, if you could kindly "Allow edits and access to secrets by maintainers" in the
PR settings, as this allows us to rebase the PR on master, fix conflicts, run coverage and help with
implementing code and tests.

Description of the Change

Adds option to include AppStream (DEP-11) metadata, so software centers like GNOME Software and KDE Discover work against aptly-published repos.

The feature is optinal with a --with-appstream flag to mirror create/edit (and the corresponding API field) that downloads and republishes dep11 files, same pattern as --with-sources and --with-installer.

Checklist

  • allow Maintainers to edit PR (rebase, run coverage, help with tests, ...)
  • unit-test added (if change is algorithm)
  • functional test added/updated (if change is functional)
  • man page updated (if applicable)
  • bash completion updated (if applicable)
  • documentation updated
  • author name in AUTHORS

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 3, 2026

Codecov Report

❌ Patch coverage is 82.45614% with 20 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (master@48355f6). Learn more about missing BASE report.
⚠️ Report is 13 commits behind head on master.

Files with missing lines Patch % Lines
deb/remote.go 87.75% 3 Missing and 3 partials ⚠️
api/mirror.go 16.66% 4 Missing and 1 partial ⚠️
deb/publish.go 73.68% 3 Missing and 2 partials ⚠️
cmd/mirror_edit.go 60.00% 1 Missing and 1 partial ⚠️
cmd/mirror_update.go 66.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1543   +/-   ##
=========================================
  Coverage          ?   76.77%           
=========================================
  Files             ?      160           
  Lines             ?    14967           
  Branches          ?        0           
=========================================
  Hits              ?    11491           
  Misses            ?     2338           
  Partials          ?     1138           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@neolynx neolynx self-assigned this Mar 28, 2026
@neolynx neolynx force-pushed the feat/appstream-mirror-support branch from db4668c to 63e543a Compare April 12, 2026 18:43
@neolynx
Copy link
Copy Markdown
Member

neolynx commented Apr 12, 2026

rebased on master

@neolynx neolynx requested a review from a team April 12, 2026 19:24
@neolynx neolynx added the needs review Ready for review & merge label Apr 12, 2026
@neolynx neolynx force-pushed the feat/appstream-mirror-support branch from 63e543a to a7a4bb7 Compare April 26, 2026 13:05
Copy link
Copy Markdown
Member

@neolynx neolynx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot !

@neolynx neolynx merged commit 45f3da2 into aptly-dev:master Apr 26, 2026
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review Ready for review & merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants