Commit Graph

36 Commits

Author SHA1 Message Date
2e6984aac8 New option -qq to suppress regular output
Usefull when step are called from another seq
2020-01-05 15:04:20 +01:00
d369913e9f step() function did not provide argument pass-through 2019-12-31 00:13:54 +01:00
ef572f9d7e Bump sequencer revision to 9
New API function echoinfo

New option -s to execute only one step

Step argruments are also passed to step info function
2019-12-23 23:13:11 +01:00
91f9f8a8da endCheckEmpty uses full DESCRIPTION as error message, if available 2019-12-13 23:47:02 +01:00
d182f5e0c6 Small output update 2019-12-13 12:18:51 +01:00
9a303b634f Extended addConf with file support for SOURCE 2019-12-12 23:49:16 +01:00
d6aba7d06f Bump sequencer.sh version to 8.0.0
Support for function step_config which is called once before any step

Output alias on stopping at a step if available
2019-12-12 10:57:28 +01:00
68a16b2fdd Fix: step arguments not passed on correctly if strings with spaces were involved 2019-12-11 23:16:35 +01:00
07fcd28545 Bump sequencer version to 7.1.0
Update verbose and dry-run handling. Using bash ":" build-in function

Small helpapi update
2019-12-09 23:37:26 +01:00
f514b73322 New option -o for endReturn to directly evaluate an error code
Addition to api help
2019-12-09 14:45:06 +01:00
3d1097bb5d New function step to execute other steps also by alias
Possibilty to skip a step, if run without quiet option

WIP build-in function documentation
2019-12-08 21:38:42 +00:00
be59c27224 Another use of echoerr 2019-11-23 12:54:16 +01:00
d89dd8e6ab Make use of echoerr to send error messages to stderr 2019-11-22 21:08:05 +01:00
c7de26455b new function getReturn which return latest value previously saved by saveReturn
function saveReturn returns with the same errno it saved

refactor documentation replace installation with sequence and aborted with stopped

New starting output with absolute path to seq
2019-11-21 23:30:08 +01:00
f5193f46ee Bump sequencer revision to 6
Adding optional message for endReturnto replace predefined one
2019-11-20 23:08:44 +01:00
f5c5120fff Don't show dry-run warning when option quiet is selected 2019-11-20 16:38:23 +00:00
e5678c9692 Fix crash when invalid alias strings contain '.' are processed
Help and commandline informational output
2019-11-20 15:22:02 +00:00
e8b475d9f7 Add execution rights to sequencer.sh 2019-11-08 09:41:32 +01:00
49f009a387 Add timestamp to addConf backup 2019-11-04 09:46:26 +00:00
9a408fa1d4 Update and extend template creation
- Example usage of "exe" and "exep"
- step_1 is not mandatory any more
2019-10-30 13:22:56 +01:00
69740bf6ee Fix using $1 to check if no step was given, although it was shifted
Dry run no longer also assumes -q (quiet) option
2019-10-09 23:43:10 +02:00
519bc7aa92 Do not required step_1 to exist to output step help 2019-10-09 21:37:10 +02:00
c8922f6c6d Add possibility to pass arguments to selected steps (syntax change)
Bump sequencer revision to 5.0.0
2019-10-09 12:07:43 +02:00
ddbc4657f7 Bump to revision 4
making use of extended functionality of addConf and exep
2019-05-27 15:02:38 +02:00
581c3d1ed6 New paramter for addConf (skip backup if exist; only add to missing conf)
Various output text corrections (context dry run and verbose)
2019-05-27 14:25:32 +02:00
48f6de3026 New exep function which handels pipes and redirects properly
rework mayan backup and restore steps
2019-05-26 03:02:12 +02:00
ab10ef6504 Bump to revision 3
addConf with mandatory paramter; suppots appending
2019-05-17 11:59:51 +01:00
eb20953214 First attempt to include dry run functionality 2019-04-10 15:45:33 +01:00
3b23840277 support multiple shell arguments (e.g. -v -q)
new verbose output (-v) to echo commands called with exe() before execution
2019-04-10 11:12:28 +01:00
2a27608b14 Fix missing config file suffix 2019-04-09 15:15:54 +01:00
0f206660a6 New common function to create config files savely 2019-04-09 11:01:09 +01:00
e6313d2c32 fix #3
Introducing text alias for steps
2019-04-08 14:44:31 +01:00
baef4e8d56 fixes #2
Introduce versioning to sequencer and seqs

Refactored sequencer option handling

More robust way to include sequencer.sh to seqs
2019-04-05 15:32:53 +01:00
09f082a83f Clarify wordings (usage of sequencer and sequence (seq)) 2019-04-05 13:45:20 +01:00
17eaeee234 Step help as own function within step definition script
fixes #1
2019-04-05 12:06:47 +01:00
be3f9aff0b Refactor folder structure and adding first seqs 2019-04-02 23:11:19 +02:00