Skip to content

Commit f8e2752

Browse files
committed
build: Validate the appdata file
1 parent 02bc9e0 commit f8e2752

File tree

2 files changed

+46
-45
lines changed

2 files changed

+46
-45
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19-
- name: Install dependencies for OpenSSH
19+
- name: Install validation tools
20+
run: sudo apt-get install -y appstream flatpak-builder
21+
22+
- name: Install dependencies for compiling OpenSSH
2023
run: |
2124
sudo apt-get update
2225
sudo apt-get install -y build-essential zlib1g-dev libssl-dev libncurses5-dev
@@ -33,3 +36,9 @@ jobs:
3336
3437
- name: Run tests
3538
run: cargo test -- --test-threads=1
39+
40+
- name: Validate AppData file
41+
run: appstreamcli validate --pedantic data/studio.planetpeanut.Twinkle.appdata.xml
42+
43+
- name: Validate flatpak-builder file
44+
run: flatpak-builder --dry-run data/studio.planetpeanut.Twinkle.yml

data/studio.planetpeanut.Twinkle.appdata.xml

Lines changed: 36 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,78 +2,70 @@
22
<component type="desktop-application">
33
<name>Twinkle</name>
44
<summary>Automatically sync your files with Git</summary>
5-
<developer_name>Hylke Bons</developer_name>
5+
<id>studio.planetpeanut.twinkle</id>
66
<project_license>GPL-3.0+</project_license>
77

8+
<developer id="studio.planetpeanut">
9+
<name>Hylke Bons</name>
10+
<email>hello_AT_planetpeanut.studio</email>
11+
<url type="homepage">https://planetpeanut.studio</url>
12+
</developer>
13+
814
<url type="homepage">https://www.github.com/hbons/Twinkle</url>
915
<url type="bugtracker">https://www.github.com/hbons/Twinkle/issues</url>
10-
<url type="donation">https://planetpeanut.studio/</url>
16+
<url type="donation">https://github.com/sponsors/hbons</url>
17+
18+
<screenshots>
19+
<screenshot type="default">
20+
<image type="source" width="1200" height="675">https://raw.githubusercontent.com/hbons/SparkleShare/master/SparkleShare/Linux/Images/gnome-software-screenshot-1.jpg</image>
21+
<caption>Sync projects to your computer</caption>
22+
</screenshot>
23+
<screenshot>
24+
<image type="source" width="1200" height="675">https://raw.githubusercontent.com/hbons/SparkleShare/master/SparkleShare/Linux/Images/gnome-software-screenshot-2.jpg</image>
25+
<caption>Projects added to your SparkleShare folder sync automatically</caption>
26+
</screenshot>
27+
<screenshot>
28+
<image type="source" width="1200" height="675">https://raw.githubusercontent.com/hbons/SparkleShare/master/SparkleShare/Linux/Images/gnome-software-screenshot-3.jpg</image>
29+
<caption>View your team's file history</caption>
30+
</screenshot>
31+
</screenshots>
1132

1233
<description>
13-
<p>SparkleShare is a file sharing and collaboration app. It works just like Dropbox, and you can run it on your own server.</p>
14-
<p>SparkleShare is based on the popular version control system Git. It even supports the popular extension Git LFS to deal well with large files. So if you are already using Git repositories in your company, SparkleShare will integrate seamlessly.</p>
34+
<p>Twinkle is the spiritual successor of SparkleShare. It's like a Git-based Dropbox, so you can host your own server.</p>
35+
<p>Twinkle is based on the popular version control system Git. It even supports the popular extension Git LFS to deal well with large files. So if you are already using Git repositories in your company, Twinkle will integrate seamlessly.</p>
1536
</description>
1637

1738
<releases>
18-
<release version="3.28.0" date="2018-07-14" urgency="medium">
39+
<release version="49.0.0" date="2025-09-17" urgency="medium">
1940
<description>
20-
<p>Fixes and improvements:</p>
2141
<ul>
22-
<li>Use appindicator as the default status icon and supported by the flatpak</li>
23-
<li>Fix recent changes window showing broken entries with newer versions of Git</li>
42+
<li>First release under the Twinkle name</li>
43+
<li>Rewrite in Rust</li>
44+
<li>…</li>
2445
</ul>
2546
</description>
2647
</release>
27-
<release version="2.0.1" date="2017-12-04" urgency="low">
48+
<release version="3.28.0" date="2018-07-14" urgency="medium">
2849
<description>
29-
<p>Fixes and improvements:</p>
3050
<ul>
31-
<li>Fix files created by conflict resolution being moved to the root folder</li>
32-
<li>On conflicts, both diverging versions plus the original version are now kept</li>
51+
<li>Last release under the SparkleShare name</li>
52+
<li>Use appindicator as the default status icon and supported by the flatpak</li>
53+
<li>Fix recent changes window showing broken entries with newer versions of Git</li>
3354
</ul>
3455
</description>
3556
</release>
36-
<release version="2.0.0" date="2017-09-10" urgency="medium">
37-
<description>
38-
<p>SparkleShare 2.0 is a clean break and will be incompatible with the 1.x series. Repositories added using 1.0 will likely not work and will have to be re-synced to take advantage of 2.0 features (1.x and 2.x clients will still be able to sync to the same repository without problems).</p>
39-
<ul>
40-
<li>Support for Git LFS managed repositories</li>
41-
<li>Projects are now grouped by host or organisation</li>
42-
<li>In encrypted repositories, name and email metadata is now also encrypted</li>
43-
<li>Change notification preferences from GNOME System Settings</li>
44-
<li>New GitLab preset</li>
45-
<li>New app icon by Sam Hewitt</li>
46-
</ul>
47-
</description>
48-
</release>
4957
</releases>
5058

51-
<screenshots>
52-
<screenshot type="default">
53-
<caption>Sync projects to your computer</caption>
54-
<image type="source" width="1200" height="675">https://raw.githubusercontent.com/hbons/SparkleShare/master/SparkleShare/Linux/Images/gnome-software-screenshot-1.jpg</image>
55-
</screenshot>
56-
<screenshot>
57-
<caption>Projects added to your SparkleShare folder sync automatically</caption>
58-
<image type="source" width="1200" height="675">https://raw.githubusercontent.com/hbons/SparkleShare/master/SparkleShare/Linux/Images/gnome-software-screenshot-2.jpg</image>
59-
</screenshot>
60-
<screenshot>
61-
<caption>View your team's file history</caption>
62-
<image type="source" width="1200" height="675">https://raw.githubusercontent.com/hbons/SparkleShare/master/SparkleShare/Linux/Images/gnome-software-screenshot-3.jpg</image>
63-
</screenshot>
64-
</screenshots>
65-
66-
<id>studio.planetpeanut.Twinkle</id>
6759
<launchable type="desktop-id">studio.planetpeanut.Twinkle.desktop</launchable>
6860
<provides>
6961
<binary>twinkle</binary>
7062
</provides>
7163

72-
<metadata_license>CC0-1.0</metadata_license>
73-
<update_contact>hello_AT_planetpeanut.studio</update_contact>
74-
7564
<content_rating type="oars-1.1">
7665
<content_attribute id="social-contacts">intense</content_attribute>
7766
<content_attribute id="money-purchasing">mild</content_attribute>
7867
</content_rating>
68+
69+
<metadata_license>CC0-1.0</metadata_license>
70+
<update_contact>hello_AT_planetpeanut.studio</update_contact>
7971
</component>

0 commit comments

Comments
 (0)