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 786602 - [Tracker] Use sparql1.1 "AS ?var" syntax
[Tracker] Use sparql1.1 "AS ?var" syntax
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: plugins
unspecified
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2017-08-22 10:53 UTC by Carlos Garnacho
Modified: 2017-08-22 10:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tracker: Use standard Sparql1.1 syntax (2.37 KB, patch)
2017-08-22 10:55 UTC, Carlos Garnacho
committed Details | Review

Description Carlos Garnacho 2017-08-22 10:53:31 UTC
I'm attaching/pushing a patch to make the Tracker plugin use standard "AS ?var" syntax to define variable names. The "AS var" is nonstandard syntax adopted by Tracker prior to it being defined in Sparql 1.1, and is being dropped in Tracker 2.x.

Using the Sparql 1.1 compliant syntax will work with all of Tracker >1.0.
Comment 1 Carlos Garnacho 2017-08-22 10:55:30 UTC
Created attachment 358130 [details] [review]
tracker: Use standard Sparql1.1 syntax

The "AS var" syntax was non-standard, the Sparql1.1 spec defines this
syntax as "AS ?var", which Tracker 1.x has also accepted for a very long
time.

Tracker 2.x is dropping the non-standard syntax, so switch the Tracker
plugin to using the Sparql1.1 syntax, which shall work with Tracker 1.x
and 2.x.
Comment 2 Carlos Garnacho 2017-08-22 10:57:55 UTC
Pushed to master.

Attachment 358130 [details] pushed as 8f80b1d - tracker: Use standard Sparql1.1 syntax