Skip to content
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

Appetite for a contributing to a native windows version #4502

Open
AndyBevan opened this issue Mar 17, 2025 · 2 comments
Open

Appetite for a contributing to a native windows version #4502

AndyBevan opened this issue Mar 17, 2025 · 2 comments

Comments

@AndyBevan
Copy link

Curious whether there is any appetite for submitting PR's to allow SteamPipe be runnable on Windows natively without needing to use WSL. WSL does work fine but it adds an additional layer of complexity and personally I'd like to be able to run something directly on windows.

I took a run at this locally and I've been able to get a version that will compile - main differences so far are OS specific handling of looking for running processes. Before I proceed much further I wanted to check whether this is something you would consider including.

@e-gineer
Copy link
Contributor

We like the idea of Steampipe working natively on Windows and have definitely been asked before.

It is hard for us to test and maintain though, and WSL2 has satisfied most users.

So, it's a trade off 😅

What's the level of changes you've had to make? What's your opinion of the maintenance effort going forward?

Thanks so much for putting this out there - great to have you building with us!

@AndyBevan
Copy link
Author

I did a dive into what I think would be involved to get a windows version up and running - here is what I found

  • Postgres local database - needs a windows version - easy, binaries exist
  • Postgres FDW - build windows version of steampipe-postgres-fdw - This feels like it would be pretty tricky - hard
  • PipeFittings - add windows versions of the methods that determine what process is running - easy-ish (maybe?)
  • CLI - Modifications to the CLI to handle running the Postgres DB locally on windows + any other gotchas that would exist - medium
  • Plugins - unsure how many have OS specific behaviors in them.

With a good level of automated tests you should be able to keep the maintenance efforts under control.

It was interesting digging into the inner workings of SteamPipe. If others are interested in investing in this please hit me up, probably more than I can take on single-handedly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants