appstream: Fix validation problems
Rename the file to match its ID, add developer tag, and extend the description. This fixes all issues with `appstreamcli validate`: > I: org.cockpit_project.starter_kit:10: description-first-para-too-short > Scaffolding for a cockpit module. > I: org.cockpit_project.starter_kit:~: developer-info-missing > W: org.cockpit_project.starter_kit:~: metainfo-filename-cid-mismatch
This commit is contained in:
parent
7362dc0e04
commit
25c623dd59
2 changed files with 7 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -10,7 +10,7 @@ TARFILE=$(RPM_NAME)-$(VERSION).tar.xz
|
||||||
NODE_CACHE=$(RPM_NAME)-node-$(VERSION).tar.xz
|
NODE_CACHE=$(RPM_NAME)-node-$(VERSION).tar.xz
|
||||||
SPEC=$(RPM_NAME).spec
|
SPEC=$(RPM_NAME).spec
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
APPSTREAMFILE=org.cockpit-project.$(PACKAGE_NAME).metainfo.xml
|
APPSTREAMFILE=org.cockpit_project.$(subst -,_,$(PACKAGE_NAME)).metainfo.xml
|
||||||
VM_IMAGE=$(CURDIR)/test/images/$(TEST_OS)
|
VM_IMAGE=$(CURDIR)/test/images/$(TEST_OS)
|
||||||
# stamp file to check for node_modules/
|
# stamp file to check for node_modules/
|
||||||
NODE_MODULES_TEST=package-lock.json
|
NODE_MODULES_TEST=package-lock.json
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,9 @@
|
||||||
<description>
|
<description>
|
||||||
<p>
|
<p>
|
||||||
Scaffolding for a cockpit module.
|
Scaffolding for a cockpit module.
|
||||||
|
|
||||||
|
This is just a demo which does not do much. Please replace
|
||||||
|
this with a real description.
|
||||||
</p>
|
</p>
|
||||||
</description>
|
</description>
|
||||||
<extends>org.cockpit_project.cockpit</extends>
|
<extends>org.cockpit_project.cockpit</extends>
|
||||||
|
|
@ -14,4 +17,7 @@
|
||||||
<url type="homepage">https://github.com/cockpit-project/starter-kit</url>
|
<url type="homepage">https://github.com/cockpit-project/starter-kit</url>
|
||||||
<url type="bugtracker">https://github.com/cockpit-project/starter-kit/issues</url>
|
<url type="bugtracker">https://github.com/cockpit-project/starter-kit/issues</url>
|
||||||
<update_contact>cockpit-devel_AT_lists.fedorahosted.org</update_contact>
|
<update_contact>cockpit-devel_AT_lists.fedorahosted.org</update_contact>
|
||||||
|
<developer id="org.cockpit-project">
|
||||||
|
<name>Cockpit Project</name>
|
||||||
|
</developer>
|
||||||
</component>
|
</component>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue