Alois Mahdal
f4f5bb0692
Add some debugging to wait_until
11 years ago
Alois Mahdal
1e9d59841e
Emphasize that src does get set in this call
Make it clear that the assignment must happen, otherwise we might easily
end up wit empty src or mixup between local and caller's local.
11 years ago
Alois Mahdal
ee1a0b1e13
Support dot notation n fff
11 years ago
Alois Mahdal
7373a65565
Bring back cat to the pipe
For some strange reason, the tee pipe did not work unless stuffed by cat
(all the output pipes remained empty)
11 years ago
Alois Mahdal
7d25bec5ec
Add docstrings for yummy
11 years ago
Alois Mahdal
d1d3853bf1
Fixprove usage printing from nvc_parse
11 years ago
Alois Mahdal
b0642414df
Fix regression in save_repo_for
11 years ago
Alois Mahdal
add7afbf9b
Explain purpose of greps
11 years ago
Alois Mahdal
684c1d8a87
Simplify pipe filling
(et voila,) tee supports more than one target
11 years ago
Alois Mahdal
9b16b0b6ec
Fix template mode
11 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.
11 years ago
Alois Mahdal
99148bb87c
Return error status if we did not find anything
11 years ago
Alois Mahdal
2a0cca79a3
Update template according to older change
11 years ago
Alois Mahdal
12aeec90b5
Fix modules' modes
11 years ago
Alois Mahdal
288a00c494
Don't be afraid to say something
11 years ago
Alois Mahdal
8e571ce262
Restructure library layout
Things have grown and some parts of layout now make more sense being in different module
11 years ago
Alois Mahdal
b3b386bd03
usagef is dead, use usage_is
11 years ago
Alois Mahdal
1e20d6ddf8
Drop d; this is not a daemon
11 years ago
Alois Mahdal
2f410dff68
Move filter() to core and simplify
11 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)
11 years ago
Alois Mahdal
96810886a1
Fix caller setting again
11 years ago
Alois Mahdal
94aa34bde9
Add TODO
Now it's getting serious ;)
11 years ago
Alois Mahdal
64ae9aac9a
Add basic mkpretty* printers
11 years ago
Alois Mahdal
c55729f10d
Add termcolors.sh
11 years ago
Alois Mahdal
bcab87e6ba
Use more appropriate prefix for pipe (namely, a pipe)
11 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.
11 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.
11 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.)
11 years ago
Alois Mahdal
9551f81efb
Update rest of library to work with new debug -v
11 years ago
Alois Mahdal
4adfc9484f
Completely revamp printing mechanism
Use common backend, add -f and -c, add arbitrary pretty printers support
11 years ago
Alois Mahdal
7ea1bfaf9f
Add -v option to fff
11 years ago
Alois Mahdal
427b7f73a7
Drop empty lines from output
11 years ago
Alois Mahdal
bfdcaa3456
Update proj_ol with changed key naming
11 years ago
Alois Mahdal
fe3d16d1cd
Fix expr to kw conversion
11 years ago
Alois Mahdal
7a7d39bbca
Fix path traversal
Do not rely on IFS; it does not work with quotes, i.e. spaces in paths.
11 years ago
Alois Mahdal
2383836da4
Fix debug frenzy
11 years ago
Alois Mahdal
0fbcec8499
Fix piping
11 years ago
Alois Mahdal
d9aa0a4584
Add new filter
11 years ago
Alois Mahdal
7b6d994961
Orthogonize pipes to emphasize flow
11 years ago
Alois Mahdal
301852e613
Add a debug frenzy at the end
11 years ago
Alois Mahdal
0fecbd8541
Move info functions to ffmanage
11 years ago
Alois Mahdal
5eaf341596
Add ffood wrappers ffdoc and ffmanage
11 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.
11 years ago
Alois Mahdal
04709a486b
Do not override debug status
11 years ago
Alois Mahdal
b18c46dd88
Remove unnecessary import
11 years ago
Alois Mahdal
d0d46aaa84
Rename fffun to fff
11 years ago
Alois Mahdal
a676a03dfe
Have testing.sh create FFOOD_TMP
11 years ago
Alois Mahdal
6828e875f8
Think, don't talk
11 years ago
Alois Mahdal
4ddf669d37
Require specifying target for artifact collection
I.e. do not use global variable
11 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
11 years ago