A package manager for shell scripts and files.
jankoeppen 6eaf9ac8a6 colourful logs | 4 years ago | |
---|---|---|
README.md | 4 years ago | |
cfg.sh | 4 years ago | |
hooks.conf | 4 years ago | |
job | 4 years ago | |
log.sh | 4 years ago | |
paths.conf | 4 years ago | |
pkg.sh | 4 years ago | |
repos.conf | 4 years ago |
list --- shows all packages job list NEW --- displays new packages job list NEW|MOD --- displays new and modded packages
job init --- creates the directory tree job deinit --- deletes directory tree
job update db --- pulls new repository indexes job update conf --- pulls new config for current machine (automatically downloads packages)
job hook --- starts watching event file job hook reboot --- fires specific hook and then enters watch mode
job event reboot --- fires the reboot event
job download status --- downloads the status job
job show 2019-10-23_12:30 --- shows the run started at 2019-10-23....
event: The event spooler file. each line can contain one word. its location is determined by the environment variable JOB_EVENT_SPOOL. If empty, defaults to /tmp/job_events
repos.conf: A B C
where:
A --- Plugin name B --- The name the repo is locally cloned C --- Arguments to the download function
example: SCP MAIN dl@packages.hackedpixels.de:pkg_store/
note: job has builtin scp support
hooks.conf: A B
where:
A --- event that fires hook B --- job name to be fired
example: init status init testpkg
note:
logging:
log files get printed line by line, except:
the first line is .macros
this enables macro support.
supported are:
| cmd | does |
|-----|------|
|.time <timestamp>
|sets displayed on all following lines|
|.type <error|warn|success|info>
|colours the line|