View Issue Details

IDProjectCategoryView StatusLast Update
0001476SkyChart1-Softwarepublic16-01-10 16:53
ReporterMattia Verga Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product Version3.10 
Target Version4.0Fixed in Version3.11 SVN 
Summary0001476: Appdata file doesn't validate
DescriptionAppdata file doesn't validate against standard.
I attach a patch to fix that.
TagsNo tags attached.

Activities

Mattia Verga

16-01-10 14:14

reporter  

skychart-3.11.fix-appdata.patch (1,548 bytes)   
--- a/system_integration/Linux/share/appdata/skychart.appdata.xml	2013-09-29 18:21:18.000000000 +0200
+++ b/system_integration/Linux/share/appdata/skychart.appdata.xml	2016-01-10 13:23:20.892471882 +0100
@@ -1,20 +1,30 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <application>
  <id type="desktop">skychart.desktop</id>
- <licence>CC0</licence>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <name>Skychart</name>
+ <summary>Planetarium software for the advanced amateur astronomer</summary>
  <description>
   <p>
    Skychart is a free and advanced planetarium software for drawing sky charts
    for specific places and times with nicely graphic and for controlling
    telescopes by connecting them to pc.
+  </p>
+  <p>
    It can also calculate Solar System objects visibility and data, like planets,
    comets and asteroids, and display moon and planets in realistic mode.
+  </p>
+  <p>
    Skychart also includes VarObs, a software to help astronomers to get data
    for variable stars observation.
   </p>
  </description>
  <screenshots>
-  <screenshot type="default" width="800" height="600">http://www.ap-i.net/skychart/_media/en/screenshot/vo_m101.jpg</screenshot>
+  <screenshot type="default">
+      <image>http://www.ap-i.net/skychart/_media/en/screenshot/vo_m101.jpg</image>
+      <caption>The main window of Skychart in action.</caption>
+  </screenshot>
  </screenshots>
  <url type="homepage">http://www.ap-i.net/skychart/</url>
  <updatecontact>pch@ap-i.net</updatecontact>

Patrick Chevalley

16-01-10 15:43

administrator   ~0003173

Thanks, applied in 3163.

I have a question for you about the appdata file.
I recently receive an automated message from people from "software center" about adding keywords in the appdata file to allow searching by keyword.
From what I understand I have to add the following to the file:

<keywords>
<keyword>astronomy</keyword>
<keyword>planetarium</keyword>
</keywords>

Can you confirm me if this change is valid for you?


Mattia Verga

16-01-10 16:24

reporter   ~0003175

Last edited: 16-01-10 16:25

Yes it's valid, you can easily check the validation with appstream-util command:
appstream-util validate skychart.appdata.xml
Or you can check with the online tool at http://people.freedesktop.org/~hughsient/appdata/

Please note that I made a small error in the previous patch: the caption element must not end with the dot.

Patrick Chevalley

16-01-10 16:53

administrator   ~0003177

OK I remove the dot and add the keywords.

I install appstream-util and it validate the file.

http://sourceforge.net/p/skychart/code/3165/

Issue History

Date Modified Username Field Change
16-01-10 14:14 Mattia Verga New Issue
16-01-10 14:14 Mattia Verga File Added: skychart-3.11.fix-appdata.patch
16-01-10 15:43 Patrick Chevalley Note Added: 0003173
16-01-10 15:43 Patrick Chevalley Assigned To => Patrick Chevalley
16-01-10 15:43 Patrick Chevalley Status new => feedback
16-01-10 15:43 Patrick Chevalley Product Version => 3.10
16-01-10 15:43 Patrick Chevalley Target Version => 4.0
16-01-10 16:24 Mattia Verga Note Added: 0003175
16-01-10 16:24 Mattia Verga Status feedback => assigned
16-01-10 16:25 Mattia Verga Note Edited: 0003175
16-01-10 16:53 Patrick Chevalley Note Added: 0003177
16-01-10 16:53 Patrick Chevalley Status assigned => resolved
16-01-10 16:53 Patrick Chevalley Resolution open => fixed
16-01-10 16:53 Patrick Chevalley Fixed in Version => 3.11 SVN