After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 708252 - Add a target for validating desktop files at check-local
Add a target for validating desktop files at check-local
Status: RESOLVED NOTGNOME
Product: gnome-common
Classification: Core
Component: general
git master
Other All
: Normal enhancement
: ---
Assigned To: Gnome Common Maintainer(s)
Gnome Common Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-09-17 16:22 UTC by Debarshi Ray
Modified: 2014-05-02 18:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Debarshi Ray 2013-09-17 16:22:26 UTC
Something like this can be useful to catch breakages caused by translations. Here is an example:
https://git.gnome.org/browse/gnome-photos/commit/?id=c3105da2b1903c856206ced9065ee080c61160a2
Comment 1 Daniel Mustieles 2014-01-14 13:24:27 UTC
Maybe adding a condition in git to check it when commit is done (like msgfmt check is done to avoid syntax errors in po files) would be better, as it doesn't implies to modify all existing modules, and translator/commiter can be noticed inmediatly.

Is it possible?
Comment 2 David King 2014-05-02 17:01:35 UTC
I think that this is a good idea, and should follow what I did for APPDATA_XML and be put into the project containing the tools to validate it. In other words, this should be put into desktop-file-utils.
Comment 3 Philip Withnall 2014-05-02 18:13:38 UTC
I’ve filed a bug against upstream desktop-file-utils: https://bugs.freedesktop.org/show_bug.cgi?id=78201