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 670011 - Logging file operations with Zeitgeist
Logging file operations with Zeitgeist
Status: RESOLVED WONTFIX
Product: nautilus
Classification: Core
Component: File and Folder Operations
3.2.x
Other Linux
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-13 20:28 UTC by Siegfried Gevatter (RainCT)
Modified: 2019-09-30 12:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (8.56 KB, patch)
2012-02-13 21:10 UTC, Siegfried Gevatter (RainCT)
none Details | Review
Patch demonstrating possible Zeitgeist integration (21.86 KB, patch)
2012-05-22 19:26 UTC, Siegfried Gevatter (RainCT)
needs-work Details | Review

Description Siegfried Gevatter (RainCT) 2012-02-13 20:28:29 UTC
Hi,

Would you be open to consider logging file operations (create, rename, move, copy, link, delete/trash) with Zeitgeist?

I'm attaching a patch that shows what this could look like. Since it depends on libzeitgeist, I'd expect it to be optional (with some --enable-zeitgeist-logging flag).
Comment 1 André Klapper 2012-02-13 20:56:41 UTC
Patch is missing.
Comment 2 Siegfried Gevatter (RainCT) 2012-02-13 21:10:34 UTC
Created attachment 207488 [details] [review]
patch
Comment 3 Mikkel Kamstrup Erlandsen 2012-02-28 12:17:49 UTC
We'll be testing this out in Ubuntu, a patched Nautilus has been uploaded to https://launchpad.net/~ubuntu-desktop/+archive/ppa .

The relevant Ubuntu bug is https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/927544
Comment 4 Siegfried Gevatter (RainCT) 2012-05-22 19:26:10 UTC
Created attachment 214693 [details] [review]
Patch demonstrating possible Zeitgeist integration

I'm attaching the updated patch (with the code that is currently shipping in Ubuntu).
Comment 5 André Klapper 2015-01-17 02:38:20 UTC
Comment on attachment 214693 [details] [review]
Patch demonstrating possible Zeitgeist integration

$:andre\> patch --no-backup-if-mismatch -p0 < aaaapatch 
patching file libnautilus-private/nautilus-file-operations.c
Hunk #1 succeeded at 64 with fuzz 2.
Hunk #2 succeeded at 194 (offset 3 lines).
Hunk #3 succeeded at 2054 (offset 119 lines).
Hunk #4 succeeded at 4756 with fuzz 1 (offset 194 lines).
Hunk #5 succeeded at 5339 with fuzz 1 (offset 215 lines).
Hunk #6 succeeded at 5696 with fuzz 1 (offset 242 lines).
Hunk #7 succeeded at 6185 with fuzz 1 (offset 283 lines).
patching file libnautilus-private/nautilus-file.c
Hunk #1 succeeded at 90 (offset 2 lines).
Hunk #2 FAILED at 1724.
1 out of 2 hunks FAILED -- saving rejects to file libnautilus-private/nautilus-file.c.rej
patching file test/run-zeitgeist-test.sh
patching file test/test-nautilus-zeitgeist.c

Hence setting 'needs-rework' as patch does not apply cleanly against git master.