Monitoring Create/Move/Copy Files events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Triaged
|
Low
|
Unassigned | ||
Zeitgeist Datahub |
Confirmed
|
Undecided
|
Unassigned | ||
Zeitgeist Framework |
Fix Released
|
Wishlist
|
Seif Lotfy | ||
unity-2d |
Invalid
|
Low
|
Unassigned | ||
unity-lens-files |
Triaged
|
Low
|
Unassigned | ||
unity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
unity-lens-files (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
An issue we are facing at the moment is that ppl lose track of there files in a timeline if the file was moved around or renamed. I would propose using taskview or patch nautilus to actually grab those events and either:
1) Modify the uris in the uris table
2) Create a new table with | new_id | old_uri_id | event | to map uris to their actual ids and the event that allowed the change, this would allow us to track a history of renaming or moving a file. It will look a bit like the following:
9 | 9 | 48124 # CREATE EVENT
12 | 9 | 48126 # MOVE EVENT
In other words the last row means uri 12 was moved from uri 9 with event 48126
UPDATE:
3) Create a changable_uri table that is a map of the uri table. it gets updated upon moved and rename.
We then add new resulttype that allow you to ask for either pureSubject or adaptedSubject. depending on which one is chosen we then use the according table in the join of the find_events_query :)
Related branches
- Siegfried Gevatter: Needs Fixing
-
Diff: 332 lines (+118/-18)6 files modified_zeitgeist/engine/main.py (+36/-7)
_zeitgeist/engine/sql.py (+3/-0)
extra/ontology/zg.trig (+7/-1)
test/datamodel-test.py (+6/-0)
test/engine-test.py (+27/-0)
zeitgeist/datamodel.py (+39/-10)
Changed in zeitgeist: | |
milestone: | none → 0.7 |
Changed in zeitgeist: | |
assignee: | Michal Hruby (mhr3) → nobody |
Changed in zeitgeist-datahub: | |
assignee: | nobody → S. Sickert (s-sickert) |
summary: |
- Monitoring for new files + Monitoring Create/Move/Copy Files events |
description: | updated |
description: | updated |
Changed in zeitgeist: | |
assignee: | nobody → Seif Lotfy (seif) |
Changed in zeitgeist-datahub: | |
status: | Incomplete → New |
Changed in zeitgeist-datahub: | |
status: | New → Confirmed |
Changed in unity: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in unity-place-files: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in zeitgeist: | |
milestone: | 0.7.0 → none |
Changed in zeitgeist: | |
milestone: | none → 0.8.0 |
Changed in unity-place-files (Ubuntu): | |
status: | New → Triaged |
Changed in zeitgeist: | |
status: | In Progress → Fix Committed |
Changed in zeitgeist: | |
status: | Fix Committed → Fix Released |
Changed in unity-2d: | |
status: | New → Triaged |
Changed in unity-2d: | |
importance: | Undecided → Low |
Changed in unity-place-files (Ubuntu): | |
importance: | Undecided → Low |
Changed in unity-lens-files (Ubuntu): | |
status: | New → Triaged |
no longer affects: | unity-place-files (Ubuntu) |
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-2d: | |
status: | Triaged → Invalid |
How would it make sense? We care about events, not files.