Add support for GitHub codespaces and minor cleanup
Chg: Add support for GitHub codespaces (devcontainers)
Chg: Move scripts to scripts/ directory
Updated:
GitHub Codespaces provides a dev environment (VM) in the cloud. The goal is to be able to easily test PRs without doing a git clone. To accomplish that, a Codespace can be started, the smartctl_exporter is compiled and run, and a port is exposed to view the data. This can be done on master in this repo, and then checking out the PR commit. (I don't think Codespaces can be started from a PR commit.) Once done, the Codespace can be deleted. watchexec and just/task are cross platform which will help when working on Windows support (issue #163). watchexec and just/task will be in a separate PR.
What are the codespaces for? Can you add a bit of a "why" to the PR description?
What are the codespaces for? Can you add a bit of a "why" to the PR description?
Done. Thank you for the reminder. I should have explained in the PR.
Hmm, interesting idea. I think something like this should be discussed with the wider Prometheus dev community. It would be better to support this kind of thing consistently across all projects.