git-annex/ design/ assistant/ leftovers

Things that don't fit anywhere else:

- Automatically start daemon on boot or when user logs in, using freedesktop autostart file. done
- Somehow get content that is unavailable. This is problematic with inotify, since we only get an event once the user has tried (and failed) to read from the file. This is only needed if all the files in the directory are not kept synced, but in some situations (ie, low disk space phones), that is likely.
- Drop files that have not been used lately, or meet some other criteria (as long as there's a copy elsewhere). done (via preferred content; eg archive directories)
- Perhaps automatically dropunused files that have been deleted, although I cannot see a way to do that, since by the time the inotify deletion event arrives, the file is deleted, and we cannot see what its symlink pointed to! Alternatively, perhaps automatically do an expensive unused/dropunused cleanup process.

comment 1
I think the automatic dropunused part is handled by the assistant already anyway, but in case it's not: The git repo still knows where the symlink pointed to so it should not be a problem to get that info from the last commit that was 'actively' locally and which contained said symlink.
Comment by https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U — Tue Jul 22 18:11:47 2025
Comments on this page are closed.