Create file watching subsystem
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 14.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the inotify support is pretty proof-of-concept only. It's directly integrated into the assetmanager, which should be abstracted in the future.
I'm thinking of creating a libopenage/watch/ subsystem which provides some sane api for registering a watch on a folder, file, etc with requested events.
When the watched events happen, generic callback functions should be called so we can use the watches for any file watching makes sense.
In the background, the "sane api" calls the plattform-specific kernel api, but openage can use just one uniform interface. This way we can support OS X, BSD, etc.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the current inotify integration in the assetmanager and compare it with the proposed libopenage/watch/ subsystem. Define the uniform watch and callback API around the requested events, then verify that the platform-specific kernel layer can be replaced or extended for OS X and BSD without assetmanager-specific coupling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100