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.
4 年之前
Alois Mahdal
d80a3cdc58
Add arr.sh, couple of utilities for array manipulation
4 年之前
Alois Mahdal
db7e27520b
Add 'forcecolor' module
Same as 'color' but does not turn off the colors on non-terminal tty.
5 年之前
Alois Mahdal
7eee5bb2fc
Update MKit to v0.0.37
5 年之前
Alois Mahdal
4112218fac
Add legacy mode to avoid Term::ANSIColor dependency on RHEL-6
5 年之前
Alois Mahdal
76ccd1c093
Add missing file listings
5 年之前
Alois Mahdal
7b7cc4b4a9
Add missing Perl dependencies
5 年之前
Alois Mahdal
4e2cc49d13
Fix typo in .spec file
5 年之前
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.
5 年之前
Alois Mahdal
2e90a8d2e8
Clean up specfile header
Prefer `%global` over `%define` and do it earlier.
6 年之前
Alois Mahdal
0a3447bf80
Add VCS Browser URL to specfile
6 年之前
Alois Mahdal
d5a36bbe12
Add sfpi.sh, Shellfu's favorite plugin interface
6 年之前
Alois Mahdal
9444d88b80
Add isa.sh, a Shellfu/sh containing few simple validation helpers
6 年之前
Alois Mahdal
ddb4a13b6a
Fix shellfu-bash-exit %description
6 年之前
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.
6 年之前
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.)
6 年之前
Alois Mahdal
5ae76898dc
Add -s|--src for easy viewing of module source
6 年之前
Alois Mahdal
64b4320ba3
Move most sfdoc code to separate module
Allow for re-use and more independent testing.
6 年之前
Alois Mahdal
2fe5ce3b99
Place perl dependency correctly with inigrep
6 年之前
Alois Mahdal
15747f7ee6
Clean up .spec file (whitespace only)
6 年之前
Alois Mahdal
6ac783e3d8
Properly obsolete old multi-module packages
Tested on Fedora, praying for it to work on Debian.
6 年之前
Alois Mahdal
289d1ffa57
Add missing dependency
6 年之前
Alois Mahdal
f6d0320e41
Override SHELLFU_INCLUDE in test runs
Otherwise we're not really testing "this" shellfu but the installed one.
6 年之前
Alois Mahdal
6da187e3e8
Fix dependencies
Add missing perl and ps dependencies and remove bash (because Essential
packages are not supposed to be there).
6 年之前
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).
6 年之前
Alois Mahdal
e9c0ac8639
Remove the old 'sync' module
Not used anywhere these days
6 年之前
Alois Mahdal
131512167b
Move sfdoc to main package
6 年之前
Alois Mahdal
ef9b9333a3
Rename binary: shellfu-embed to sfembed
Mostly for consistency with the other two binaries.
6 年之前
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.
6 年之前
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.
6 年之前
Alois Mahdal
dd0a5519a3
Remove useless lines
6 年之前
Alois Mahdal
1cc5664a37
Change license to LGPLv2
6 年之前
Alois Mahdal
4a71f64d5b
Add %check section
6 年之前
Alois Mahdal
5279579770
Move to /usr and make use of RPM macros
6 年之前
Alois Mahdal
0963d94414
Add mdfmt, a Markdown formatting helper
Also a first POSIX-oriented library!
7 年之前
Alois Mahdal
0c53c2d625
Add journald logging module for pretty.sh
7 年之前
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.
7 年之前
Alois Mahdal
968b080af0
Make better use of meta-data from mkit.ini
6 年之前
Alois Mahdal
fe74dc0962
Use more maintainable SPEC file name
6 年之前
Alois Mahdal
d4bb28b10b
Fix typo in SPEC file
6 年之前
Alois Mahdal
8322a344cf
Use Markdown version of LICENSE file
6 年之前
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.
7 年之前
Alois Mahdal
eabb608a59
Remove obsolete examples
7 年之前
Alois Mahdal
918ce18f7c
Add notify mode for pretty.sh
8 年之前
Alois Mahdal
3ceb2cd45a
shellsplit: Update RPM packaging
8 年之前
Alois Mahdal
1520a14172
Add MKit version to distro templates
8 年之前
Alois Mahdal
003a57106f
Update MKit meta-data after upgrade
8 年之前
Alois Mahdal
a39b87abc7
Rename shellfudoc for consistency
8 年之前
Alois Mahdal
c8444db456
Add missing Requires
8 年之前
Alois Mahdal
f44ec71828
Add specfile template
8 年之前