openSUSE / openSUSE/libsolv

Support parsing and caching AppStream categories in solvable metadata

Open
#613 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
609
Forks
177
PR merge metrics
No merged PRs in 30d

Description

TL;DR:
AppStream categories installed by libzypp-plugin-appdata aren’t stored in the libsolv cache, so frontends like zypper and Myrlyn cannot query them. Requesting libsolv support to parse and store these categories as solvable keywords or attributes.

Hello libsolv maintainers

I’m following up on a discussion in libzypp issue #720
about exposing AppStream categories via the libzypp API.

It was suggested that libsolv would need to be able to parse this metadata into the solvable cache (for example, as package keywords). If the categories are cached in this way, frontends could then offer searches for them.

I don’t have a full understanding of the internal details, but I’m hoping support could be added in libsolv to parse and store AppStream categories (or similar metadata) as solvable keywords or attributes. Once cached, libzypp and frontends like zypper and Myrlyn could provide meaningful, category-based searches, improving package discoverability and software center integration.

This came about as the result of a discussion at
https://forums.opensuse.org/t/myrlyn-rpm-groups-view-is-back-do-we-want-it/187677

I hope this makes sense...I'm happy to provide further details or examples if that would help.

Thank you for considering this enhancement.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no libsolv files, entry points, or tests. Start by reviewing libzypp issue #720 and the AppStream metadata produced by libzypp-plugin-appdata, then trace how repository metadata is parsed and cached. Done means AppStream categories are stored in solvable metadata in a form that libzypp and frontends can query.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.