2019-06-13 08:49:05 -06:00
|
|
|
# kiss
|
|
|
|
|
2019-09-11 00:00:33 -06:00
|
|
|
Tiny and straightforward package manager for KISS written in POSIX `sh`.
|
2019-06-13 11:22:08 -06:00
|
|
|
|
2019-09-11 00:00:33 -06:00
|
|
|
- Only 500~ lines of POSIX `sh` (*excluding blank lines and comments*).
|
|
|
|
- Runtime dependency detection.
|
|
|
|
- Incremental package installation.
|
2019-09-11 00:02:24 -06:00
|
|
|
- Fast dependency solver.
|
|
|
|
- File conflict detection.
|
2019-09-11 00:00:33 -06:00
|
|
|
- Binary stripping.
|
|
|
|
- `shellcheck` compliant.
|
2019-06-13 11:22:08 -06:00
|
|
|
|
2019-06-13 11:32:46 -06:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
```sh
|
|
|
|
➜ kiss
|
2019-08-13 03:22:12 -06:00
|
|
|
=> kiss [b|c|i|l|r|s|u] [pkg] [pkg] [pkg]
|
2019-06-13 11:32:46 -06:00
|
|
|
=> build: Build a package.
|
|
|
|
=> checksum: Generate checksums.
|
2019-07-31 10:02:58 -06:00
|
|
|
=> install: Install a package.
|
2019-07-27 10:55:00 -06:00
|
|
|
=> list: List installed packages.
|
2019-06-13 11:32:46 -06:00
|
|
|
=> remove: Remove a package.
|
2019-07-16 05:53:38 -06:00
|
|
|
=> search: Search for a package.
|
2019-06-13 11:32:46 -06:00
|
|
|
=> update: Check for updates.
|
|
|
|
```
|
2019-08-13 03:22:12 -06:00
|
|
|
|
2019-09-11 00:00:33 -06:00
|
|
|
## Package format
|
|
|
|
|
|
|
|
See: <https://getkiss.org/pages/package-system/>
|
|
|
|
|
|
|
|
|
2019-10-01 11:30:24 -06:00
|
|
|
## Extending the package manager
|
2019-08-13 03:22:12 -06:00
|
|
|
|
|
|
|
See: https://github.com/kisslinux/kiss-utils
|
2019-09-11 00:00:33 -06:00
|
|
|
|
2019-09-11 10:21:44 -06:00
|
|
|
## Shell compatibility
|
2019-09-11 00:00:33 -06:00
|
|
|
|
2019-10-01 11:30:24 -06:00
|
|
|
KISS is written in POSIX `sh` though each shell has its own set of quirks. Below are the currently known to work and tested shells (as `/bin/sh`).
|
2019-09-11 10:21:44 -06:00
|
|
|
|
|
|
|
- `ash`
|
|
|
|
- `dash`
|
|
|
|
- `bash`
|