Skip to content
B. van Berkum edited this page Sep 8, 2022 · 7 revisions

Main Dev Doc +U-s Dev Docs

  • Design in main doc still ongoing.

  • Probably consolidate all CI/CD and shell script dev related logs into github.com/user-tools/user-scripts/wiki.

  • Immediate dev objectives:

  • record script body under ID (using some key/value store CLI client)

  • record script executions (idem ditto)

  • Bourne shell compatible dist. But building all dev/build components out of Bash, Dash compat.

Status

  • Initial project setup, slightly unorganized docs Long backlog in main-project TODO.tx.
  • Much code still in other repos.
  • A lot done first at ci setup. [2019] But support tooling has not been progressing to satisfaction, CI builds went flat after Travis closed OSS builds.
  • After much thinking also concluded I need something like make, to resolve all settings and 'facts' during specific phases of a build.
  • Many little updates to libs done through the years.
  • Moved focus to more elementary user-shell support in User-Conf project first +U-c.

Overview

  • tasks, .done.txt

  • test/*.sh to maintain project for now

  • build/*.sh later for env init, profile

  • src/sh for source

  • dist/sh etc. perhaps

  • Static Analysis

Code formatting

Formatting

Shellcheck is used to keep common issues out, but it by default is rather zealous. The following directives should be disabled globally (using SHELCHECK_OPTS env), while other issues can be disabled locally or per file.

Transliterations

A type of pre-processing (static processing) on scripts but with (in case of +U_s) limited rewritten parts. Ie. like Bats preprocess.

  • Includes some dynamic c
  • Dynamic evaluation for sets of functions first used for std-stack.

#include-literal: tools/init.. env..

Interwiki for User-Scripts (About)
Repo Wiki
core/master wiki
- forks/bvb-dev wiki

Clone this wiki locally