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

Software packaging #379

Open
nekatak opened this issue Dec 10, 2019 · 2 comments
Open

Software packaging #379

nekatak opened this issue Dec 10, 2019 · 2 comments

Comments

@nekatak
Copy link

nekatak commented Dec 10, 2019

From what I can see there are lots of releases of simple monitor but not python (or any other) packages build. It would make the installation process far easier if there was at least a python package.
Additionally a script (like a Makefile or bash script) that installs the program and runs it as a daemon process would be ideal for the *nix environments. Even better if it was a deb/rpm package but that s more difficult I know.

I would love to hear your (@jamesoff) opinion on this and like to work on something like this if it is desirable. I am mentioning this issue as the - proper - installation took me most of the time and not the configuration of the program which was actually quick!

Thanks.

@jamesoff
Copy link
Owner

This is something I'm interested in working on already, and I've been reviewing how to build at least a pip package for SimpleMonitor so it can be installed that way. I'm not so interested, personally, in building packages for OS package managers but I'm happy if other people want to contribute.

I have a few things I want to finish off (like dynamic config reloading) before I start on the packaging piece (mostly because it seems like it will require rearranging files a bit!). More than happy if you want to work on it though, although bear in mind possible merge difficulties :)

Glad at least the configuration was quick; if there's any way to improve the documentation for installation based on your experience in the meantime please let me know or open a PR.

@nekatak
Copy link
Author

nekatak commented Dec 11, 2019

I could start with a bash script that installs a systemd/init service using a system user and puts the configuration files in /etc/simplemonitor. And of course an uninstallation of it. If you think that s OK I can work on it and create an MR.

From modifying that script we can create packages for different distros - although making them official of course is not that easy. Dependencies are usually not that trivial to resolve.

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