Alois Mahdal
b8c2ba4cf6
Use generic name for build target: "build"
Make it easier to share & sync installer code across projects from the
same family.
hace 10 años
Alois Mahdal
b54a44863f
Fix removal of share dir and doc dir
hace 10 años
Alois Mahdal
243556f0be
Make (un)installation ore verbose
While still non-intruding (only one line per one real world action)
(un)instalation could be more talkative.
hace 10 años
Alois Mahdal
11eac9a6c3
Add note about blocking programs and polling freq
hace 10 años
Alois Mahdal
790c68643b
Bump version
hace 10 años
Alois Mahdal
b6598427bb
Apply consistent vertical spacing (inspired by PEP8)
hace 10 años
Alois Mahdal
4b7b32d90a
Add shebang line to aid syntax HL
hace 10 años
Alois Mahdal
2364e90d58
Add types.sh, to work with data types of variables
hace 10 años
Alois Mahdal
9828660603
Add variable documentation
Basically as a skeleton to see if this form could be used widely.
hace 10 años
Alois Mahdal
371ef0ab89
Fix sha1 commit insterion in version meta-data
hace 10 años
Alois Mahdal
ea11feaefc
Update version field asking feature
Now --version-patch does not print metadata, and -proper and -meta have
been added to filter particular part ("proper" semver field w/o
meta-data, or meta-data only).
hace 10 años
Alois Mahdal
4dcd7e80b4
Bump version
hace 10 años
Alois Mahdal
17027be7ce
Use smarter version format
If not in git (e.g. unpacked tarball), trust the tree and just use
VERSION from config.mk.
Otherwise, take newest tag, and if HEAD is tagged, use that tag
(without the initial "v"). If HEAD is newer, form build meta-data
field from shortened commit hash; furthermore if tree is "dirty" (i.e.
has some files modified, add ".dirty" to the version number.
For example, you just tagged the HEAD with v1.0.1, the version
number is therefore
1.0.1
Now you edit a file. At this moment if you build the project, the
version will be
1.0.1+dirty
If you add + commit that change, the "dirty" has name now:
1.0.1+ga34f8c
but now if you edit a file and re-build, you get "dirty" again:
1.0.1+ga34f8c.dirty
In other words, anytime you see "dirty" in the version info, you know
that the tree was manually modified (which could mean anything from
fixing a typo to completely changing the code).
If there's only g??????, then the code has been modified as well, but at
least you may have reference to the actual tree.
At any rate, any version with any meta-data is purely internal and
should never be used for comparison (your tests should not rely on
version string comparison).
hace 10 años
Alois Mahdal
bba8f0a8b8
Describe variables upfront
hace 10 años
Alois Mahdal
8ec1d50a93
Use clearer variable names
hace 10 años
Alois Mahdal
71bb742278
Remove bogus (dead, forgotten) code
hace 10 años
Alois Mahdal
1288953bb3
Allow FFOO_PATH to break to a list of paths
hace 10 años
Alois Mahdal
1679aabbc9
Update project docs (TODO / guidelines)
hace 10 años
Alois Mahdal
bd4ab8ed17
Change default exit status of usage_is to 2
Similar to grep or test, 1 is reserved for "no", 2 is used for
"incorrect use/syntax"
hace 10 años
Alois Mahdal
2bd7a9a3ac
Relax usage_is exitting behavior
Allow usage_is caller specify exit status or suppress exit completely
hace 10 años
Alois Mahdal
eddf18d6b4
Check syntax before really sourcing the file
hace 10 años
Alois Mahdal
75893ddee7
Make it clear what is module name
hace 10 años
Alois Mahdal
c766be2f67
Compact argument routing
hace 10 años
Alois Mahdal
429722b039
Remove '--' argument
Since functions cannot start with '-' (and funky names are discouraged
anyway), it only adds more complexity to the arg router.
hace 10 años
Alois Mahdal
871dfdf23f
Fork _list_functions_in for narrow listing
hace 10 años
Alois Mahdal
2fe76116ce
Add notation to _parse
hace 10 años
Alois Mahdal
aff7262b7f
Fix parsing of module from function spec
hace 10 años
Alois Mahdal
34ce9b1266
Fix docstring typo
hace 10 años
Alois Mahdal
e9ff33d2ad
Update and polish manpage
hace 10 años
Alois Mahdal
61873eb636
Name test properly
hace 10 años
Alois Mahdal
24d7aae078
Employ more useful (and sane) test contents
hace 10 años
Alois Mahdal
389cb94782
Fix regression in path parsing (from ac1c4f1)
hace 10 años
Alois Mahdal
86c2613a95
Add docstring for ini.inireader
hace 10 años
Alois Mahdal
42273d60a6
Fix behavior regarding empty lines
grep at the end of main pipe ensures not only correct exit status
but also throws away empty lines--but should not do it in strict
mode.
hace 10 años
Alois Mahdal
05690649e4
Compact & simplify recon.filter_hosts
hace 10 años
Alois Mahdal
ac1c4f186c
Refactor ini.iniread to a more condensed & readable form
hace 10 años
Alois Mahdal
e2462da481
Rename iniread tests to sane names (not testN)
hace 10 años
Alois Mahdal
77a7e9a816
Add auto-symlink feature
hace 10 años
Alois Mahdal
7212963d46
Markdownize docstring a little bit
hace 10 años
Alois Mahdal
242a3dd421
Update __echo docstring
hace 10 años
Alois Mahdal
6bf7cf8530
Bump version
hace 10 años
Alois Mahdal
a5edb0e6c7
Implement docstring view
I.e. ffdoc works now.
hace 10 años
Alois Mahdal
438005331f
Add possibility to print source code of a function
hace 10 años
Alois Mahdal
407807c5a3
Revamp function and module listing code
Major rewrite of listing code. New version is more readable, more
usable (no need for lsfun() in ffoom now) and suports wildcards.
hace 10 años
Alois Mahdal
a5e8db7273
Do not exit if we are in interactive session
Fastfoo libraries are not intended for interactive sessions (use *fff*),
we are only enabling this to aid development and testing process.
hace 10 años
Alois Mahdal
dced9d0302
Bump version
hace 10 años
Alois Mahdal
0216399fc1
Follow Bash vocabulary, i.e. "exit status"
hace 10 años
Alois Mahdal
136ee4e2d7
Move proj_ol to rhcc
hace 10 años
Alois Mahdal
7ec2d80300
Add charmenu module
Contains charmenu, a utility function to help define and utilize
interactive "character menu" as we know it from yum, apt, git and
many, many other CLI tools.
hace 10 años
Alois Mahdal
ed0d23e896
Rename unnecessary *.in files to their target name
Since these files do not contain build-time anymore, they don't need to be processed by mk.sh as such, hence can have their final form
hace 10 años