keybase / keybase/keybase-issues
KBFS: inotify, or best practice?
- Dominant language
- No language data
- Stars
- 899
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,
I'm trying to write a proof-of-concept service with KBFS as the backend, but I can't tell when someone has shared a file in `/keybase/private/user1(,user2..),service`; the folder doesn't show up as a "favorite" automatically.
1. Will KBFS support inotify or something like that? Or some other form of notification (or "new item" information) accessible to a script?
2. What would be the current best practice, if this isn't available yet? Currently, I'm polling the `private/service,tracker` folders of trackers for changes, but that doesn't seem optimal, and can't take into account multiple-user shared folders.
Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing KBFS behavior for newly shared folders under /keybase/private and the notification mechanisms available to scripts. Compare that with polling private/service,tracker and multi-user shared folders. Done means documenting whether inotify or another notification API exists and identifying the supported current practice.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100