sysadmin/scripting utilities, distributed as a single binary
GPL-2.0 License
Bot releases are hidden (Show)
This release updates our dependencies, and adds minor tweaks to a couple of commands:
sysbox make-password
sysbox with-lock
Published by skx over 1 year ago
NOTE: release-0.17.1 is identical to release-0.17.0, the reason for the new tag was to fix the CI-pipeline for generating binaries.
This release updates our dependencies, and improves the peerd
sub-command, as a result of great feature-requests from @terefang:
Published by skx over 1 year ago
This release updates our dependencies, and improves the peerd
sub-command, as a result of great feature-requests from @terefang:
NOTE: This release didn't get binaries built for it, due to a pipeline issue. release-0.17.1 was generated to resolve that.
Published by skx about 2 years ago
Our dependencies were updated to the most recent available versions, but nothing significant was changed.
This release includes the new watch
sub-command, which allows you to run a command continuously, in a somewhat graphical way. This can be useful for awaiting DNS updates, and similar things:
sysbox watch dig -t a example.com
The command will re-run continuously, every five seconds by default, although you can trigger an immediate re-execution by pressing the space-bar. Quit via Ctrl-c
, q
, or escape.
Published by skx over 2 years ago
This release updates our dependencies to their latest versions, and better supports the 1.18+ release of golang:
go-fuzz
tool.version
sub-command shows VCS information now.Two new sub-commands were introduced:
sysbox find ..
find
command.sysbox todo ..
TODO
or FIXME
comments which have associated dates.To see the integrated help run sysbox help todo
, or sysbox help find
.
Published by skx almost 3 years ago
This release removes the install
subcommand, which was causing support questions by email more often than anything else relating to this project.
The new version
subcommand was added, which is helpful for users downloading binaries from our release page.
As is traditional the calc
subcommand received some more updates, and bugfixes.
3--3
is handled as 3 - (-3)
, with a result of 6
.sysbox calc
, now has an command-line history support.Published by skx over 3 years ago
This release adds a new sub-command html2text
, which performs trivial HTML to text conversion for files named on the command-line, or STDIN if no files are specified.
The complete set of changes since the previous release are:
html2text
Published by skx almost 4 years ago
This release adds the new markdown-toc
sub-command, which allows you to easily generate a table of contents from a markdown file. I use a perl-script to do this in many of my existing projects, so this is an easy win.
In addition to the new command there were a couple of minor tweaks:
DEBUG
environmental variable is set to a non-empty value any panic
the code produces will be displayed literally, rather than being hidden and recovered from.
Published by skx about 4 years ago
This release adds a new sub-command validate-xml
, which nicely compliments the existing commands for validating JSON and YAML files.
Although we do not support validation using a DTD, this command is sufficient to detect and report upon tag-mismatches and similar "simple" errors.
Published by skx about 4 years ago
This release fixes a bug in the validate-json
sub-command. When executed with no-arguments, or arguments that specified directories the tool would process files with the wrong name:
*.json
it would process *.yml
& *.yaml
.
Specifying files, rather than directories, would work as expected which is why this was not noticed immediately.
Published by skx about 4 years ago
This release fixes a few minor internal implementation details, improving our code standard and correctness.
In addition to the regular minor tweaks there has been the addition of a new sub-command comments
, which allows you to extract comments from source-code in a flexible fashion. I introduced this in a blog-post recently:
The ssl-expiry
sub-command gained a pair of new flags (-hours
and -days
) to make using it inside shell-scripts less complex, and the calc
sub-command received a few fixes to handle invalid input in a more graceful fashion.
Published by skx over 4 years ago
This release adds a new sub-command expect
, which allows simple command-automation, in a fashion similar to the TCL expect
utility. In short you can launch commands, and send input to them based on matching regular expressions.
See sysbox help expect
for brief examples, and an overview.
Otherwise the only changes in this release are some minor updates to calc
sub-command, to resolve some linter warnings (relating to program complexity). No functional changes.
Published by skx over 4 years ago
This release updates a couple of our built-in sub-commands:
calc
let
token.exec-stdin
splay
splay 123
in addition to splay -maximum 123
since that feels more natural.Published by skx over 4 years ago
The sysbox choose-file
utility is so useful I wanted to make it more general, so there is now a matching sysbox choose-stdin
command. This allows you to navigate/choose lines read from STDIN instead of just files.
The code used to perform template-expansion of commands has now been moved to its own package, with test-cases, cutting down on code duplication.
Published by skx over 4 years ago
This is an incremental release which makes only minor changes to the previous one:
calc
subcommand was rewritten to allow the use of variable-definitions in the REPL environment.
sysbox help calc
for details.choose-file
subcommand, allowing you to use a text-based GUI to select a filename.
Published by skx over 4 years ago
All being well this release will contain binary artifacts for:
Binaries for Windows have been dropped due to a build-issue:
Building for windows [amd64] -> sysbox-windows-amd64.exe
# golang.org/x/crypto/ssh/terminal
/home/skx/go/pkg/mod/golang.org/x/[email protected]/ssh/terminal/util_windows.go:97:61: multiple-value "golang.org/x/sys/windows".GetCurrentProcess() in single-value context
Building for windows [386] -> sysbox-windows-i386.exe
# golang.org/x/crypto/ssh/terminal
/home/skx/go/pkg/mod/golang.org/x/[email protected]/ssh/terminal/util_windows.go:97:61: multiple-value "golang.org/x/sys/windows".GetCurrentProcess() in single-value context
This will need investigation in the future.
Published by skx over 4 years ago
This release was made specifically because we've updated our subcommand-dependency, such that it is possible to retrieve a list of subcommand names.
The repository now includes a simple bash completion script, which allows completing on available subcommands, and their arguments.
Published by skx over 4 years ago
Moved to a new computer, which inspired me to add a bunch of new sub-commands:
cron
tasks.STDIN
input.curl
-lite.Published by skx over 4 years ago
This is the initial release which has been generated for early-feedback. There are a small number of tools present already, each of which is sufficiently complete for my own needs: