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