Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix metadata for the new appstream validator #100

Merged
merged 4 commits into from
Mar 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions data/app.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@
<id>@app_id@</id>
<launchable type="desktop-id">@[email protected]</launchable>
<name translatable="no">Biblioteca</name>
<developer_name translatable="no">Akshay Warrier</developer_name>
<developer id="com.github.AkshayWarrier">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ximion/appstream#617

I want to see if upper case is a blocker on Flathub

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't validate developer-id on Flathub, but upstream appstream is forbids it like you found.

<name>Akshay Warrier</name>
</developer>
<update_contact>[email protected]</update_contact>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0</project_license>
<summary>Read documentation</summary>
<summary>Read GNOME documentation offline</summary>
<translation type="gettext">@app_id@</translation>
<description>
<p>Biblioteca lets you browse and read GNOME documentation.</p>
<p>Among other things, Biblioteca comes with</p>
<p>Biblioteca lets you browse and read GNOME documentation. Among other things, Biblioteca comes with</p>
<ul>
<li>Offline documentation</li>
<li>Web browsing</li>
<li>Tabs</li>
<li>Dark mode support</li>
<li>Fuzzy search</li>
<li>Mobile / adaptive</li>
Expand All @@ -27,6 +30,7 @@
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/workbenchdev/Biblioteca/main/data/screenshot.png</image>
<caption>Biblioteca main window with GTK 4 docs selected</caption>
</screenshot>
</screenshots>
<content_rating type="oars-1.1" />
Expand Down Expand Up @@ -67,4 +71,8 @@
<control>pointing</control>
<control>touch</control>
</recommends>
<branding>
<color type="primary" scheme_preference="light">#99c1f1</color>
<color type="primary" scheme_preference="dark">#1c71d8</color>
Comment on lines +75 to +76
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blue 1 and 4 from the GNOME color palette

https://docs.flathub.org/blog/introducing-app-brand-colors/

</branding>
</component>