dante
dante copied to clipboard
Major refactor
So this started off as me just implementing that logger change, but ended up as a major refactor. I didn't start off with this in mind but I think it's something that'll be good for anyone using dante, with the following being the most important:
- No more internal logging code.
- No more internal PID management
- No more erb or yaml requirements (Not sure why they're even required?)
- Smaller surface to test.
- Easier time inheriting the core class for custom daemon classes.
Some things still left to be done:
- Pid file management, probably with https://github.com/samullen/pidfile
- User/group management
- Some default tests, maybe
- Built in stop/start/restart commands?
Looks good, I wish it would be merged
:+1:
Yeah, looks nice!
@nesquena, will you accept this pull request?
I haven't looked at dante in a long while but sure I will merge this in, sorry it took so long. If anyone wants to help out as a contributor / maintainer for dante, I'd certainly appreciate the help.
I now manage hamstergem/hamster, I don't mind maintaining another gem.
Great, I've added you as a collaborator for dante. Appreciate you stepping in.
Is this project alive? Any updates on the status of this PR?
Semi-sortive? My initial goal was to revamp dante, but frankly with the advent of things like systemd it seems like dante really isn't needed.
There are better CLI frameworks (clamp, commander) and there are easier to use process management tools now (upstart, systemd, launchctl).
Frankly dante.gem is old.
On Fri, Jun 26, 2015 at 3:40 AM, Mateusz Konikowski < [email protected]> wrote:
Is this project alive? Any updates on the status of this PR?
— Reply to this email directly or view it on GitHub https://github.com/nesquena/dante/pull/12#issuecomment-115576776.
Kurtis Rainbolt-Greene, Hacker Software Developer 1631 8th St. New Orleans, LA 70115