1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 14:05:41 -07:00
Commit Graph

12 Commits

Author SHA1 Message Date
aabacchus
a973491b0e kiss-size: fix for packages containing files with quotes in filenames
if a package contains a file with a quote in it's name, xargs complains
about an unmatched quote and fails, and the pipeline is aborted.
this patch escapes all non-alphanumeric characters so that xargs can
handle such filenames.
2022-08-05 21:24:42 +05:30
Ethan
b11cd58936 kiss-size: fix bug when kiss-size runs on big packages
Previously, if kiss-size was ran on a package that owns a lot of
files, kiss-size would error out. This is because du wasn't
able to handle the number of files provided to it.

This patch solves this issue, by avoiding the generation of the 'files'
variable, and instead piping directly into xargs which then feeds the
files to du.

For an example package that breaks with the previous implementation,
see https://github.com/ehawkvu/kiss-tex/tree/master/texlive/texlive-fontsextra
which installs around 94,000 files.
2021-08-04 00:25:06 -05:00
Dylan Araps
8a00327cb6
kiss-size: prepend KISS_ROOT 2021-07-04 13:52:35 +03:00
Dylan Araps
67ccf37ac6
kiss-size: clean up 2020-09-09 14:21:44 +03:00
Jonathan Dahan
d94c811e7f Use full kiss subcommands for readability and safety 2020-09-04 13:32:19 -04:00
Jonathan Dahan
fb3ac1f7e9 Remove reference to crux in comments for those unfamiliar with it. 2020-09-04 13:31:30 -04:00
Camille Scholtz
d44c509b37 Add CRUX style usage using the current directory as the name of the package to be operated on 2020-08-30 22:28:01 +02:00
Dylan Araps
f1347c4161
kiss-size: POSIX du usage 2020-05-14 16:31:24 +03:00
Dylan Araps
ad280931e5
contrib: Make doc strings match KISS' 2020-05-01 09:07:20 +03:00
Dylan Araps
6786d2ca0a
kiss: Unify usage outputs for all contrib scripts.
Seeing as how these utilities are now better integrated,
more effort should go into the overall interface between
what should be the "benchmark" or example kiss scripts.
2020-04-18 12:11:56 +03:00
Dylan Araps
fdf2775640
kiss: Integrate with user scripts.
kiss' help output will now include all executables found in $PATH
which begin with kiss-*. A comment string is optionally usable via
setting the second line of the script to a string.

Example:

...

This also means that 'kiss <script name>' is also possible now.
If I have a script in my $PATH called kiss-depends, I can now use
it via kiss with 'kiss depends'.
2020-04-18 11:39:37 +03:00
Dylan Araps
49cfb7cac2
kiss: Merge kiss-utils and kiss 2019-10-30 10:51:48 +00:00