Jit
Jit copied to clipboard
Please get rid of all the sudos
Hi,
this tool doesn't need root permissions at all. It shouldn't be encouraged to use root permissions to install it either. Only system package managers (e.g. apt, dnf, yum, brew) should be allowed to do that.
The self-update feature is also questionable, especially because there are already package managers on all decent OSes that take care of keeping packages up-to-date.
I'd like to suggest to provide packages instead of any non-standard way of compiling and installing the tool.
I'll leave some links for you to get some inspiration:
- fpm is a single tool to create various kinds of packages including DEBs, RPMs, OSX pgk files.
- brew is a package manager for OSX (how to create a package)
- In one of my projects I provide a Dockerfile that builds my application and creates packages using fpm (checkout the
builds
target in the Makefile and the Dockerfile)
I'm aware that it's a bit of work but it can be a great learning experience.
This is hard task, i don't seem to qualify for homebrew:
- Stable: version 17.04.07 is redundant with version scanned from URL
- GitHub repository not notable enough (<20 forks, <20 watchers and <50 stars)
And gem give's me an utf-8 nonsense error when running the installed app, i guess it accepts binaries made by ruby only.