Giter Site home page Giter Site logo

Comments (4)

bbhtt avatar bbhtt commented on August 16, 2024

@bbhtt might know which version of appstream is currently used for Flathub.

1.0.3.

I do have a faint memory of keywords being merged but maybe that's with appstream-glib.

from appstream.

ximion avatar ximion commented on August 16, 2024

I am pretty sure the intent is that the contents of the metainfo file override stuff from the desktop file, and that this was actually changed nearly a decade ago due to issues with the merging. So, I am pretty sure this works as intended.

Why would you want to define keywords in two separate places?

from appstream.

Alexander-Wilms avatar Alexander-Wilms commented on August 16, 2024

I would prefer to only define them in the .desktop file so they get used for the search in application launchers as well as software centers. See also #636

But since metainfo files also support keywords, since not every component has a .desktop file, I'd expect them to get merged.

Right now, some apps use the keywords from the .desktop file and some do not, which I think is confusing.

from appstream.

bbhtt avatar bbhtt commented on August 16, 2024

If they are overridden, the spec should mention it. Seems like I was relying on pre-libappstream behaviour here. I fixed the docs for now.

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.