Loading
Commits on Source 58
-
Rūdolfs Mazurs authored
-
Carlos Garnacho authored
This was failing due to lack of systemd devel packages. Disable systemd user service files like we do on the static-scan build.
-
Carlos Garnacho authored
Move away from oldish F37, and use "latest". This should allow updates to more recent Fedora versions without modifying the yml definition.
-
Carlos Garnacho authored
Instead of using the templates provided by gitlab, which have limited configurability, adopt the approach taken at Mutter, where duplicate push/merge-request pipelines are prevented, but there is still a manual escape hatch for running a branch pipeline. For this, the "repo-sanity" phase has moved to a different stage prior to everything else, and will require manual triggering if running on a branch that is not the default one, or one of our release branches.
-
Carlos Garnacho authored
-
Carlos Garnacho authored
-
Carlos Garnacho authored
Since we separated test/deploy for the website, we can allow the testing itself on other branches than the default one.
-
Carlos Garnacho authored
Avoid a warning when running it (align_nl_cont not being boolean anymore), and specify that these macro newline continuations should be aligned to the rightmost '\'.
-
Carlos Garnacho authored
-
Carlos Garnacho authored
This is just noise in the CI task output.
-
Carlos Garnacho authored
We had a cli_metadata_dir variable unused in main(), besides being assigned a value.
-
Carlos Garnacho authored
This might be used without any value assigned.
-
Carlos Garnacho authored
Much unlikely, but static analysis complains about this being possible.
-
Carlos Garnacho authored
-
Carlos Garnacho authored
This should never be NULL, so this checks fools static analysis.
-
Carlos Garnacho authored
This should not be used initialized, but static scan is fooled by it.
-
Carlos Garnacho authored
Assert that the given string is non-NULL. Might hint the static scan build that this is not possible.
-
Carlos Garnacho authored
Make it clear to the static scan build that this string should never be NULL.
-
Carlos Garnacho authored
Don't make the static scan build think that this variable might be NULL after test output is collected.
-
Carlos Garnacho authored
The TrackerDBManager object is already automatically managed with g_autoptr, these error paths might lead to a double free. CID: #1511357
-
Carlos Garnacho authored
These variables were already being freed a little bit above in the code. CID: #1501117
-
Carlos Garnacho authored
This did not lead to errors since the first connection created held a reference on the file. Still not straightforwardly correct, so move the g_object_unref() call to a point where this variable is no longer used directly. CID: #1501125
-
Guillaume Bernard authored
-
Milo Casagrande authored
-
Carlos Garnacho authored
Some CI fixes/improvements See merge request https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/657
-
Carlos Garnacho authored
Fixes for "static-scan" build warnings See merge request https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/658
-
Tim Sabsch authored
-
Carlos Garnacho authored
This is the de-facto default nowadays, we can always set up and use the mutex. Also, this might give Coverity a hint that there's no chances about the flag being on when locking, but off when unlocking. CIDs: #1584275, #1584279, #1584280, #1584284, #1584285, #1584293
-
Carlos Garnacho authored
This is now unused.
-
Carlos Garnacho authored
Assert these returning TRUE where expected, in order to avoid Coverity from freaking out. CIDs: #1501101, #1501120, #1501134, #1501137, #1505932, #1505933, #1507949, #1511341, #1518802
-
Carlos Garnacho authored
Assert for these, to make Coverity happy. CIDs: #1501110, #1501128, #1584277
-
Carlos Garnacho authored
This was initially motivated by Coverity not being happy with us not checking g_unlink() return value. But we don't need/use settings anywhere in the Tracker repository for a long time, we can drop this old piece of dconf/settings manipulation. CID: #1501107
-
Carlos Garnacho authored
CIDs: #1501129, #1505931
-
Carlos Garnacho authored
It may not happen that we enter in error paths with a GError without a message. Stop accounting for that. CIDs: #1511356, #1511358
-
Carlos Garnacho authored
As done everywhere else. CID: #1496386
-
Carlos Garnacho authored
These cursors can't be NULL after the error checks, don't let Coverity think that they might be. CIDs: #1511359, #1511355
-
Carlos Garnacho authored
This is already done before. CID: #1530395
-
Carlos Garnacho authored
The mapped file contents were needlessly duplicated, also port to g_clear_pointer(). CID: #1501123
-
Carlos Garnacho authored
In some error paths, the bus_name and object_path variables could be leaked. CID: #1584290
-
Carlos Garnacho authored
CID: #1584296
-
Carlos Garnacho authored
CIDs: #1515042, #1515043, #1532056, #1584283
-
Carlos Garnacho authored
Use the return values from json-glib API, like everywhere else. CID: #1584286
-
Carlos Garnacho authored
If multiple threads try to iterate the cursor forward, there might be issues if both try to mark the cursor as finished. It's unclear this has actual effect, and it is otoh clear that this is API misuse. Still, protect around this. CID: #1584289
-
Carlos Garnacho authored
Fixes for some reported errors in Coverity See merge request https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/659
-
Sam Thursfield authored
Debug logging in functional-tests is controlled by setting `TRACKER_DEBUG=tests` in the host environment, this wasn't working due to meson.build clobbering the value.
-
Sam Thursfield authored
The ASK query would return a variable name with a load of SQL noise, now the variable is named "result".
-
Sam Thursfield authored
-
Sam Thursfield authored
This means the endpoint needs to support POST queries. The SPARQL 1.1 standard says that this MAY be supported: <https://www.w3.org/TR/2013/REC-sparql11-protocol-20130321/#query-via-post-direct> The previous method using GET says the same, it MAY be supported: <https://www.w3.org/TR/2013/REC-sparql11-protocol-20130321/#query-via-get>
-
Sam Thursfield authored
The 500 error code is meant for internal errors, while request errors should be 400. This is in line with the SPARQL 1.1 Protocol standard: <https://www.w3.org/TR/2013/REC-sparql11-protocol-20130321/#update-failure>
-
Sam Thursfield authored
-
Sam Thursfield authored
-
Sam Thursfield authored
Exercise various query methods and error cases.
-
Carlos Garnacho authored
Extend HTTP endpoint and test coverage See merge request https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/645
-
Ask Hjorth Larsen authored
-
Carlos Garnacho authored
This is unused, firstly always unset then creating TrackerDBManager instances, secondly ineffective since it also needs the SQLITE_OPEN_SHAREDCACHE flag when creating sqlite3 DB instances, which we never pass. Closes: https://gitlab.gnome.org/GNOME/tracker/-/issues/411
-
Carlos Garnacho authored
core: Drop shared_cache toggle Closes #411 See merge request https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/660
-
Carlos Garnacho authored
-
Jeremy Bícha authored