Alois Mahdal
7d25bec5ec
Add docstrings for yummy
10 years ago
Alois Mahdal
d1d3853bf1
Fixprove usage printing from nvc_parse
10 years ago
Alois Mahdal
b0642414df
Fix regression in save_repo_for
10 years ago
Alois Mahdal
add7afbf9b
Explain purpose of greps
10 years ago
Alois Mahdal
684c1d8a87
Simplify pipe filling
(et voila,) tee supports more than one target
10 years ago
Alois Mahdal
9b16b0b6ec
Fix template mode
10 years ago
Alois Mahdal
9653900239
Split yummy.guess_rtagn to guess_rtag_word and guess_rtag_num
For example, in 'fc20', these will match 'fc' and '20', respectively.
10 years ago
Alois Mahdal
99148bb87c
Return error status if we did not find anything
10 years ago
Alois Mahdal
2a0cca79a3
Update template according to older change
10 years ago
Alois Mahdal
12aeec90b5
Fix modules' modes
10 years ago
Alois Mahdal
288a00c494
Don't be afraid to say something
10 years ago
Alois Mahdal
8e571ce262
Restructure library layout
Things have grown and some parts of layout now make more sense being in different module
10 years ago
Alois Mahdal
b3b386bd03
usagef is dead, use usage_is
10 years ago
Alois Mahdal
1e20d6ddf8
Drop d; this is not a daemon
10 years ago
Alois Mahdal
2f410dff68
Move filter() to core and simplify
10 years ago
Alois Mahdal
43f6f035cd
Add prefix also to colored output
Colorized output should bear roughly the same info as plain text even
after stripping color chars (e.g. by c/p)
10 years ago
Alois Mahdal
96810886a1
Fix caller setting again
10 years ago
Alois Mahdal
94aa34bde9
Add TODO
Now it's getting serious ;)
10 years ago
Alois Mahdal
64ae9aac9a
Add basic mkpretty* printers
10 years ago
Alois Mahdal
c55729f10d
Add termcolors.sh
10 years ago
Alois Mahdal
bcab87e6ba
Use more appropriate prefix for pipe (namely, a pipe)
10 years ago
Alois Mahdal
1d96b4be8b
Use separate switch to enable debug in ffood init
Due to immature way how mkpretty loads pretifier, `ffood import` is
called with every output, which makes any other debugging output
useless.
Hot fix is to use different switch. Should the mkpretty mechanism be
improved, we can merge the switches back.
10 years ago
Alois Mahdal
3be73bc165
Fix and simplify mechanism to enable mkpretty.
Mkpretty is now always on and defined globally as name of the pretifier,
which is "plain" by default.
"plain" prettifier only adds "debug" and caller name prefix to the debug
output.
10 years ago
Alois Mahdal
721bf63e3d
Fix usage case
usage is supposed to be implemented in user script by call to usage_is
(so that the actual patterns can be defined only once and on the lowest
indent level).
So actually when we see usage_is, we want to skip one FUNCNAME in stack.
(This will not work properly if the suggested usage is not adhered to.)
10 years ago
Alois Mahdal
9551f81efb
Update rest of library to work with new debug -v
10 years ago
Alois Mahdal
4adfc9484f
Completely revamp printing mechanism
Use common backend, add -f and -c, add arbitrary pretty printers support
10 years ago
Alois Mahdal
7ea1bfaf9f
Add -v option to fff
10 years ago
Alois Mahdal
427b7f73a7
Drop empty lines from output
10 years ago
Alois Mahdal
bfdcaa3456
Update proj_ol with changed key naming
10 years ago
Alois Mahdal
fe3d16d1cd
Fix expr to kw conversion
10 years ago
Alois Mahdal
7a7d39bbca
Fix path traversal
Do not rely on IFS; it does not work with quotes, i.e. spaces in paths.
10 years ago
Alois Mahdal
2383836da4
Fix debug frenzy
10 years ago
Alois Mahdal
0fbcec8499
Fix piping
10 years ago
Alois Mahdal
d9aa0a4584
Add new filter
10 years ago
Alois Mahdal
7b6d994961
Orthogonize pipes to emphasize flow
10 years ago
Alois Mahdal
301852e613
Add a debug frenzy at the end
10 years ago
Alois Mahdal
0fecbd8541
Move info functions to ffmanage
10 years ago
Alois Mahdal
5eaf341596
Add ffood wrappers ffdoc and ffmanage
10 years ago
Alois Mahdal
0fdb17dd27
Revamp ffood() and add listing features
ffood now employs simpler algorithm to choose file to import and also
is able to list module contents.
10 years ago
Alois Mahdal
04709a486b
Do not override debug status
10 years ago
Alois Mahdal
b18c46dd88
Remove unnecessary import
10 years ago
Alois Mahdal
d0d46aaa84
Rename fffun to fff
10 years ago
Alois Mahdal
a676a03dfe
Have testing.sh create FFOOD_TMP
10 years ago
Alois Mahdal
6828e875f8
Think, don't talk
10 years ago
Alois Mahdal
4ddf669d37
Require specifying target for artifact collection
I.e. do not use global variable
10 years ago
Alois Mahdal
6672b1eea7
Revamp iniread not to rely on hardcoded paths
iniread will now read either specified files or try to find them in
FFOOD_INIPATH, which is empty by default
10 years ago
Alois Mahdal
c81b21781c
Add -l option to warn() and think()
10 years ago
Alois Mahdal
8b5c63aa01
Merge bug notes into README
10 years ago
Alois Mahdal
00fbadba7d
Split long comments
10 years ago
Alois Mahdal
d122519882
Add ability to print path to library init file
10 years ago