[gnome.org #14101] Add pre-receive hook to validate .desktop files

You are reading this message because you are a watcher of the Git queue at GNOME.org Request Tracker.

Wed Jan 15 23:35:21 2014: Request 14101 was acted upon.
Transaction: Ticket created by kelemeng gnome hu
       Queue: Git
     Subject: Add pre-receive hook to validate .desktop files
       Owner: Nobody
  Requestors: kelemeng gnome hu
      Status: new
 Ticket <URL: https://rt.gnome.org/Ticket/Display.html?id=14101 >

--- Original message follows: --------------------------------------------------------------

I'd like to resurrect this[0] problem, as it came up on the gnome-i18n
list recently[1] - translators are still prone to forget the closing ;
of the Keywords key translation, which creates build failures.

I don't know how to write a proper git hook, so I need a lot of help
with that (even better if you write it :)).
But I know what it should do, regarding to comment 2 of the old bug.

He it is what should be the core of the script:

As for software versions, we need desktop-file-utils >= 0.19 (although
the script uses --no-hints which is to shut up a 0.21 feature).

Another issue will be to get the repositories in a consistent state,
meaning that we would need to get rid of the already existing desktop
file errors[3]. This is not so much of a sysadmin task, I admit, so I
can help with this.

Thanks in advance
Gabor Kelemen

[0] https://bugzilla.gnome.org/show_bug.cgi?id=696489
[1] https://mail.gnome.org/archives/gnome-i18n/2014-January/msg00032.html
[2] http://www.freedesktop.org/wiki/Software/desktop-file-utils/

Attachment: binHSj8DXtU6L.bin
Description: application/rt-original-message

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