Alois Mahdal
ed7847f49b
Use proper naming scheme
8 лет назад
Alois Mahdal
2fb1fdbcf3
Rename saturnin_meta module
Since saturnin's dedication to be "meta-command" builder, the distinction
between "meta" and something else does not make much sense.
8 лет назад
Alois Mahdal
800ad3cf89
Update according to safer import style
8 лет назад
Alois Mahdal
91a55e625b
Update after renaming of ffoo to shellfu
8 лет назад
Alois Mahdal
a8652e2986
split off bmo: Rebrand a bit
9 лет назад
Alois Mahdal
0561811acc
split off bmo: Move moving parts
9 лет назад
Alois Mahdal
6e84d62826
split off bmo: Rewrite moving parts
9 лет назад
Alois Mahdal
8a5dd0f421
Make saturnin subcommand more portable
9 лет назад
Alois Mahdal
6e128ebffd
Apply ShellCheck advice
9 лет назад
Alois Mahdal
9da376f256
Rename saturnin_common to saturnin_meta
The routines are all basically related to the meta-command functions.
9 лет назад
Alois Mahdal
6abb8c6621
Move common saturnin routines to a module
This module is intended to be moved around with saturnin, but unlike
main meta-command (bin/saturnin.skel), it should not be necessary to
rename it or edit to adapt to new project.
9 лет назад
Alois Mahdal
066c22b204
Fortify hook routine
Add checks for syntax errors and missing SATURNIN_SUBCOMMAND. In both
cases, ignore the hook.
9 лет назад
Alois Mahdal
c80c7d4a00
Use inigrep__mkpath to assemble FFOO_INIGREP_PATH
Minimize the "built part" and code repetition among saturnin "clones".
9 лет назад
Alois Mahdal
ad3a74047a
Move colon delimiting to generator
9 лет назад
Alois Mahdal
1303a48cfa
Add internal (plumbing) ffrun wrapper
To allow for experimenting with functions from embedded library.
9 лет назад
Alois Mahdal
7f630aeb92
Add internal (plumbing) commands from ffoom
This should help test and manage embedded Fastfoo library
9 лет назад
Alois Mahdal
3d7aab77f2
Port to ffoo v0.8: usage_is renamed
9 лет назад
Alois Mahdal
47bfddf9f3
Port to ffoo v0.8: config.sh renamed
9 лет назад
Alois Mahdal
61c7eb02e1
Make use of FFOO_PRETTY_USAGE mode
9 лет назад
Alois Mahdal
6af447c64f
Add internal subcommand _ls_subcommands
9 лет назад
Alois Mahdal
12b62db27a
Port to ffoo v0.8: exit.sh renamed
9 лет назад
Alois Mahdal
6f23cfc46e
Explicitly sort modules (by C locale)
9 лет назад
Alois Mahdal
2bf4170cd7
Move out routine to find sub-modules
9 лет назад
Alois Mahdal
84b11f1ffa
Use more informative function name
9 лет назад
Alois Mahdal
1b7d7e32f1
Tidy up variable setting code
* Add docstring,
* add explanations for local variable names,
* separate export declarations,
* sort globals alphabetically,
* add built part delimiters,
* quote paths properly.
9 лет назад
Alois Mahdal
61c5e18427
Do not make up FFOO_PATH--take it from mkit directly
9 лет назад
Alois Mahdal
09a0a735c9
Use inigrep directly inside saturnin
... turns out it's faster (surprise! ;))
9 лет назад
Alois Mahdal
5cf1e53792
Join hooks from all paths
Due to inigrep limitation, we cannot automatically cherry-pick hook.ini
based on where the hook is found--we can only have all hooks in one
file, or use join strategy.
9 лет назад
Alois Mahdal
a0d7664f08
Implement support for sub-command hooks
Add section like this to hook.ini:
[hook.mycomm]
pre = echo $SATURNIN_SUBCOMMAND will run soon
pre = echo $SATURNIN_SUBCOMMAND is almost running
post = echo $SATURNIN_SUBCOMMAND has finished now
9 лет назад
Alois Mahdal
dfd3810eee
Move saturnin-conf to built-in
9 лет назад
Alois Mahdal
8470af0975
Improve subcommand listing for help string
9 лет назад
Alois Mahdal
a3216edab4
Quote subcommand on input
9 лет назад
Alois Mahdal
f9af1886a6
Fix debugging of arg list
"@" breaks the string to several arguments, which is not what we want
here
9 лет назад
Alois Mahdal
f31a28509b
Add support for printing simple SemVer version number
9 лет назад
Alois Mahdal
00bfb82799
Use canonical names for globals
9 лет назад
Alois Mahdal
8e11223246
Exit properly if importing ffoo.sh fails
9 лет назад
Alois Mahdal
3618dfe3f2
Follow symlinks when looking for dist and user paths
9 лет назад
Alois Mahdal
65f8d4b68c
Move also config paths
9 лет назад
Alois Mahdal
93775a243e
Use mkit from fastfoo for installation
9 лет назад
Alois Mahdal
68fea49476
Add cache home (~ XDG_CACHE_HOME)
9 лет назад
Alois Mahdal
ce3b94268c
Update to ffoo 0.4.0
10 лет назад
Alois Mahdal
f3d3f001a1
Fix up help message
10 лет назад
Alois Mahdal
b553865810
Update with new fastfoo
10 лет назад
Alois Mahdal
51855e9f62
Update usage()
10 лет назад
Alois Mahdal
15f5538ed1
Get rid of "ini" notation
10 лет назад
Alois Mahdal
3bb0c94283
Add --version parameter
10 лет назад
Alois Mahdal
c697ebcf29
Update for ffoo-0.0.16
10 лет назад
Alois Mahdal
34b105b0bc
Revamp FFOO_INI_PATH logic
Config files can now be merged from 4 sources: distribution-provided,
(share folder), local (/etc/saturnin), user-specific (~/.saturnin and
~/saturnin/ini.d/*)
10 лет назад
Alois Mahdal
542cab051b
Add more usage triggers
10 лет назад
Alois Mahdal
7a95d78b9e
Mount command list from libexec dir
10 лет назад