Alois Mahdal
f62beee810
Update to new tfkit (g122272a)
9 лет назад
Alois Mahdal
b70544ba19
Update tfkit from Fastfoo 0.7.0+master.g8c72a9c
9 лет назад
Alois Mahdal
1676434acb
Update mkit from Fastfoo 0.7.0+master.g8c72a9c
9 лет назад
Alois Mahdal
78d51c25a3
Simplify command validation and help
9 лет назад
Alois Mahdal
a6d548ce10
Remove unused internal hooking code
9 лет назад
Alois Mahdal
0820809492
Use common hook mechanism for logging and status change announcing
9 лет назад
Alois Mahdal
d4b9abeaaf
Add new 'menu' sub-command
New command allows to define flexible menus in INI files.
Single INI root now contains all menu definitons. Each menu consists of
item generator, selector and consumer, which are checked and chained
together.
Alternatively to specifying a generator, items can be listed right in
the INI section.
9 лет назад
Alois Mahdal
a13a0c9ee1
Do not wrap every subcommand
Sub-commands in libexec must use saturnin_wraphook if they want pre/post
hook, or may use saturnin_runhook to run their own hooks as they wish.
9 лет назад
Alois Mahdal
cf82cfa5f1
Move pre-post-hook wrapping code to a routine
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
89b98a72f9
Update forgotten layout setting command
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
10281e34c2
Fix argument debug
9 лет назад
Alois Mahdal
e138ad678b
Add query subcommand (only is_muted supported so far)
9 лет назад
Alois Mahdal
a1d856c956
Avoid using multi-line values for style items
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
b2eb405f21
Fix confusing docstring
9 лет назад
Alois Mahdal
4494cc4dad
Move clip selection to separate function
9 лет назад
Alois Mahdal
78d5768ed8
Merge mkusage calls
mkusage exits by default so it's intended to exist as one call per
process only.
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
98da2f27f8
Fall back to default mode if not specified in INI
If for certaiun group a mode is not specified, fall back to
a value inhertited from environment, or eventually to 644.
9 лет назад
Alois Mahdal
8aa0b33a9e
Add bash completion module
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
0ec0029109
Update mkit
9 лет назад
Alois Mahdal
77dd7abee3
Rename variable to reflect the path is being provided by saturnin
9 лет назад
Alois Mahdal
e4cc2d414f
Use consistent format in config.mk
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
6279892bdf
Use custom name for tempdir
9 лет назад
Alois Mahdal
450c42636d
Remove debug pipes for production
9 лет назад
Alois Mahdal
6f16e8862b
Bump version
9 лет назад
Alois Mahdal
eaf094fe08
Remove irrelevant sub-command `ip`
Conventional ip wrapper -- not desktop-related.
9 лет назад
Alois Mahdal
5f91e14199
Remove irrelevant sub-command `watch`
A debugging utility -- not desktop-related.
9 лет назад
Alois Mahdal
ccdec63cb0
Remove irrelevant sub-command `czrates`
Conventional curl wrapper -- not desktop-related.
9 лет назад
Alois Mahdal
477667748b
Remove irrelevant sub-command `push`
Conventional rsync wrapper -- not desktop-related.
9 лет назад
Alois Mahdal
0e5cacf22a
Remove irrelevant sub-command `revert`
Conventional virsh wrapper -- not desktop-related.
9 лет назад
Alois Mahdal
d2eef199be
Bump version
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 лет назад