Comments (4)
Using appstream-glib for this is no longer ideal, because it does not validate a lot of new concepts used in AppStream today.
Validating with appstreamcli
instead gives you:
~$ appstreamcli validate io.sourceforge.kbd-tapper.metainfo.xml
W: io.sourceforge.kbd-tapper:25: tag-empty requires
E: io.sourceforge.kbd-tapper:26: tag-invalid-text-content recommends
I: io.sourceforge.kbd-tapper:3: cid-contains-hyphen io.sourceforge.kbd-tapper
✘ Validation failed: errors: 1, warnings: 1, infos: 1
So, your requires tag in line 25 is empty, and your recommends tag in line 26 is invalid (see https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-relations for how this should look like).
from appstream-glib.
Using appstream-glib for this is no longer ideal, because it does not validate a lot of new concepts used in AppStream today.
Thanks for replacement, but it does not solve the issue. Is appstream-util
still maintained or completely abandoned? I see no reason why it doesn't print the warning like this one:
$ appstream-util validate ./io.sourceforge.kbd-tapper.metainfo.xml
Warning: 'appstream-util validate' is outdated, use 'appstreamcli' instead.
...
from appstream-glib.
Is appstream-util still maintained or completely abandoned?
I think @hughsie would call it "deep maintenance mode" ;-) - no major new features, but bugfixes are still applied and releases made.
Appstream-glib is a separate project from AppStream itself, I'm not sure if it should print a warning like this... (would certainly not be a decision that I should make, as I am very biased and not the project's maintainer).
How does using the newer tool not solve the issue? As far as I can see, it tells you exactly what you want to know...
from appstream-glib.
How does using the newer tool not solve the issue? As far as I can see, it tells you exactly what you want to know...
Your suggestion solves my problem. But it does not solve the problem the ticket is about: "Error reporting of 'appstream-util validate' is too vague." I understand appstream-util
is in "deep maintenance mode", but I think it is good idea to inform users about it.
from appstream-glib.
Related Issues (20)
- Update license list to include OFL-1.1-RFN HOT 1
- Please document news-to-appdata script HOT 8
- New Release HOT 4
- as-self-test fails since 0.8.0 HOT 5
- RFE: port to gtk4 and libsoup-3.0 HOT 2
- as-app-validate.c fails to initialize GProxyResolver before using it HOT 1
- Crashes when trying to check remote assets HOT 5
- Segfaults validating falkon appdata HOT 8
- Make validate complain if there's two <releases> tags HOT 3
- Screenshot maximum size is arbitrary and not mentioned in the spec HOT 2
- generated appdata doesn't contain an icon when id doesn't contain .desktop suffix
- Support more icon sizes HOT 7
- <recommends> tag support HOT 7
- Is Appstream-buider suitable to use with local mirror to make appstream metadata ? HOT 2
- RFE: is it possible to start making github releases?🤔 HOT 1
- Duplicated data detected while there is none HOT 1
- Appstream-builder might be mishandling license strings HOT 5
- FTBFS on ubuntu 24.04 due to yaml content type detection in test
- appstream-build: Relax <extends/> requirements
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appstream-glib.