1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

version: bump

This commit is contained in:
Dylan Araps 2019-07-16 14:51:28 +03:00
parent 893e55e892
commit 335f8e6634
2 changed files with 2 additions and 47 deletions

View File

@ -11,15 +11,6 @@ Tiny package manager for KISS Linux.
* [Dependencies](#dependencies)
* [Getting started](#getting-started)
* [Usage](#usage)
* [How does each operator work?](#how-does-each-operator-work)
* [`kiss build pkg`](#kiss-build-pkg)
* [`kiss checksum pkg`](#kiss-checksum-pkg)
* [`kiss depends pkg`](#kiss-depends-pkg)
* [`kiss install pkg`](#kiss-install-pkg)
* [`kiss remove pkg`](#kiss-remove-pkg)
* [`kiss search pkg`](#kiss-search-pkg)
* [`kiss list` or `kiss list pkg`](#kiss-list-or-kiss-list-pkg)
* [`kiss update`](#kiss-update)
<!-- vim-markdown-toc -->
@ -81,40 +72,3 @@ export KISS_PATH=~/projects/kiss-new/repo
=> remove: Remove a package.
=> update: Check for updates.
```
## How does each operator work?
### `kiss build pkg`
Kiss's `build` operator handles a package from its source code to the installable `.tar.gz` file. Sources are downloaded, checksums are verified, dependencies are checked and the package is compiled then packaged.
NOTE: `build` without an argument will rebuild the entire system.
### `kiss checksum pkg`
Kiss's `checksum` operator generates the initial checksums for a package from every source in the `sources` file.
### `kiss depends pkg`
Kiss's `depends` operator prints the package's dependencies.
### `kiss install pkg`
Kiss's `install` operator takes the built `.tar.gz` file and installs it in the system. This is as simple as removing the old version of the package (*if it exists*) and unpacking the archive at `/`.
### `kiss remove pkg`
Kiss's `remove` operator uninstalls a package from your system. Files and directories in `/etc` are untouched. Support for exclusions will come as they are needed.
### `kiss search pkg`
Kiss's `search` operator searches all repositories for a package and prints
the full path to its repository files. Multiple arguments are welcome.
### `kiss list` or `kiss list pkg`
Kiss's `list` operator lists the installed packages and their versions. Giving `list` an argument will check if a singular package is installed.
### `kiss update`
Kiss's `update` operator compares the repository versions of packages to the installed database versions of packages. Any mismatch in versions is considered a new upgrade from the repository.

3
kiss
View File

@ -952,7 +952,7 @@ args() {
# Print version and exit.
v*)
log "$kiss 0.3.2"
log "$kiss 0.3.3"
;;
# Catch all invalid arguments as well as
@ -961,6 +961,7 @@ args() {
log "$kiss [b|c|i|l|r|s|u] [pkg]" \
"build: Build a package." \
"checksum: Generate checksums." \
"depends: List package dependencies." \
"install: Install a package (Runs build if needed)." \
"list: List packages." \
"remove: Remove a package." \