Skip to content

setmy-info/setmy-info-scripts

Repository files navigation

Tools collection

term

Development terminal preparations

stealer

Stealing (actually borrowing) as a function. Collect code from different locations, apply changes, add your code and get working solution - .stealer folder as an input and working solution as an output. Decrease code repeating and increase development efficiency.

Prepare

# TO build python
sudo dnf install -y openssl-devel sqlite sqlite-devel

Build

SCRIPTS_VERSION=0.84.0
./configure release
make clean
make all test package
sudo rpm -e setmy-info-scripts
sudo rpm -i setmy-info-scripts-${SCRIPTS_VERSION}.noarch.rpm

All in single line:

SCRIPTS_VERSION=0.84.0 && ./configure release && make clean && make all test package && sudo rpm -e setmy-info-scripts && sudo rpm -i setmy-info-scripts-${SCRIPTS_VERSION}.noarch.rpm

Also change smi.package file SMI_VERSION=0.80.1

and for SMI Rocky Linux Docker

Build options

./configure options

ci - synonyme for release

release - verification (unit tests, integration tests incl. valgrind tests), release (no debug info) binaries, stripped, without -SNAPSHOT, real paths in side scripts.

skipITs - like maven skipITS, that skips integration tests incl. valgrind tests.

noSnapshot - without -SNAPSHOT

realPaths - inside scripts real path used

./configure [ci/release | release]

TODO

PCMake variables problem

Function usage is a problem. CMame doesn't have global variables. Only function or parent ... (directory, ... ?).

  • sh separate into subdirectories (common/base, devel, server, software, desktop (devel. workstation), AWS, Google, K8S, git, ...):
    • common or base
      • time
      • string
      • CLI
    • development (devel. workstation)
      • python
      • groovy
      • C/C++
      • Java
      • JavaScript
      • AI, TensorFlow
    • server
      • ansible
    • desktop or workstation
    • software
    • vcs, git, mercurial, subversion
    • ssl, pki
    • aws, google, cloud
    • k8s, virtualization, docker
    • crm
    • tools, helpers

Donate