[gnome-software.wiki] Update Software metadata



commit 6251ff20f1bd117b57e1bee1a663f5cc18149f35
Author: Will Thompson <will willthompson co uk>
Date:   Fri Jan 21 10:38:18 2022 +0000

    Update Software metadata

 Software-metadata.md | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/Software-metadata.md b/Software-metadata.md
index c7e24aa..d8fcce8 100644
--- a/Software-metadata.md
+++ b/Software-metadata.md
@@ -229,11 +229,12 @@ At least one colour should be specified. More can be specified if one colour can
 
 ### How to test carousel tile background colour changes
 
-On some distributions, you can test your changes by editing 
`/usr/share/app-info/xmls/org.gnome.Software.Featured.xml`. (On GNOME OS, run `sudo ostree admin unlock` to 
be able to temporarily edit this file.) Remove all the other apps, and add a section for your app, as follows
+On some distributions, you can test your changes by editing 
`/usr/share/app-info/xmls/org.gnome.Software.Featured.xml`. (On GNOME OS, run `sudo ostree admin unlock` to 
be able to temporarily edit this file.) Remove almost all the other apps – you need to leave 4, since 
Software has a minimum threshold – and add a section for your app, as follows:
 
 ```xml
 <?xml version="1.0" encoding="UTF-8"?>
 <components>
+  <!-- The app I want to test -->
   <component merge="append">
     <id>org.freedesktop.Bustle</id>
     <categories>
@@ -244,6 +245,31 @@ On some distributions, you can test your changes by editing `/usr/share/app-info
       <value key="GnomeSoftware::key-colors">[(20, 200, 235)]</value>
     </custom>
   </component>
+  <!-- Other apps to pad out the list -->
+  <component merge="append">
+    <id>org.gustavoperedo.FontDownloader</id>
+    <custom>
+      <value key="GnomeSoftware::FeatureTile">True</value>
+    </custom>
+  </component>
+  <component merge="append">
+    <id>re.sonny.Commit</id>
+    <custom>
+      <value key="GnomeSoftware::FeatureTile">True</value>
+    </custom>
+  </component>
+  <component merge="append">
+    <id>re.sonny.Junction</id>
+    <custom>
+      <value key="GnomeSoftware::FeatureTile">True</value>
+    </custom>
+  </component>
+  <component merge="append">
+    <id>re.sonny.Tangram</id>
+    <custom>
+      <value key="GnomeSoftware::FeatureTile">True</value>
+    </custom>
+  </component>
 </components>
 ```
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]