Alois Mahdal
dcdcd52728
Use leagacy mode for shellfu-sh-coerce also for RHEL-7
Turns out perl-Term-ANSIColor is only available since RHEL-8.
vor 4 Jahren
Alois Mahdal
d80a3cdc58
Add arr.sh, couple of utilities for array manipulation
vor 5 Jahren
Alois Mahdal
db7e27520b
Add 'forcecolor' module
Same as 'color' but does not turn off the colors on non-terminal tty.
vor 5 Jahren
Alois Mahdal
7eee5bb2fc
Update MKit to v0.0.37
vor 5 Jahren
Alois Mahdal
4112218fac
Add legacy mode to avoid Term::ANSIColor dependency on RHEL-6
vor 5 Jahren
Alois Mahdal
76ccd1c093
Add missing file listings
vor 5 Jahren
Alois Mahdal
7b7cc4b4a9
Add missing Perl dependencies
vor 5 Jahren
Alois Mahdal
4e2cc49d13
Fix typo in .spec file
vor 5 Jahren
Alois Mahdal
e2214d4c0f
Add coerce.sh for character set coercion
For situations when there are constraints on what characters are
allowed, this module provides several non-reversible conversion
functions.
vor 5 Jahren
Alois Mahdal
2e90a8d2e8
Clean up specfile header
Prefer `%global` over `%define` and do it earlier.
vor 6 Jahren
Alois Mahdal
0a3447bf80
Add VCS Browser URL to specfile
vor 6 Jahren
Alois Mahdal
d5a36bbe12
Add sfpi.sh, Shellfu's favorite plugin interface
vor 6 Jahren
Alois Mahdal
9444d88b80
Add isa.sh, a Shellfu/sh containing few simple validation helpers
vor 6 Jahren
Alois Mahdal
ddb4a13b6a
Fix shellfu-bash-exit %description
vor 6 Jahren
Alois Mahdal
ea326d848b
Fix dependencies to make sfdoc work
Turns out moving sfdoc code to dedicated module *and* having the binary
in main package created cyclic dependecy. However, there's easy way out;
let's just run with it as long as it works on most distros.
vor 6 Jahren
Alois Mahdal
a004546b1b
Do not require source-highlight
source-highlight is not necessary (-s|--src will fall back to plain text
if it's missing) and requiring it strictly breaks RHEL6 build.
deb users can follow Suggests field; rpm users will have to find out about
it and install it separately. (Optional requires do exist in newer RPM,
but it's not worth the effort/ifdef bloat.)
vor 6 Jahren
Alois Mahdal
5ae76898dc
Add -s|--src for easy viewing of module source
vor 6 Jahren
Alois Mahdal
64b4320ba3
Move most sfdoc code to separate module
Allow for re-use and more independent testing.
vor 6 Jahren
Alois Mahdal
2fe5ce3b99
Place perl dependency correctly with inigrep
vor 6 Jahren
Alois Mahdal
15747f7ee6
Clean up .spec file (whitespace only)
vor 6 Jahren
Alois Mahdal
6ac783e3d8
Properly obsolete old multi-module packages
Tested on Fedora, praying for it to work on Debian.
vor 6 Jahren
Alois Mahdal
289d1ffa57
Add missing dependency
vor 6 Jahren
Alois Mahdal
f6d0320e41
Override SHELLFU_INCLUDE in test runs
Otherwise we're not really testing "this" shellfu but the installed one.
vor 6 Jahren
Alois Mahdal
6da187e3e8
Fix dependencies
Add missing perl and ps dependencies and remove bash (because Essential
packages are not supposed to be there).
vor 6 Jahren
Alois Mahdal
d3bdd92073
Re-package with better granularity
Switch to packaging model where each module goes into separate package.
Such model makes much more sense (after all it's also how big platforms
such as python do it). It allows better control over dependencies and
allows re-locating modules properly according to compatibility level
(i.e. now exit.sh can go to 'sh' despite the fact that in 'core' it had
to be with other Bash-compatible modules).
vor 6 Jahren
Alois Mahdal
e9c0ac8639
Remove the old 'sync' module
Not used anywhere these days
vor 6 Jahren
Alois Mahdal
131512167b
Move sfdoc to main package
vor 6 Jahren
Alois Mahdal
ef9b9333a3
Rename binary: shellfu-embed to sfembed
Mostly for consistency with the other two binaries.
vor 6 Jahren
Alois Mahdal
50a485467b
Rename binary: shellfu-doc to sfdoc
'sfdoc' is easier to type and resembles 'pydoc' and 'perldoc' so it's
even easier to remember.
vor 6 Jahren
Alois Mahdal
32ce9930e8
Rename binary: shellfu-get to sfpath
The only purpose of the binary is to show local Shellfu path and it's
in every single Shellfu script. Let's save people some typing.
vor 6 Jahren
Alois Mahdal
dd0a5519a3
Remove useless lines
vor 6 Jahren
Alois Mahdal
1cc5664a37
Change license to LGPLv2
vor 6 Jahren
Alois Mahdal
4a71f64d5b
Add %check section
vor 6 Jahren
Alois Mahdal
5279579770
Move to /usr and make use of RPM macros
vor 6 Jahren
Alois Mahdal
0963d94414
Add mdfmt, a Markdown formatting helper
Also a first POSIX-oriented library!
vor 7 Jahren
Alois Mahdal
0c53c2d625
Add journald logging module for pretty.sh
vor 7 Jahren
Alois Mahdal
d86b9abd52
Add shellfu-sh pseudo-package
Used to declare POSIX orientation (in terms od Shellfu), plus to hold
'include-sh' directory on RPM-based distributions.
vor 7 Jahren
Alois Mahdal
968b080af0
Make better use of meta-data from mkit.ini
vor 6 Jahren
Alois Mahdal
fe74dc0962
Use more maintainable SPEC file name
vor 6 Jahren
Alois Mahdal
d4bb28b10b
Fix typo in SPEC file
vor 6 Jahren
Alois Mahdal
8322a344cf
Use Markdown version of LICENSE file
vor 6 Jahren
Alois Mahdal
494fb59c77
Get rid of cyclic dependency
Turns out that since shellfu-doc uses pretty.sh (and makes good use of
it), what we had was broken cyclic dependency.
shellfu-doc and shellfu-embed are useful mostly for developers, though,
so it's no shame to split them.
vor 8 Jahren
Alois Mahdal
eabb608a59
Remove obsolete examples
vor 8 Jahren
Alois Mahdal
918ce18f7c
Add notify mode for pretty.sh
vor 8 Jahren
Alois Mahdal
3ceb2cd45a
shellsplit: Update RPM packaging
vor 8 Jahren
Alois Mahdal
1520a14172
Add MKit version to distro templates
vor 8 Jahren
Alois Mahdal
003a57106f
Update MKit meta-data after upgrade
vor 8 Jahren
Alois Mahdal
a39b87abc7
Rename shellfudoc for consistency
vor 8 Jahren
Alois Mahdal
c8444db456
Add missing Requires
vor 8 Jahren
Alois Mahdal
f44ec71828
Add specfile template
vor 8 Jahren