Crates.io | ezinstall |
lib.rs | ezinstall |
version | 0.1.0 |
source | src |
created_at | 2021-09-20 22:08:13.642578 |
updated_at | 2021-09-20 22:08:13.642578 |
description | `ezinstall` provides a simple installer which can verify and install compatible tarballs |
homepage | |
repository | https://github.com/KizzyCode/EzInstall-rust |
max_upload_size | |
id | 454169 |
size | 36,650 |
Welcome to ezinstall
🎉
ezinstall
is a simple package installer which offers basic features like downloading, checksum verification, tarball
extraction and install.sh
/uninstall.sh
script execution.
ezinstall
offers a simple building block which can be used in more complex workflows like automatic deployments etc.
Often it is much easier to just perform a git clone
with subsequent manual installation than to register your package
in a central package registry, getting it approved, deploying update keys etc.
ezinstall
attempts to make this manual installation a little bit more generic and secure as it allows not only the
direct installation of conformant git tags or releases but it also offers builtin checksum verification to ensure that
you get the same tarball as expected (see also verifiable urls).
Each package is a simple gzip-compressed tarball which contains two scripts:
install.sh
to build and install the package
uninstall.sh
to uninstall the package
Packages are referenced by special URL format <tarball url...>#sha256=<hex digest...>
, where hex digest...
is the
hex-encoded SHA2-256 digest of the tarball. This allows the user to pin a specific tarball, which can be useful if you
are downloading from an untrusted source.