-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support FreeBSD and other BSDs #46
Comments
Hey Josh, I'm from the FreeBSD Project and Python Team. Happy to help answer any questions you have now or going forward, just ping. On an initial pass, keyszer looks relatively simple to port and package (good job). Here's some initial thoughts/feedback items:
The watchdog Python package supports Linux (inotify), BSD (kqueue), macOS (FSEvents), and Windows file system events API's and might prove useful here.
|
Thanks for reaching out. I guess I was more worried about the low-level kernel support for input/output devices... such as the |
Looks a bit too high level and complex to me (considering what we do now). Threads, locks, etc... right now our asyncio input loop is very light and simple... our inotify code is primarily like 2-3 lines:
From my reading it seems |
All the inotify stuff is hidden behind the |
That sounds super helpful - esp if you can also run the actual program and see if the basic I/O flow works... whether it can proxy keys from the input to output successful... the tests just mock out that part. |
Given we've packaged them it's a positive sign, as there will be Python packages in freebsd ports/packages that consume these as dependencies. I'll run all dependency test suites to validate the assumption and report back. |
I should have a PoC and initial feedback either today or tomorrow |
Oh so things might actually be easy, at least for FreeBSD... |
I know one of the reasons I haven't spent much time trying to mess with desktop BSD distros is that I knew I probably couldn't get Kinto working there, and I can't stand any desktop environment for very long without Mac shortcuts. I've also seen multiple issues for Kinto from BSD users wanting to use Kinto on a BSD platform. I'm sure it would be very much appreciated if Certainly a number of desktop-oriented BSD variants are based on FreeBSD. So if you can get working on FreeBSD that's already a big step in the right direction. Big thumbs up for even looking into this. |
I'm not sure what this would mean for Kinto, but one thing at a time. |
@koobs You still out there? :) |
Yeh mate, my apologies. Limited cycles at the moment, but will continue to make progress where I can. Last update was needing to install "X universe" to run all the tests and I don't run a GUI environment, so that was ... problematic :) |
You could test the basic functionality without an X server but to test the actual conditional window name stuff yeah you need a GUI. |
Let me know if you need a tester, I run FreeBSD 13.1. |
Creating a placeholder for this discussion. I'm not sure if this would be a welcome addition since another platform (esp. one I don't actually use) could significantly complicate supporting and developing the software - but perhaps if the patch was small enough... I really don't know enough about BSD's hardware input pieces to speculate.
I'm at least open to a discussion and seeing where this might go if someone was interested in doing the actual work/research.
The text was updated successfully, but these errors were encountered: