Coder Social home page Coder Social logo

Displaying suggested packages about appstream HOT 1 CLOSED

aleixpol avatar aleixpol commented on September 27, 2024
Displaying suggested packages

from appstream.

Comments (1)

ximion avatar ximion commented on September 27, 2024

Short version: We discussed that in-depth about a year ago, and a suggests/enhances/recommends system will not happen.

Long version: We have addons to indicate extensions to enhance a certain software component. If a software requires certain stuff to be present, or recommends it to be there, it should depend on it, bundle it, or let the package manager handle the details. AppStream is no place for this packaging logic.

If an application finds out that it needs a specific addon to perform a task, it can request any AppStream-capable software center to prompt the user to install a missing module, or just use AppStream directly to install the piece.

The package manager should manage the complicated dependencies and allow the fine-grained verbose mode of handling dependencies, including very technical bits. AppStream is not set to replicate and duplicate the logic and metadata a package manager provides.

It could be that you want some kind of reverse-addon logic here, so something that allows an app to suggest other apps which go well with it (e.g. "if user has KDevelop, they might also want cmake").
This logic is already defined and available in AppStream, both for upstream projects to define (type="upstream") and machines to select (type="heuristic"). See https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-suggests and https://www.freedesktop.org/software/appstream/docs/chap-CollectionData.html#tag-ct-suggests

from appstream.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.