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 година
Alois Mahdal
8470af0975
Improve subcommand listing for help string
пре 9 година
Alois Mahdal
a3216edab4
Quote subcommand on input
пре 9 година